diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index e4ccd0d23b7cbd4..ef2712ffd817103 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -78,6 +78,8 @@ jobs: ./packages/next/native/next-swc.linux-x64-gnu.node if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: ./scripts/check-pre-compiled.sh + env: + NODE_OPTIONS: '--max_old_space_size=4096' if: ${{needs.build.outputs.docsChange != 'docs only change'}} testUnit: diff --git a/examples/blog/pages/posts/markdown.md b/examples/blog/pages/posts/markdown.md index 397e49809d89fd2..8ca2dc31b8e1d11 100644 --- a/examples/blog/pages/posts/markdown.md +++ b/examples/blog/pages/posts/markdown.md @@ -94,6 +94,6 @@ export default function Nextra({ Component, pageProps }) { [^1]: Footnote **can have markup** - and multiple paragraphs. +and multiple paragraphs. [^2]: Footnote text. diff --git a/examples/cms-sanity/lib/sanity.js b/examples/cms-sanity/lib/sanity.js index e9f587618f7ab2e..76cedf4cb57dcae 100644 --- a/examples/cms-sanity/lib/sanity.js +++ b/examples/cms-sanity/lib/sanity.js @@ -9,6 +9,5 @@ export const imageBuilder = createImageUrlBuilder(sanityConfig) export const urlForImage = (source) => imageBuilder.image(source).auto('format').fit('max') -export const usePreviewSubscription = createPreviewSubscriptionHook( - sanityConfig -) +export const usePreviewSubscription = + createPreviewSubscriptionHook(sanityConfig) diff --git a/examples/custom-server-hapi/next-wrapper.js b/examples/custom-server-hapi/next-wrapper.js index 76cd6b66adbf9b2..431191084fa840f 100644 --- a/examples/custom-server-hapi/next-wrapper.js +++ b/examples/custom-server-hapi/next-wrapper.js @@ -7,19 +7,18 @@ const nextHandlerWrapper = (app) => { } } -const pathWrapper = (app, pathName, opts) => async ( - { raw, query, params }, - h -) => { - const html = await app.render( - raw.req, - raw.res, - pathName, - { ...query, ...params }, - opts - ) - return h.response(html).code(raw.res.statusCode) -} +const pathWrapper = + (app, pathName, opts) => + async ({ raw, query, params }, h) => { + const html = await app.render( + raw.req, + raw.res, + pathName, + { ...query, ...params }, + opts + ) + return h.response(html).code(raw.res.statusCode) + } module.exports = { pathWrapper, diff --git a/examples/with-draft-js/pages/index.js b/examples/with-draft-js/pages/index.js index 8beb45f29369955..950f5b4aceaa731 100644 --- a/examples/with-draft-js/pages/index.js +++ b/examples/with-draft-js/pages/index.js @@ -308,8 +308,7 @@ const initialData = { }, { key: 'ecmnc', - text: - 'Luke Skywalker has vanished. In his absence, the sinister FIRST ORDER has risen from the ashes of the Empire and will not rest until Skywalker, the last Jedi, has been destroyed.', + text: 'Luke Skywalker has vanished. In his absence, the sinister FIRST ORDER has risen from the ashes of the Empire and will not rest until Skywalker, the last Jedi, has been destroyed.', type: 'unstyled', depth: 0, inlineStyleRanges: [ @@ -330,8 +329,7 @@ const initialData = { }, { key: '4481k', - text: - 'With the support of the REPUBLIC, General Leia Organa leads a brave RESISTANCE. She is desperate to find her brother Luke and gain his help in restoring peace and justice to the galaxy.', + text: 'With the support of the REPUBLIC, General Leia Organa leads a brave RESISTANCE. She is desperate to find her brother Luke and gain his help in restoring peace and justice to the galaxy.', type: 'unstyled', depth: 0, inlineStyleRanges: [ diff --git a/examples/with-fauna/pages/index.js b/examples/with-fauna/pages/index.js index a10180b49fa6317..702a50189671830 100644 --- a/examples/with-fauna/pages/index.js +++ b/examples/with-fauna/pages/index.js @@ -80,11 +80,13 @@ const EntryForm = ({ onSubmit: onSubmitProp }) => { }) } - const makeOnChange = (fieldName) => ({ target: { value } }) => - setValues({ - ...values, - [fieldName]: value, - }) + const makeOnChange = + (fieldName) => + ({ target: { value } }) => + setValues({ + ...values, + [fieldName]: value, + }) const inputClasses = cn( 'block py-2 bg-white dark:bg-gray-800', diff --git a/examples/with-msw/mocks/handlers.js b/examples/with-msw/mocks/handlers.js index 45db9ab201b8401..1bb0ea38da18cb8 100644 --- a/examples/with-msw/mocks/handlers.js +++ b/examples/with-msw/mocks/handlers.js @@ -17,8 +17,7 @@ export const handlers = [ { id: '60333292-7ca1-4361-bf38-b6b43b90cb16', author: 'John Maverick', - text: - 'Lord of The Rings, is with no absolute hesitation, my most favored and adored book by‑far. The triology is wonderful‑ and I really consider this a legendary fantasy series. It will always keep you at the edge of your seat‑ and the characters you will grow and fall in love with!', + text: 'Lord of The Rings, is with no absolute hesitation, my most favored and adored book by‑far. The triology is wonderful‑ and I really consider this a legendary fantasy series. It will always keep you at the edge of your seat‑ and the characters you will grow and fall in love with!', }, ]) ) diff --git a/examples/with-react-jss/pages/_document.js b/examples/with-react-jss/pages/_document.js index aae1f879e0d0a16..53ad6b117efe498 100644 --- a/examples/with-react-jss/pages/_document.js +++ b/examples/with-react-jss/pages/_document.js @@ -8,11 +8,12 @@ export default class JssDocument extends Document { const originalRenderPage = ctx.renderPage ctx.renderPage = () => originalRenderPage({ - enhanceApp: (App) => (props) => ( - - - - ), + enhanceApp: (App) => (props) => + ( + + + + ), }) const initialProps = await Document.getInitialProps(ctx) diff --git a/examples/with-redis/pages/api/subscribe.js b/examples/with-redis/pages/api/subscribe.js index 6e22f713276f3f2..4b1895b0b6ba0f5 100644 --- a/examples/with-redis/pages/api/subscribe.js +++ b/examples/with-redis/pages/api/subscribe.js @@ -16,6 +16,7 @@ export default async function upvote(req, res) { } function validateEmail(email) { - const re = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ + const re = + /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ return re.test(String(email).toLowerCase()) } diff --git a/examples/with-redux-toolkit-typescript/src/app/hooks.ts b/examples/with-redux-toolkit-typescript/src/app/hooks.ts index 70370ca9534e5f6..96d0b0199c759ae 100644 --- a/examples/with-redux-toolkit-typescript/src/app/hooks.ts +++ b/examples/with-redux-toolkit-typescript/src/app/hooks.ts @@ -4,26 +4,27 @@ import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux' import type { AppDispatch, AppState } from './store' -export const useForm = (defaultValues: TContent) => ( - handler: (content: TContent) => void -) => async (event: ChangeEvent) => { - event.preventDefault() - event.persist() +export const useForm = + (defaultValues: TContent) => + (handler: (content: TContent) => void) => + async (event: ChangeEvent) => { + event.preventDefault() + event.persist() - const form = event.target as HTMLFormElement - const elements = Array.from(form.elements) as HTMLInputElement[] - const data = elements - .filter((element) => element.hasAttribute('name')) - .reduce( - (object, element) => ({ - ...object, - [`${element.getAttribute('name')}`]: element.value, - }), - defaultValues - ) - await handler(data) - form.reset() -} + const form = event.target as HTMLFormElement + const elements = Array.from(form.elements) as HTMLInputElement[] + const data = elements + .filter((element) => element.hasAttribute('name')) + .reduce( + (object, element) => ({ + ...object, + [`${element.getAttribute('name')}`]: element.value, + }), + defaultValues + ) + await handler(data) + form.reset() + } // https://overreacted.io/making-setinterval-declarative-with-react-hooks/ export const useInterval = (callback: Function, delay: number) => { diff --git a/examples/with-redux-toolkit-typescript/src/features/counter/counterSlice.ts b/examples/with-redux-toolkit-typescript/src/features/counter/counterSlice.ts index 666a312faddeaf4..5a12bd006a6e589 100644 --- a/examples/with-redux-toolkit-typescript/src/features/counter/counterSlice.ts +++ b/examples/with-redux-toolkit-typescript/src/features/counter/counterSlice.ts @@ -70,14 +70,13 @@ export const selectCount = (state: AppState) => state.counter.value // We can also write thunks by hand, which may contain both sync and async logic. // Here's an example of conditionally dispatching actions based on current state. -export const incrementIfOdd = (amount: number): AppThunk => ( - dispatch, - getState -) => { - const currentValue = selectCount(getState()) - if (currentValue % 2 === 1) { - dispatch(incrementByAmount(amount)) +export const incrementIfOdd = + (amount: number): AppThunk => + (dispatch, getState) => { + const currentValue = selectCount(getState()) + if (currentValue % 2 === 1) { + dispatch(incrementByAmount(amount)) + } } -} export default counterSlice.reducer diff --git a/examples/with-reflexjs/src/theme.ts b/examples/with-reflexjs/src/theme.ts index c22b2f0260dbee8..3cfbcc17813b887 100644 --- a/examples/with-reflexjs/src/theme.ts +++ b/examples/with-reflexjs/src/theme.ts @@ -19,8 +19,7 @@ const theme: Theme = { }, breakpoints: ['640px', '768px', '1024px', '1280px'], fonts: { - body: - '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji', + body: '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji', heading: 'inherit', monospace: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace', diff --git a/examples/with-stitches/pages/index.jsx b/examples/with-stitches/pages/index.jsx index 17d0d1bee720d41..a37c5604de9cb2f 100644 --- a/examples/with-stitches/pages/index.jsx +++ b/examples/with-stitches/pages/index.jsx @@ -21,13 +21,13 @@ const Container = styled('div', { variants: { size: { - '1': { + 1: { maxWidth: '300px', }, - '2': { + 2: { maxWidth: '585px', }, - '3': { + 3: { maxWidth: '865px', }, }, diff --git a/examples/with-stripe-typescript/pages/api/checkout_sessions/[id].ts b/examples/with-stripe-typescript/pages/api/checkout_sessions/[id].ts index e811e0a72f8dd9a..bf4fe8c0032e2e8 100644 --- a/examples/with-stripe-typescript/pages/api/checkout_sessions/[id].ts +++ b/examples/with-stripe-typescript/pages/api/checkout_sessions/[id].ts @@ -15,10 +15,10 @@ export default async function handler( if (!id.startsWith('cs_')) { throw Error('Incorrect CheckoutSession ID.') } - const checkout_session: Stripe.Checkout.Session = await stripe.checkout.sessions.retrieve( - id, - { expand: ['payment_intent'] } - ) + const checkout_session: Stripe.Checkout.Session = + await stripe.checkout.sessions.retrieve(id, { + expand: ['payment_intent'], + }) res.status(200).json(checkout_session) } catch (err) { diff --git a/examples/with-stripe-typescript/pages/api/checkout_sessions/cart.ts b/examples/with-stripe-typescript/pages/api/checkout_sessions/cart.ts index f254b66a6368db6..f9ea247811366e6 100644 --- a/examples/with-stripe-typescript/pages/api/checkout_sessions/cart.ts +++ b/examples/with-stripe-typescript/pages/api/checkout_sessions/cart.ts @@ -38,9 +38,8 @@ export default async function handler( success_url: `${req.headers.origin}/result?session_id={CHECKOUT_SESSION_ID}`, cancel_url: `${req.headers.origin}/use-shopping-cart`, } - const checkoutSession: Stripe.Checkout.Session = await stripe.checkout.sessions.create( - params - ) + const checkoutSession: Stripe.Checkout.Session = + await stripe.checkout.sessions.create(params) res.status(200).json(checkoutSession) } catch (err) { diff --git a/examples/with-stripe-typescript/pages/api/checkout_sessions/index.ts b/examples/with-stripe-typescript/pages/api/checkout_sessions/index.ts index 71dd1736bf03a48..1f33a7cadd7d52b 100644 --- a/examples/with-stripe-typescript/pages/api/checkout_sessions/index.ts +++ b/examples/with-stripe-typescript/pages/api/checkout_sessions/index.ts @@ -35,9 +35,8 @@ export default async function handler( success_url: `${req.headers.origin}/result?session_id={CHECKOUT_SESSION_ID}`, cancel_url: `${req.headers.origin}/donate-with-checkout`, } - const checkoutSession: Stripe.Checkout.Session = await stripe.checkout.sessions.create( - params - ) + const checkoutSession: Stripe.Checkout.Session = + await stripe.checkout.sessions.create(params) res.status(200).json(checkoutSession) } catch (err) { diff --git a/examples/with-stripe-typescript/pages/api/payment_intents/index.ts b/examples/with-stripe-typescript/pages/api/payment_intents/index.ts index 7d921c26df3efa9..f7a73fb22137c72 100644 --- a/examples/with-stripe-typescript/pages/api/payment_intents/index.ts +++ b/examples/with-stripe-typescript/pages/api/payment_intents/index.ts @@ -27,9 +27,8 @@ export default async function handler( currency: CURRENCY, description: process.env.STRIPE_PAYMENT_DESCRIPTION ?? '', } - const payment_intent: Stripe.PaymentIntent = await stripe.paymentIntents.create( - params - ) + const payment_intent: Stripe.PaymentIntent = + await stripe.paymentIntents.create(params) res.status(200).json(payment_intent) } catch (err) { diff --git a/examples/with-styled-components-rtl/pages/_document.js b/examples/with-styled-components-rtl/pages/_document.js index 90e22b0f6e368ae..d39d176d8eee03e 100644 --- a/examples/with-styled-components-rtl/pages/_document.js +++ b/examples/with-styled-components-rtl/pages/_document.js @@ -6,12 +6,13 @@ export default class MyDocument extends Document { static getInitialProps({ renderPage }) { const sheet = new ServerStyleSheet() - const page = renderPage((App) => (props) => - sheet.collectStyles( - - - - ) + const page = renderPage( + (App) => (props) => + sheet.collectStyles( + + + + ) ) const styleTags = sheet.getStyleElement() diff --git a/examples/with-styletron/pages/_document.js b/examples/with-styletron/pages/_document.js index 8cf1126b1bcfbdb..643eed7417ecf3a 100644 --- a/examples/with-styletron/pages/_document.js +++ b/examples/with-styletron/pages/_document.js @@ -6,11 +6,12 @@ class MyDocument extends Document { static async getInitialProps(context) { const renderPage = () => context.renderPage({ - enhanceApp: (App) => (props) => ( - - - - ), + enhanceApp: (App) => (props) => + ( + + + + ), }) const initialProps = await Document.getInitialProps({ diff --git a/examples/with-supertokens/pages/api/user.js b/examples/with-supertokens/pages/api/user.js index 926af6e18723194..ae280235b69163f 100644 --- a/examples/with-supertokens/pages/api/user.js +++ b/examples/with-supertokens/pages/api/user.js @@ -15,8 +15,7 @@ export default async function user(req, res) { ) return res.json({ - note: - 'Fetch any data from your application for authenticated user after using verifySession middleware', + note: 'Fetch any data from your application for authenticated user after using verifySession middleware', userId: req.session.getUserId(), sessionHandle: req.session.getHandle(), userDataInJWT: req.session.getJWTPayload(), diff --git a/examples/with-three-js/components/Bird.js b/examples/with-three-js/components/Bird.js index 990d6f5f86188b5..9aa138fb38fd792 100644 --- a/examples/with-three-js/components/Bird.js +++ b/examples/with-three-js/components/Bird.js @@ -6,11 +6,10 @@ export default function Bird({ speed, factor, url, ...props }) { const { nodes, animations } = useGLTF(url) const { ref, mixer } = useAnimations(animations) - useEffect(() => void mixer.clipAction(animations[0], ref.current).play(), [ - mixer, - animations, - ref, - ]) + useEffect( + () => void mixer.clipAction(animations[0], ref.current).play(), + [mixer, animations, ref] + ) useFrame((state, delta) => { ref.current.rotation.y += diff --git a/package.json b/package.json index 912463d8f1c5398..16deb930b7eff51 100644 --- a/package.json +++ b/package.json @@ -42,10 +42,10 @@ }, "pre-commit": "lint-staged", "devDependencies": { - "@babel/eslint-parser": "7.14.7", - "@babel/plugin-proposal-object-rest-spread": "7.12.1", - "@babel/preset-flow": "7.12.1", - "@babel/preset-react": "7.12.10", + "@babel/eslint-parser": "7.15.0", + "@babel/plugin-proposal-object-rest-spread": "7.14.7", + "@babel/preset-flow": "7.14.5", + "@babel/preset-react": "7.14.5", "@fullhuman/postcss-purgecss": "1.3.0", "@mdx-js/loader": "0.18.0", "@svgr/webpack": "5.5.0", @@ -57,8 +57,8 @@ "@types/jest": "24.0.13", "@types/sharp": "0.28.4", "@types/string-hash": "1.1.1", - "@typescript-eslint/eslint-plugin": "4.22.0", - "@typescript-eslint/parser": "4.22.0", + "@typescript-eslint/eslint-plugin": "4.29.1", + "@typescript-eslint/parser": "4.29.1", "@vercel/fetch": "6.1.1", "@zeit/next-css": "1.0.2-canary.2", "@zeit/next-sass": "1.0.2-canary.2", @@ -117,7 +117,7 @@ "postcss-short-size": "4.0.0", "postcss-trolling": "0.1.7", "pre-commit": "1.2.2", - "prettier": "2.0.5", + "prettier": "2.3.2", "pretty-bytes": "5.3.0", "pretty-ms": "7.0.0", "react": "17.0.2", diff --git a/packages/create-next-app/helpers/validate-pkg.ts b/packages/create-next-app/helpers/validate-pkg.ts index ad30426c9c46745..cff613818f6e8d7 100644 --- a/packages/create-next-app/helpers/validate-pkg.ts +++ b/packages/create-next-app/helpers/validate-pkg.ts @@ -1,9 +1,10 @@ // eslint-disable-next-line import/no-extraneous-dependencies import validateProjectName from 'validate-npm-package-name' -export function validateNpmName( - name: string -): { valid: boolean; problems?: string[] } { +export function validateNpmName(name: string): { + valid: boolean + problems?: string[] +} { const nameValidation = validateProjectName(name) if (nameValidation.validForNewPackages) { return { valid: true } diff --git a/packages/eslint-plugin-next/lib/rules/no-html-link-for-pages.js b/packages/eslint-plugin-next/lib/rules/no-html-link-for-pages.js index c1a6eda6444812e..8fc7b1becd58fc6 100644 --- a/packages/eslint-plugin-next/lib/rules/no-html-link-for-pages.js +++ b/packages/eslint-plugin-next/lib/rules/no-html-link-for-pages.js @@ -58,12 +58,13 @@ module.exports = { const rootDirs = getRootDir(context) - const pagesDirs = (customPagesDirectory - ? [customPagesDirectory] - : rootDirs.map((dir) => [ - path.join(dir, 'pages'), - path.join(dir, 'src', 'pages'), - ]) + const pagesDirs = ( + customPagesDirectory + ? [customPagesDirectory] + : rootDirs.map((dir) => [ + path.join(dir, 'pages'), + path.join(dir, 'src', 'pages'), + ]) ).flat() const foundPagesDirs = pagesDirs.filter((dir) => { diff --git a/packages/next-bundle-analyzer/index.js b/packages/next-bundle-analyzer/index.js index 1431ee2d547c74e..bbe4e3da0c6738e 100644 --- a/packages/next-bundle-analyzer/index.js +++ b/packages/next-bundle-analyzer/index.js @@ -1,22 +1,24 @@ -module.exports = ({ enabled = true } = {}) => (nextConfig = {}) => { - return Object.assign({}, nextConfig, { - webpack(config, options) { - if (enabled) { - const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer') - config.plugins.push( - new BundleAnalyzerPlugin({ - analyzerMode: 'static', - reportFilename: options.isServer - ? '../analyze/server.html' - : './analyze/client.html', - }) - ) - } +module.exports = + ({ enabled = true } = {}) => + (nextConfig = {}) => { + return Object.assign({}, nextConfig, { + webpack(config, options) { + if (enabled) { + const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer') + config.plugins.push( + new BundleAnalyzerPlugin({ + analyzerMode: 'static', + reportFilename: options.isServer + ? '../analyze/server.html' + : './analyze/client.html', + }) + ) + } - if (typeof nextConfig.webpack === 'function') { - return nextConfig.webpack(config, options) - } - return config - }, - }) -} + if (typeof nextConfig.webpack === 'function') { + return nextConfig.webpack(config, options) + } + return config + }, + }) + } diff --git a/packages/next-codemod/bin/cli.ts b/packages/next-codemod/bin/cli.ts index 82a53c768fed49c..245f215e11ce15b 100644 --- a/packages/next-codemod/bin/cli.ts +++ b/packages/next-codemod/bin/cli.ts @@ -101,28 +101,23 @@ export function runTransform({ files, flags, transformer }) { const TRANSFORMER_INQUIRER_CHOICES = [ { - name: - 'name-default-component: Transforms anonymous components into named components to make sure they work with Fast Refresh', + name: 'name-default-component: Transforms anonymous components into named components to make sure they work with Fast Refresh', value: 'name-default-component', }, { - name: - 'add-missing-react-import: Transforms files that do not import `React` to include the import in order for the new React JSX transform', + name: 'add-missing-react-import: Transforms files that do not import `React` to include the import in order for the new React JSX transform', value: 'add-missing-react-import', }, { - name: - 'withamp-to-config: Transforms the withAmp HOC into Next.js 9 page configuration', + name: 'withamp-to-config: Transforms the withAmp HOC into Next.js 9 page configuration', value: 'withamp-to-config', }, { - name: - 'url-to-withrouter: Transforms the deprecated automatically injected url property on top level pages to using withRouter', + name: 'url-to-withrouter: Transforms the deprecated automatically injected url property on top level pages to using withRouter', value: 'url-to-withrouter', }, { - name: - 'cra-to-next (experimental): automatically migrates a Create React App project to Next.js', + name: 'cra-to-next (experimental): automatically migrates a Create React App project to Next.js', value: 'cra-to-next', }, ] diff --git a/packages/next-mdx/index.js b/packages/next-mdx/index.js index 27f9f66290738b3..2a45cc1e9ebee36 100644 --- a/packages/next-mdx/index.js +++ b/packages/next-mdx/index.js @@ -1,24 +1,26 @@ -module.exports = (pluginOptions = {}) => (nextConfig = {}) => { - const extension = pluginOptions.extension || /\.mdx$/ +module.exports = + (pluginOptions = {}) => + (nextConfig = {}) => { + const extension = pluginOptions.extension || /\.mdx$/ - return Object.assign({}, nextConfig, { - webpack(config, options) { - config.module.rules.push({ - test: extension, - use: [ - options.defaultLoaders.babel, - { - loader: require.resolve('@mdx-js/loader'), - options: pluginOptions.options, - }, - ], - }) + return Object.assign({}, nextConfig, { + webpack(config, options) { + config.module.rules.push({ + test: extension, + use: [ + options.defaultLoaders.babel, + { + loader: require.resolve('@mdx-js/loader'), + options: pluginOptions.options, + }, + ], + }) - if (typeof nextConfig.webpack === 'function') { - return nextConfig.webpack(config, options) - } + if (typeof nextConfig.webpack === 'function') { + return nextConfig.webpack(config, options) + } - return config - }, - }) -} + return config + }, + }) + } diff --git a/packages/next/build/babel/loader/get-config.ts b/packages/next/build/babel/loader/get-config.ts index c0d80a805b468f2..20880692d5c8dc2 100644 --- a/packages/next/build/babel/loader/get-config.ts +++ b/packages/next/build/babel/loader/get-config.ts @@ -8,7 +8,8 @@ import { NextBabelLoaderOptions, NextJsLoaderContext } from './types' import { consumeIterator } from './util' import * as Log from '../../output/log' -const nextDistPath = /(next[\\/]dist[\\/]shared[\\/]lib)|(next[\\/]dist[\\/]client)|(next[\\/]dist[\\/]pages)/ +const nextDistPath = + /(next[\\/]dist[\\/]shared[\\/]lib)|(next[\\/]dist[\\/]client)|(next[\\/]dist[\\/]pages)/ /** * The properties defined here are the conditions with which subsets of inputs @@ -66,12 +67,8 @@ function getPlugins( loaderOptions: NextBabelLoaderOptions, cacheCharacteristics: CharacteristicsGermaneToCaching ) { - const { - isServer, - isPageFile, - isNextDist, - hasModuleExports, - } = cacheCharacteristics + const { isServer, isPageFile, isNextDist, hasModuleExports } = + cacheCharacteristics const { hasReactRefresh, development } = loaderOptions @@ -174,13 +171,8 @@ function getFreshConfig( filename: string, inputSourceMap?: object | null ) { - let { - isServer, - pagesDir, - development, - hasJsxRuntime, - configFile, - } = loaderOptions + let { isServer, pagesDir, development, hasJsxRuntime, configFile } = + loaderOptions let customConfig: any = configFile ? getCustomBabelConfig(configFile) @@ -282,13 +274,8 @@ function getFreshConfig( * file attributes and Next.js compiler states: `CharacteristicsGermaneToCaching`. */ function getCacheKey(cacheCharacteristics: CharacteristicsGermaneToCaching) { - const { - isServer, - isPageFile, - isNextDist, - hasModuleExports, - fileExt, - } = cacheCharacteristics + const { isServer, isPageFile, isNextDist, hasModuleExports, fileExt } = + cacheCharacteristics const flags = 0 | diff --git a/packages/next/build/babel/loader/index.ts b/packages/next/build/babel/loader/index.ts index 33f458b4e9eaa56..6fea5706fa355ae 100644 --- a/packages/next/build/babel/loader/index.ts +++ b/packages/next/build/babel/loader/index.ts @@ -17,20 +17,18 @@ async function nextBabelLoader( .traceFn(() => getOptions(this)) const loaderSpanInner = parentTrace.traceChild('next-babel-turbo-transform') - const { - code: transformedSource, - map: outputSourceMap, - } = loaderSpanInner.traceFn(() => - transform.call( - this, - inputSource, - inputSourceMap, - loaderOptions, - filename, - target, - loaderSpanInner + const { code: transformedSource, map: outputSourceMap } = + loaderSpanInner.traceFn(() => + transform.call( + this, + inputSource, + inputSourceMap, + loaderOptions, + filename, + target, + loaderSpanInner + ) ) - ) return [transformedSource, outputSourceMap] } diff --git a/packages/next/build/babel/plugins/jsx-pragma.ts b/packages/next/build/babel/plugins/jsx-pragma.ts index 8e9432e512e4f46..e992088b2435ecf 100644 --- a/packages/next/build/babel/plugins/jsx-pragma.ts +++ b/packages/next/build/babel/plugins/jsx-pragma.ts @@ -64,9 +64,8 @@ export default function ({ t.isIdentifier(existingBinding.path.node.init.callee) && existingBinding.path.node.init.callee.name === 'require' ) { - ;[newPath] = existingBinding.path.parentPath.insertAfter( - mapping - ) + ;[newPath] = + existingBinding.path.parentPath.insertAfter(mapping) } else { ;[newPath] = path.unshiftContainer('body', mapping) } diff --git a/packages/next/build/babel/plugins/next-page-config.ts b/packages/next/build/babel/plugins/next-page-config.ts index 344fd440753acbd..2e4725f290c1b1d 100644 --- a/packages/next/build/babel/plugins/next-page-config.ts +++ b/packages/next/build/babel/plugins/next-page-config.ts @@ -52,15 +52,15 @@ export default function nextPageConfig({ ExportDeclaration(exportPath, exportState) { if ( BabelTypes.isExportNamedDeclaration(exportPath) && - (exportPath.node as BabelTypes.ExportNamedDeclaration).specifiers?.some( - (specifier) => { - return ( - (t.isIdentifier(specifier.exported) - ? specifier.exported.name - : specifier.exported.value) === CONFIG_KEY - ) - } - ) && + ( + exportPath.node as BabelTypes.ExportNamedDeclaration + ).specifiers?.some((specifier) => { + return ( + (t.isIdentifier(specifier.exported) + ? specifier.exported.name + : specifier.exported.value) === CONFIG_KEY + ) + }) && BabelTypes.isStringLiteral( (exportPath.node as BabelTypes.ExportNamedDeclaration) .source @@ -88,9 +88,10 @@ export default function nextPageConfig({ const config: PageConfig = {} const declarations: BabelTypes.VariableDeclarator[] = [ - ...((exportPath.node - .declaration as BabelTypes.VariableDeclaration) - ?.declarations || []), + ...(( + exportPath.node + .declaration as BabelTypes.VariableDeclaration + )?.declarations || []), exportPath.scope.getBinding(CONFIG_KEY)?.path .node as BabelTypes.VariableDeclarator, ].filter(Boolean) diff --git a/packages/next/build/babel/plugins/next-ssg-transform.ts b/packages/next/build/babel/plugins/next-ssg-transform.ts index ba9dd130b360d07..eb741358a1ce5ab 100644 --- a/packages/next/build/babel/plugins/next-ssg-transform.ts +++ b/packages/next/build/babel/plugins/next-ssg-transform.ts @@ -189,16 +189,16 @@ export default function nextTransformSsg({ { VariableDeclarator(variablePath, variableState) { if (variablePath.node.id.type === 'Identifier') { - const local = variablePath.get('id') as NodePath< - BabelTypes.Identifier - > + const local = variablePath.get( + 'id' + ) as NodePath if (isIdentifierReferenced(local)) { variableState.refs.add(local) } } else if (variablePath.node.id.type === 'ObjectPattern') { - const pattern = variablePath.get('id') as NodePath< - BabelTypes.ObjectPattern - > + const pattern = variablePath.get( + 'id' + ) as NodePath const properties = pattern.get('properties') properties.forEach((p) => { @@ -216,9 +216,9 @@ export default function nextTransformSsg({ } }) } else if (variablePath.node.id.type === 'ArrayPattern') { - const pattern = variablePath.get('id') as NodePath< - BabelTypes.ArrayPattern - > + const pattern = variablePath.get( + 'id' + ) as NodePath const elements = pattern.get('elements') elements.forEach((e) => { @@ -226,9 +226,9 @@ export default function nextTransformSsg({ if (e.node?.type === 'Identifier') { local = e as NodePath } else if (e.node?.type === 'RestElement') { - local = e.get('argument') as NodePath< - BabelTypes.Identifier - > + local = e.get( + 'argument' + ) as NodePath } else { return } @@ -284,9 +284,9 @@ export default function nextTransformSsg({ break } case 'VariableDeclaration': { - const inner = decl.get('declarations') as NodePath< - BabelTypes.VariableDeclarator - >[] + const inner = decl.get( + 'declarations' + ) as NodePath[] inner.forEach((d) => { if (d.node.id.type !== 'Identifier') { return @@ -345,9 +345,9 @@ export default function nextTransformSsg({ | NodePath | NodePath ): void { - const local = sweepPath.get('local') as NodePath< - BabelTypes.Identifier - > + const local = sweepPath.get( + 'local' + ) as NodePath if (refs.has(local) && !isIdentifierReferenced(local)) { ++count sweepPath.remove() @@ -368,17 +368,17 @@ export default function nextTransformSsg({ // eslint-disable-next-line no-loop-func VariableDeclarator(variablePath) { if (variablePath.node.id.type === 'Identifier') { - const local = variablePath.get('id') as NodePath< - BabelTypes.Identifier - > + const local = variablePath.get( + 'id' + ) as NodePath if (refs.has(local) && !isIdentifierReferenced(local)) { ++count variablePath.remove() } } else if (variablePath.node.id.type === 'ObjectPattern') { - const pattern = variablePath.get('id') as NodePath< - BabelTypes.ObjectPattern - > + const pattern = variablePath.get( + 'id' + ) as NodePath const beforeCount = count const properties = pattern.get('properties') @@ -406,9 +406,9 @@ export default function nextTransformSsg({ variablePath.remove() } } else if (variablePath.node.id.type === 'ArrayPattern') { - const pattern = variablePath.get('id') as NodePath< - BabelTypes.ArrayPattern - > + const pattern = variablePath.get( + 'id' + ) as NodePath const beforeCount = count const elements = pattern.get('elements') @@ -417,9 +417,9 @@ export default function nextTransformSsg({ if (e.node?.type === 'Identifier') { local = e as NodePath } else if (e.node?.type === 'RestElement') { - local = e.get('argument') as NodePath< - BabelTypes.Identifier - > + local = e.get( + 'argument' + ) as NodePath } else { return } diff --git a/packages/next/build/babel/plugins/optimize-hook-destructuring.ts b/packages/next/build/babel/plugins/optimize-hook-destructuring.ts index 7cdfcaa7d7d5709..a951ae376b6b2f1 100644 --- a/packages/next/build/babel/plugins/optimize-hook-destructuring.ts +++ b/packages/next/build/babel/plugins/optimize-hook-destructuring.ts @@ -8,7 +8,8 @@ import { const isHook = /^use[A-Z]/ // matches only built-in hooks provided by React et al -const isBuiltInHook = /^use(Callback|Context|DebugValue|Effect|ImperativeHandle|LayoutEffect|Memo|Reducer|Ref|State)$/ +const isBuiltInHook = + /^use(Callback|Context|DebugValue|Effect|ImperativeHandle|LayoutEffect|Memo|Reducer|Ref|State)$/ export default function ({ types: t, diff --git a/packages/next/build/babel/plugins/react-loadable-plugin.ts b/packages/next/build/babel/plugins/react-loadable-plugin.ts index 705b5ee5a7409b5..61a3b3bf26b6a57 100644 --- a/packages/next/build/babel/plugins/react-loadable-plugin.ts +++ b/packages/next/build/babel/plugins/react-loadable-plugin.ts @@ -76,9 +76,8 @@ export default function ({ if (!callExpression.isCallExpression()) return - const callExpression_ = callExpression as NodePath< - BabelTypes.CallExpression - > + const callExpression_ = + callExpression as NodePath let args = callExpression_.get('arguments') if (args.length > 2) { diff --git a/packages/next/build/index.ts b/packages/next/build/index.ts index d710791032ffc83..8f5ec6e55b5fd0f 100644 --- a/packages/next/build/index.ts +++ b/packages/next/build/index.ts @@ -270,9 +270,8 @@ export default async function build( ) const pageKeys = Object.keys(mappedPages) const conflictingPublicFiles: string[] = [] - const hasCustomErrorPage: boolean = mappedPages['/_error'].startsWith( - 'private-next-pages' - ) + const hasCustomErrorPage: boolean = + mappedPages['/_error'].startsWith('private-next-pages') const hasPages404 = Boolean( mappedPages['/404'] && mappedPages['/404'].startsWith('private-next-pages') @@ -746,17 +745,18 @@ export default async function build( const nonStaticErrorPageSpan = staticCheckSpan.traceChild( 'check-static-error-page' ) - const errorPageHasCustomGetInitialProps = nonStaticErrorPageSpan.traceAsyncFn( - async () => - hasCustomErrorPage && - (await staticWorkers.hasCustomGetInitialProps( - '/_error', - distDir, - isLikeServerless, - runtimeEnvConfig, - false - )) - ) + const errorPageHasCustomGetInitialProps = + nonStaticErrorPageSpan.traceAsyncFn( + async () => + hasCustomErrorPage && + (await staticWorkers.hasCustomGetInitialProps( + '/_error', + distDir, + isLikeServerless, + runtimeEnvConfig, + false + )) + ) const errorPageStaticResult = nonStaticErrorPageSpan.traceAsyncFn( async () => @@ -776,13 +776,14 @@ export default async function build( // from _error instead const appPageToCheck = isLikeServerless ? '/_error' : '/_app' - const customAppGetInitialPropsPromise = staticWorkers.hasCustomGetInitialProps( - appPageToCheck, - distDir, - isLikeServerless, - runtimeEnvConfig, - true - ) + const customAppGetInitialPropsPromise = + staticWorkers.hasCustomGetInitialProps( + appPageToCheck, + distDir, + isLikeServerless, + runtimeEnvConfig, + true + ) const namedExportsPromise = staticWorkers.getNamedExports( appPageToCheck, @@ -827,9 +828,8 @@ export default async function build( if (nonReservedPage) { try { - let isPageStaticSpan = checkPageSpan.traceChild( - 'is-page-static' - ) + let isPageStaticSpan = + checkPageSpan.traceChild('is-page-static') let workerResult = await isPageStaticSpan.traceAsyncFn(() => { return staticWorkers.isPageStatic( page, @@ -987,7 +987,8 @@ export default async function build( } if (config.experimental.nftTracing) { - const globOrig = require('next/dist/compiled/glob') as typeof import('next/dist/compiled/glob') + const globOrig = + require('next/dist/compiled/glob') as typeof import('next/dist/compiled/glob') const glob = (pattern: string): Promise => { return new Promise((resolve, reject) => { globOrig(pattern, { cwd: dir }, (err, files) => { @@ -1167,8 +1168,8 @@ export default async function build( ssgPages, additionalSsgPaths ) - const exportApp: typeof import('../export').default = require('../export') - .default + const exportApp: typeof import('../export').default = + require('../export').default const exportOptions = { silent: false, buildExport: true, diff --git a/packages/next/build/output/store.ts b/packages/next/build/output/store.ts index 3c371b30ee5ae51..23a17f758b3b93b 100644 --- a/packages/next/build/output/store.ts +++ b/packages/next/build/output/store.ts @@ -24,11 +24,11 @@ export const store = createStore({ let lastStore: OutputState = { appUrl: null, bindAddr: null, bootstrap: true } function hasStoreChanged(nextStore: OutputState) { if ( - ([ - ...new Set([...Object.keys(lastStore), ...Object.keys(nextStore)]), - ] as Array).every((key) => - Object.is(lastStore[key], nextStore[key]) - ) + ( + [ + ...new Set([...Object.keys(lastStore), ...Object.keys(nextStore)]), + ] as Array + ).every((key) => Object.is(lastStore[key], nextStore[key])) ) { return false } diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 222a0918a598f82..8c37c3d9cd28457 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -712,7 +712,8 @@ export default async function getBaseWebpackConfig( return `commonjs ${request}` } - const notExternalModules = /^(?:private-next-pages\/|next\/(?:dist\/pages\/|(?:app|document|link|image|constants)$)|string-hash$)/ + const notExternalModules = + /^(?:private-next-pages\/|next\/(?:dist\/pages\/|(?:app|document|link|image|constants)$)|string-hash$)/ if (notExternalModules.test(request)) { return } @@ -769,9 +770,10 @@ export default async function getBaseWebpackConfig( // Makes sure dist/shared and dist/server are not bundled // we need to process shared `router/router` and `dynamic`, // so that the DefinePlugin can inject process.env values - const isNextExternal = /next[/\\]dist[/\\](shared|server)[/\\](?!lib[/\\](router[/\\]router|dynamic))/.test( - res - ) + const isNextExternal = + /next[/\\]dist[/\\](shared|server)[/\\](?!lib[/\\](router[/\\]router|dynamic))/.test( + res + ) if (isNextExternal) { // Generate Next.js external import @@ -1309,11 +1311,10 @@ export default async function getBaseWebpackConfig( !dev && isServer && (function () { - const { - FontStylesheetGatheringPlugin, - } = require('./webpack/plugins/font-stylesheet-gathering-plugin') as { - FontStylesheetGatheringPlugin: typeof import('./webpack/plugins/font-stylesheet-gathering-plugin').FontStylesheetGatheringPlugin - } + const { FontStylesheetGatheringPlugin } = + require('./webpack/plugins/font-stylesheet-gathering-plugin') as { + FontStylesheetGatheringPlugin: typeof import('./webpack/plugins/font-stylesheet-gathering-plugin').FontStylesheetGatheringPlugin + } return new FontStylesheetGatheringPlugin({ isLikeServerless, }) @@ -1359,7 +1360,7 @@ export default async function getBaseWebpackConfig( minimized: true, }, }), - ].filter((Boolean as any) as ExcludesFalse), + ].filter(Boolean as any as ExcludesFalse), } // Support tsconfig and jsconfig baseUrl @@ -1390,9 +1391,10 @@ export default async function getBaseWebpackConfig( // @ts-ignore webpack 5 webpackConfig.snapshot = {} if (process.versions.pnp === '3') { - const match = /^(.+?)[\\/]cache[\\/]jest-worker-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec( - require.resolve('jest-worker') - ) + const match = + /^(.+?)[\\/]cache[\\/]jest-worker-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec( + require.resolve('jest-worker') + ) if (match) { // @ts-ignore webpack 5 webpackConfig.snapshot.managedPaths = [ @@ -1409,17 +1411,19 @@ export default async function getBaseWebpackConfig( } } if (process.versions.pnp === '1') { - const match = /^(.+?[\\/]v4)[\\/]npm-jest-worker-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec( - require.resolve('jest-worker') - ) + const match = + /^(.+?[\\/]v4)[\\/]npm-jest-worker-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec( + require.resolve('jest-worker') + ) if (match) { // @ts-ignore webpack 5 webpackConfig.snapshot.immutablePaths = [match[1]] } } else if (process.versions.pnp === '3') { - const match = /^(.+?)[\\/]jest-worker-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec( - require.resolve('jest-worker') - ) + const match = + /^(.+?)[\\/]jest-worker-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec( + require.resolve('jest-worker') + ) if (match) { // @ts-ignore webpack 5 webpackConfig.snapshot.immutablePaths = [match[1]] @@ -1477,15 +1481,12 @@ export default async function getBaseWebpackConfig( webpackConfig.cache = cache if (process.env.NEXT_WEBPACK_LOGGING) { - const logInfra = process.env.NEXT_WEBPACK_LOGGING.includes( - 'infrastructure' - ) - const logProfileClient = process.env.NEXT_WEBPACK_LOGGING.includes( - 'profile-client' - ) - const logProfileServer = process.env.NEXT_WEBPACK_LOGGING.includes( - 'profile-server' - ) + const logInfra = + process.env.NEXT_WEBPACK_LOGGING.includes('infrastructure') + const logProfileClient = + process.env.NEXT_WEBPACK_LOGGING.includes('profile-client') + const logProfileServer = + process.env.NEXT_WEBPACK_LOGGING.includes('profile-server') const logDefault = !logInfra && !logProfileClient && !logProfileServer if (logDefault || logInfra) { @@ -1740,9 +1741,10 @@ export default async function getBaseWebpackConfig( } if (webpackConfig.optimization?.minimizer?.length) { // Disable CSS Minifier - webpackConfig.optimization.minimizer = webpackConfig.optimization.minimizer.filter( - (e) => (e as any).__next_css_remove !== true - ) + webpackConfig.optimization.minimizer = + webpackConfig.optimization.minimizer.filter( + (e) => (e as any).__next_css_remove !== true + ) } } else if (!config.future.strictPostcssConfiguration) { await __overrideCssConfiguration(dir, !dev, webpackConfig) @@ -1782,93 +1784,94 @@ export default async function getBaseWebpackConfig( // Patch `@zeit/next-sass`, `@zeit/next-less`, `@zeit/next-stylus` for compatibility if (webpackConfig.module && Array.isArray(webpackConfig.module.rules)) { - ;[].forEach.call(webpackConfig.module.rules, function ( - rule: webpack.RuleSetRule - ) { - if (!(rule.test instanceof RegExp && Array.isArray(rule.use))) { - return - } - - const isSass = - rule.test.source === '\\.scss$' || rule.test.source === '\\.sass$' - const isLess = rule.test.source === '\\.less$' - const isCss = rule.test.source === '\\.css$' - const isStylus = rule.test.source === '\\.styl$' + ;[].forEach.call( + webpackConfig.module.rules, + function (rule: webpack.RuleSetRule) { + if (!(rule.test instanceof RegExp && Array.isArray(rule.use))) { + return + } - // Check if the rule we're iterating over applies to Sass, Less, or CSS - if (!(isSass || isLess || isCss || isStylus)) { - return - } + const isSass = + rule.test.source === '\\.scss$' || rule.test.source === '\\.sass$' + const isLess = rule.test.source === '\\.less$' + const isCss = rule.test.source === '\\.css$' + const isStylus = rule.test.source === '\\.styl$' - ;[].forEach.call(rule.use, function (use: webpack.RuleSetUseItem) { - if ( - !( - use && - typeof use === 'object' && - // Identify use statements only pertaining to `css-loader` - (use.loader === 'css-loader' || - use.loader === 'css-loader/locals') && - use.options && - typeof use.options === 'object' && - // The `minimize` property is a good heuristic that we need to - // perform this hack. The `minimize` property was only valid on - // old `css-loader` versions. Custom setups (that aren't next-sass, - // next-less or next-stylus) likely have the newer version. - // We still handle this gracefully below. - (Object.prototype.hasOwnProperty.call(use.options, 'minimize') || - Object.prototype.hasOwnProperty.call( - use.options, - 'exportOnlyLocals' - )) - ) - ) { + // Check if the rule we're iterating over applies to Sass, Less, or CSS + if (!(isSass || isLess || isCss || isStylus)) { return } - // Try to monkey patch within a try-catch. We shouldn't fail the build - // if we cannot pull this off. - // The user may not even be using the `next-sass` or `next-less` or - // `next-stylus` plugins. - // If it does work, great! - try { - // Resolve the version of `@zeit/next-css` as depended on by the Sass, - // Less or Stylus plugin. - const correctNextCss = require.resolve('@zeit/next-css', { - paths: [ - isCss - ? // Resolve `@zeit/next-css` from the base directory - dir - : // Else, resolve it from the specific plugins - require.resolve( - isSass - ? '@zeit/next-sass' - : isLess - ? '@zeit/next-less' - : isStylus - ? '@zeit/next-stylus' - : 'next' - ), - ], - }) + ;[].forEach.call(rule.use, function (use: webpack.RuleSetUseItem) { + if ( + !( + use && + typeof use === 'object' && + // Identify use statements only pertaining to `css-loader` + (use.loader === 'css-loader' || + use.loader === 'css-loader/locals') && + use.options && + typeof use.options === 'object' && + // The `minimize` property is a good heuristic that we need to + // perform this hack. The `minimize` property was only valid on + // old `css-loader` versions. Custom setups (that aren't next-sass, + // next-less or next-stylus) likely have the newer version. + // We still handle this gracefully below. + (Object.prototype.hasOwnProperty.call(use.options, 'minimize') || + Object.prototype.hasOwnProperty.call( + use.options, + 'exportOnlyLocals' + )) + ) + ) { + return + } - // If we found `@zeit/next-css` ... - if (correctNextCss) { - // ... resolve the version of `css-loader` shipped with that - // package instead of whichever was hoisted highest in your - // `node_modules` tree. - const correctCssLoader = require.resolve(use.loader, { - paths: [correctNextCss], + // Try to monkey patch within a try-catch. We shouldn't fail the build + // if we cannot pull this off. + // The user may not even be using the `next-sass` or `next-less` or + // `next-stylus` plugins. + // If it does work, great! + try { + // Resolve the version of `@zeit/next-css` as depended on by the Sass, + // Less or Stylus plugin. + const correctNextCss = require.resolve('@zeit/next-css', { + paths: [ + isCss + ? // Resolve `@zeit/next-css` from the base directory + dir + : // Else, resolve it from the specific plugins + require.resolve( + isSass + ? '@zeit/next-sass' + : isLess + ? '@zeit/next-less' + : isStylus + ? '@zeit/next-stylus' + : 'next' + ), + ], }) - if (correctCssLoader) { - // We saved the user from a failed build! - use.loader = correctCssLoader + + // If we found `@zeit/next-css` ... + if (correctNextCss) { + // ... resolve the version of `css-loader` shipped with that + // package instead of whichever was hoisted highest in your + // `node_modules` tree. + const correctCssLoader = require.resolve(use.loader, { + paths: [correctNextCss], + }) + if (correctCssLoader) { + // We saved the user from a failed build! + use.loader = correctCssLoader + } } + } catch (_) { + // The error is not required to be handled. } - } catch (_) { - // The error is not required to be handled. - } - }) - }) + }) + } + ) } // Backwards compat for `main.js` entry key diff --git a/packages/next/build/webpack/config/blocks/css/plugins.ts b/packages/next/build/webpack/config/blocks/css/plugins.ts index 7b0ed10f259cf1e..75efb797d949eed 100644 --- a/packages/next/build/webpack/config/blocks/css/plugins.ts +++ b/packages/next/build/webpack/config/blocks/css/plugins.ts @@ -25,7 +25,8 @@ function getError_NullConfig(pluginName: string) { } function isIgnoredPlugin(pluginPath: string): boolean { - const ignoredRegex = /(?:^|[\\/])(postcss-modules-values|postcss-modules-scope|postcss-modules-extract-imports|postcss-modules-local-by-default|postcss-modules)(?:[\\/]|$)/i + const ignoredRegex = + /(?:^|[\\/])(postcss-modules-values|postcss-modules-scope|postcss-modules-extract-imports|postcss-modules-local-by-default|postcss-modules)(?:[\\/]|$)/i const match = ignoredRegex.exec(pluginPath) if (match == null) { return false diff --git a/packages/next/build/webpack/config/utils.ts b/packages/next/build/webpack/config/utils.ts index 3076195f9c23864..a7f856088bc4265 100644 --- a/packages/next/build/webpack/config/utils.ts +++ b/packages/next/build/webpack/config/utils.ts @@ -25,7 +25,10 @@ export type ConfigurationFn = ( a: webpack.Configuration ) => webpack.Configuration -export const pipe = (...fns: Array<(a: R) => R | Promise>) => ( - param: R -) => - fns.reduce(async (result: R | Promise, next) => next(await result), param) +export const pipe = + (...fns: Array<(a: R) => R | Promise>) => + (param: R) => + fns.reduce( + async (result: R | Promise, next) => next(await result), + param + ) diff --git a/packages/next/build/webpack/loaders/next-serverless-loader/utils.ts b/packages/next/build/webpack/loaders/next-serverless-loader/utils.ts index e99e3dc5482ffc8..a0f98cc5942bca1 100644 --- a/packages/next/build/webpack/loaders/next-serverless-loader/utils.ts +++ b/packages/next/build/webpack/loaders/next-serverless-loader/utils.ts @@ -381,8 +381,10 @@ export function getUtils({ let localeDomainRedirect const localePathResult = normalizeLocalePath(pathname, i18n.locales) - routeNoAssetPath = normalizeLocalePath(routeNoAssetPath, i18n.locales) - .pathname + routeNoAssetPath = normalizeLocalePath( + routeNoAssetPath, + i18n.locales + ).pathname if (localePathResult.detectedLocale) { detectedLocale = localePathResult.detectedLocale diff --git a/packages/next/build/webpack/plugins/css-minimizer-plugin.ts b/packages/next/build/webpack/plugins/css-minimizer-plugin.ts index a09b4995e518b50..77d40c8c3430cb2 100644 --- a/packages/next/build/webpack/plugins/css-minimizer-plugin.ts +++ b/packages/next/build/webpack/plugins/css-minimizer-plugin.ts @@ -36,7 +36,7 @@ export class CssMinimizerPlugin { // We don't actually add this parser to support Sass. It can also be used // for inline comment support. See the README: // https://github.com/postcss/postcss-scss/blob/master/README.md#2-inline-comments-for-postcss - parser: (postcssScss as any) as Parser, + parser: postcssScss as any as Parser, } let input: string diff --git a/packages/next/build/webpack/plugins/font-stylesheet-gathering-plugin.ts b/packages/next/build/webpack/plugins/font-stylesheet-gathering-plugin.ts index a7927e1e021e245..044ac86320ee81e 100644 --- a/packages/next/build/webpack/plugins/font-stylesheet-gathering-plugin.ts +++ b/packages/next/build/webpack/plugins/font-stylesheet-gathering-plugin.ts @@ -190,9 +190,8 @@ export class FontStylesheetGatheringPlugin { if (isWebpack5) { const fontUrls = new Set() modules.forEach((module: any) => { - const fontDependencies = module?.buildInfo?.valueDependencies?.get( - FONT_MANIFEST - ) + const fontDependencies = + module?.buildInfo?.valueDependencies?.get(FONT_MANIFEST) if (fontDependencies) { fontDependencies.forEach((v: string) => fontUrls.add(v)) } diff --git a/packages/next/build/webpack/plugins/next-drop-client-page-plugin.ts b/packages/next/build/webpack/plugins/next-drop-client-page-plugin.ts index 286bc1aaea6a493..c2f1d7400e2f625 100644 --- a/packages/next/build/webpack/plugins/next-drop-client-page-plugin.ts +++ b/packages/next/build/webpack/plugins/next-drop-client-page-plugin.ts @@ -23,9 +23,8 @@ export class DropClientPage implements webpack.Plugin { for (const module of queue) { if (isWebpack5) { // @ts-ignore TODO: webpack 5 types - const incomingConnections = compilation.moduleGraph.getIncomingConnections( - module - ) + const incomingConnections = + compilation.moduleGraph.getIncomingConnections(module) for (const incomingConnection of incomingConnections) { if (!incomingConnection.originModule) return module diff --git a/packages/next/build/webpack/plugins/nextjs-ssr-module-cache.ts b/packages/next/build/webpack/plugins/nextjs-ssr-module-cache.ts index 455d0c1f5fb6370..4aced7352749496 100644 --- a/packages/next/build/webpack/plugins/nextjs-ssr-module-cache.ts +++ b/packages/next/build/webpack/plugins/nextjs-ssr-module-cache.ts @@ -54,10 +54,8 @@ export default class NextJsSsrImportPlugin { // Make sure even in windows, the path looks like in unix // Node.js require system will convert it accordingly - const relativePathToBaseDirNormalized = relativePathToBaseDir.replace( - /\\/g, - '/' - ) + const relativePathToBaseDirNormalized = + relativePathToBaseDir.replace(/\\/g, '/') return (webpack as any).Template.asString([ source, '// The module cache', diff --git a/packages/next/build/webpack/plugins/pages-manifest-plugin.ts b/packages/next/build/webpack/plugins/pages-manifest-plugin.ts index c443f38558d0a5b..0b6ff3ce66d0149 100644 --- a/packages/next/build/webpack/plugins/pages-manifest-plugin.ts +++ b/packages/next/build/webpack/plugins/pages-manifest-plugin.ts @@ -55,9 +55,8 @@ export default class PagesManifestPlugin implements webpack.Plugin { pages[pagePath] = pages[pagePath].replace(/\\/g, '/') } - assets[ - `${isWebpack5 && !this.dev ? '../' : ''}` + PAGES_MANIFEST - ] = new sources.RawSource(JSON.stringify(pages, null, 2)) + assets[`${isWebpack5 && !this.dev ? '../' : ''}` + PAGES_MANIFEST] = + new sources.RawSource(JSON.stringify(pages, null, 2)) } apply(compiler: webpack.Compiler): void { diff --git a/packages/next/build/webpack/plugins/terser-webpack-plugin/src/index.js b/packages/next/build/webpack/plugins/terser-webpack-plugin/src/index.js index c2b12baeab52746..81674803eaa2de9 100644 --- a/packages/next/build/webpack/plugins/terser-webpack-plugin/src/index.js +++ b/packages/next/build/webpack/plugins/terser-webpack-plugin/src/index.js @@ -250,10 +250,8 @@ export class TerserPlugin { return minifySpan.traceAsyncFn(async () => { if (!output) { - const { - source: sourceFromInputSource, - map: inputSourceMap, - } = inputSource.sourceAndMap() + const { source: sourceFromInputSource, map: inputSourceMap } = + inputSource.sourceAndMap() const input = Buffer.isBuffer(sourceFromInputSource) ? sourceFromInputSource.toString() @@ -364,9 +362,10 @@ export class TerserPlugin { } if (isWebpack5) { - const JSModulesHooks = webpack.javascript.JavascriptModulesPlugin.getCompilationHooks( - compilation - ) + const JSModulesHooks = + webpack.javascript.JavascriptModulesPlugin.getCompilationHooks( + compilation + ) JSModulesHooks.chunkHash.tap(pluginName, (chunk, hash) => { if (!chunk.hasRuntime()) return return handleHashForChunk(hash, chunk) diff --git a/packages/next/build/webpack/plugins/webpack-conformance-plugin/checks/duplicate-polyfills-conformance-check.ts b/packages/next/build/webpack/plugins/webpack-conformance-plugin/checks/duplicate-polyfills-conformance-check.ts index 9e900f8909ed97f..1bc7c030697a540 100644 --- a/packages/next/build/webpack/plugins/webpack-conformance-plugin/checks/duplicate-polyfills-conformance-check.ts +++ b/packages/next/build/webpack/plugins/webpack-conformance-plugin/checks/duplicate-polyfills-conformance-check.ts @@ -42,7 +42,8 @@ export interface DuplicatePolyfillsConformanceTestSettings { const BANNED_LEFT_OBJECT_TYPES = ['Identifier', 'ThisExpression'] export class DuplicatePolyfillsConformanceCheck - implements IWebpackConformanceTest { + implements IWebpackConformanceTest +{ private BlockedAPIs: string[] = [] constructor(options: DuplicatePolyfillsConformanceTestSettings = {}) { this.BlockedAPIs = options.BlockedAPIToBePolyfilled || [] diff --git a/packages/next/build/webpack/plugins/webpack-conformance-plugin/checks/react-sync-scripts-conformance-check.ts b/packages/next/build/webpack/plugins/webpack-conformance-plugin/checks/react-sync-scripts-conformance-check.ts index 7ba78e0ac791e8f..7ace4878f1251c1 100644 --- a/packages/next/build/webpack/plugins/webpack-conformance-plugin/checks/react-sync-scripts-conformance-check.ts +++ b/packages/next/build/webpack/plugins/webpack-conformance-plugin/checks/react-sync-scripts-conformance-check.ts @@ -26,7 +26,8 @@ export interface ReactSyncScriptsConformanceCheckOptions { AllowedSources?: String[] } export class ReactSyncScriptsConformanceCheck - implements IWebpackConformanceTest { + implements IWebpackConformanceTest +{ private allowedSources: String[] = [] constructor({ AllowedSources, diff --git a/packages/next/build/webpack/plugins/wellknown-errors-plugin/parseCss.ts b/packages/next/build/webpack/plugins/wellknown-errors-plugin/parseCss.ts index e293c8e60de8d8d..b03cfaf75cf2e58 100644 --- a/packages/next/build/webpack/plugins/wellknown-errors-plugin/parseCss.ts +++ b/packages/next/build/webpack/plugins/wellknown-errors-plugin/parseCss.ts @@ -2,7 +2,8 @@ import Chalk from 'chalk' import { SimpleWebpackError } from './simpleWebpackError' const chalk = new Chalk.constructor({ enabled: true }) -const regexCssError = /^(?:CssSyntaxError|SyntaxError)\n\n\((\d+):(\d*)\) (.*)$/s +const regexCssError = + /^(?:CssSyntaxError|SyntaxError)\n\n\((\d+):(\d*)\) (.*)$/s export function getCssError( fileName: string, diff --git a/packages/next/build/webpack/plugins/wellknown-errors-plugin/parseScss.ts b/packages/next/build/webpack/plugins/wellknown-errors-plugin/parseScss.ts index 366292bb91984cd..7c27d4c5c58c5b6 100644 --- a/packages/next/build/webpack/plugins/wellknown-errors-plugin/parseScss.ts +++ b/packages/next/build/webpack/plugins/wellknown-errors-plugin/parseScss.ts @@ -3,7 +3,8 @@ import Chalk from 'chalk' import { SimpleWebpackError } from './simpleWebpackError' const chalk = new Chalk.constructor({ enabled: true }) -const regexScssError = /SassError: (.+)\n\s+on line (\d+) [\s\S]*?>> (.+)\n\s*(-+)\^$/m +const regexScssError = + /SassError: (.+)\n\s+on line (\d+) [\s\S]*?>> (.+)\n\s*(-+)\^$/m export function getScssError( fileName: string, diff --git a/packages/next/client/dev/amp-dev.js b/packages/next/client/dev/amp-dev.js index c10a5ac1736f2de..d187d427d64b14b 100644 --- a/packages/next/client/dev/amp-dev.js +++ b/packages/next/client/dev/amp-dev.js @@ -46,9 +46,8 @@ async function tryApplyUpdates() { const jsonData = await res.json() const curPage = page === '/' ? 'index' : page // webpack 5 uses an array instead - const pageUpdated = (Array.isArray(jsonData.c) - ? jsonData.c - : Object.keys(jsonData.c) + const pageUpdated = ( + Array.isArray(jsonData.c) ? jsonData.c : Object.keys(jsonData.c) ).some((mod) => { return ( mod.indexOf( diff --git a/packages/next/client/image.tsx b/packages/next/client/image.tsx index 9608f3981ac04da..78e263d0aa5bb2d 100644 --- a/packages/next/client/image.tsx +++ b/packages/next/client/image.tsx @@ -110,8 +110,7 @@ const { loader: configLoader, path: configPath, domains: configDomains, -} = - ((process.env.__NEXT_IMAGE_OPTS as any) as ImageConfig) || imageConfigDefault +} = (process.env.__NEXT_IMAGE_OPTS as any as ImageConfig) || imageConfigDefault // sort smallest to largest const allSizes = [...configDeviceSizes, ...configImageSizes] configDeviceSizes.sort((a, b) => a - b) @@ -546,8 +545,7 @@ export default function Image({ } let imgAttributes: GenImgAttrsResult = { - src: - 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', + src: 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', srcSet: undefined, sizes: undefined, } diff --git a/packages/next/client/index.tsx b/packages/next/client/index.tsx index 67070660d226e14..26a2386dd891ac9 100644 --- a/packages/next/client/index.tsx +++ b/packages/next/client/index.tsx @@ -95,21 +95,17 @@ if (hasBasePath(asPath)) { } if (process.env.__NEXT_I18N_SUPPORT) { - const { - normalizeLocalePath, - } = require('../shared/lib/i18n/normalize-locale-path') as typeof import('../shared/lib/i18n/normalize-locale-path') + const { normalizeLocalePath } = + require('../shared/lib/i18n/normalize-locale-path') as typeof import('../shared/lib/i18n/normalize-locale-path') - const { - detectDomainLocale, - } = require('../shared/lib/i18n/detect-domain-locale') as typeof import('../shared/lib/i18n/detect-domain-locale') + const { detectDomainLocale } = + require('../shared/lib/i18n/detect-domain-locale') as typeof import('../shared/lib/i18n/detect-domain-locale') - const { - parseRelativeUrl, - } = require('../shared/lib/router/utils/parse-relative-url') as typeof import('../shared/lib/router/utils/parse-relative-url') + const { parseRelativeUrl } = + require('../shared/lib/router/utils/parse-relative-url') as typeof import('../shared/lib/router/utils/parse-relative-url') - const { - formatUrl, - } = require('../shared/lib/router/utils/format-url') as typeof import('../shared/lib/router/utils/format-url') + const { formatUrl } = + require('../shared/lib/router/utils/format-url') as typeof import('../shared/lib/router/utils/format-url') if (locales) { const parsedAs = parseRelativeUrl(asPath) @@ -580,12 +576,9 @@ function markRenderComplete(): void { } function clearMarks(): void { - ;[ - 'beforeRender', - 'afterHydrate', - 'afterRender', - 'routeChange', - ].forEach((mark) => performance.clearMarks(mark)) + ;['beforeRender', 'afterHydrate', 'afterRender', 'routeChange'].forEach( + (mark) => performance.clearMarks(mark) + ) } function AppContainer({ @@ -608,21 +601,21 @@ function AppContainer({ ) } -const wrapApp = (App: AppComponent) => ( - wrappedAppProps: Record -): JSX.Element => { - const appProps: AppProps = { - ...wrappedAppProps, - Component: CachedComponent, - err: hydrateErr, - router, +const wrapApp = + (App: AppComponent) => + (wrappedAppProps: Record): JSX.Element => { + const appProps: AppProps = { + ...wrappedAppProps, + Component: CachedComponent, + err: hydrateErr, + router, + } + return ( + + + + ) } - return ( - - - - ) -} let lastAppProps: AppProps function doRender(input: RenderRouteInfo): Promise { @@ -683,9 +676,8 @@ function doRender(input: RenderRouteInfo): Promise { const noscript: Element | null = document.querySelector( 'noscript[data-n-css]' ) - const nonce: string | null | undefined = noscript?.getAttribute( - 'data-n-css' - ) + const nonce: string | null | undefined = + noscript?.getAttribute('data-n-css') styleSheets.forEach(({ href, text }: { href: string; text: any }) => { if (!currentHrefs.has(href)) { @@ -716,9 +708,10 @@ function doRender(input: RenderRouteInfo): Promise { !canceled ) { const desiredHrefs: Set = new Set(styleSheets.map((s) => s.href)) - const currentStyleTags: HTMLStyleElement[] = looseToArray< - HTMLStyleElement - >(document.querySelectorAll('style[data-n-href]')) + const currentStyleTags: HTMLStyleElement[] = + looseToArray( + document.querySelectorAll('style[data-n-href]') + ) const currentHrefs: string[] = currentStyleTags.map( (tag) => tag.getAttribute('data-n-href')! ) @@ -814,9 +807,10 @@ function Root({ }>): React.ReactElement { // We use `useLayoutEffect` to guarantee the callbacks are executed // as soon as React flushes the update - React.useLayoutEffect(() => callbacks.forEach((callback) => callback()), [ - callbacks, - ]) + React.useLayoutEffect( + () => callbacks.forEach((callback) => callback()), + [callbacks] + ) if (process.env.__NEXT_TEST_MODE) { // eslint-disable-next-line react-hooks/rules-of-hooks React.useEffect(() => { diff --git a/packages/next/client/route-loader.ts b/packages/next/client/route-loader.ts index 2fc72788d304da0..a3e2a59380a627b 100644 --- a/packages/next/client/route-loader.ts +++ b/packages/next/client/route-loader.ts @@ -205,16 +205,15 @@ export function getClientBuildManifest(): Promise { return Promise.resolve(self.__BUILD_MANIFEST) } - const onBuildManifest: Promise = new Promise< - ClientBuildManifest - >((resolve) => { - // Mandatory because this is not concurrent safe: - const cb = self.__BUILD_MANIFEST_CB - self.__BUILD_MANIFEST_CB = () => { - resolve(self.__BUILD_MANIFEST!) - cb && cb() - } - }) + const onBuildManifest: Promise = + new Promise((resolve) => { + // Mandatory because this is not concurrent safe: + const cb = self.__BUILD_MANIFEST_CB + self.__BUILD_MANIFEST_CB = () => { + resolve(self.__BUILD_MANIFEST!) + cb && cb() + } + }) return resolvePromiseWithTimeout( onBuildManifest, @@ -257,16 +256,12 @@ function getFilesForRoute( } export function createRouteLoader(assetPrefix: string): RouteLoader { - const entrypoints: Map< - string, - Future | RouteEntrypoint - > = new Map() + const entrypoints: Map | RouteEntrypoint> = + new Map() const loadedScripts: Map> = new Map() const styleSheets: Map> = new Map() - const routes: Map< - string, - Future | RouteLoaderEntry - > = new Map() + const routes: Map | RouteLoaderEntry> = + new Map() function maybeExecuteScript(src: string): Promise { let prom: Promise | undefined = loadedScripts.get(src) diff --git a/packages/next/client/with-router.tsx b/packages/next/client/with-router.tsx index 194053a7fc5268c..618f7b463391ef1 100644 --- a/packages/next/client/with-router.tsx +++ b/packages/next/client/with-router.tsx @@ -23,7 +23,9 @@ export default function withRouter< WithRouterWrapper.getInitialProps = ComposedComponent.getInitialProps // This is needed to allow checking for custom getInitialProps in _app - ;(WithRouterWrapper as any).origGetInitialProps = (ComposedComponent as any).origGetInitialProps + ;(WithRouterWrapper as any).origGetInitialProps = ( + ComposedComponent as any + ).origGetInitialProps if (process.env.NODE_ENV !== 'production') { const name = ComposedComponent.displayName || ComposedComponent.name || 'Unknown' diff --git a/packages/next/compiled/babel/bundle.js b/packages/next/compiled/babel/bundle.js index 7f0f59b6a1a1f02..245aa634de9d1fb 100644 --- a/packages/next/compiled/babel/bundle.js +++ b/packages/next/compiled/babel/bundle.js @@ -1,4 +1,4 @@ -module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},65561:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"45","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},54039:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=54039;e.exports=webpackEmptyAsyncContext},21622:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/helper-create-regexp-features-plugin","version":"7.12.1","author":"The Babel Team (https://babeljs.io/team)","license":"MIT","description":"Compile ESNext Regular Expressions to ES5","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-helper-create-regexp-features-plugin"},"main":"lib/index.js","publishConfig":{"access":"public"},"keywords":["babel","babel-plugin"],"dependencies":{"@babel/helper-annotate-as-pure":"^7.10.4","@babel/helper-regex":"^7.10.4","regexpu-core":"^4.7.1"},"peerDependencies":{"@babel/core":"^7.0.0"},"devDependencies":{"@babel/core":"^7.12.1","@babel/helper-plugin-test-runner":"7.10.4"}}')},14623:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=14623;e.exports=webpackEmptyAsyncContext},28254:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/core","version":"7.12.10","description":"Babel compiler core.","main":"lib/index.js","author":"Sebastian McKenzie ","homepage":"https://babeljs.io/","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-core"},"keywords":["6to5","babel","classes","const","es6","harmony","let","modules","transpile","transpiler","var","babel-core","compiler"],"engines":{"node":">=6.9.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/babel"},"browser":{"./lib/config/files/index.js":"./lib/config/files/index-browser.js","./lib/transform-file.js":"./lib/transform-file-browser.js","./src/config/files/index.js":"./src/config/files/index-browser.js","./src/transform-file.js":"./src/transform-file-browser.js"},"dependencies":{"@babel/code-frame":"^7.10.4","@babel/generator":"^7.12.10","@babel/helper-module-transforms":"^7.12.1","@babel/helpers":"^7.12.5","@babel/parser":"^7.12.10","@babel/template":"^7.12.7","@babel/traverse":"^7.12.10","@babel/types":"^7.12.10","convert-source-map":"^1.7.0","debug":"^4.1.0","gensync":"^1.0.0-beta.1","json5":"^2.1.2","lodash":"^4.17.19","semver":"^5.4.1","source-map":"^0.5.0"},"devDependencies":{"@babel/helper-transform-fixture-test-runner":"7.12.10"}}')},90520:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/helper-create-class-features-plugin","version":"7.12.1","author":"The Babel Team (https://babeljs.io/team)","license":"MIT","description":"Compile class public and private fields, private methods and decorators to ES6","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-helper-create-class-features-plugin"},"main":"lib/index.js","publishConfig":{"access":"public"},"keywords":["babel","babel-plugin"],"dependencies":{"@babel/helper-function-name":"^7.10.4","@babel/helper-member-expression-to-functions":"^7.12.1","@babel/helper-optimise-call-expression":"^7.10.4","@babel/helper-replace-supers":"^7.12.1","@babel/helper-split-export-declaration":"^7.10.4"},"peerDependencies":{"@babel/core":"^7.0.0"},"devDependencies":{"@babel/core":"^7.12.1","@babel/helper-plugin-test-runner":"7.10.4"}}')},81815:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=81815;e.exports=webpackEmptyAsyncContext},87371:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/core","version":"7.12.10","description":"Babel compiler core.","main":"lib/index.js","author":"Sebastian McKenzie ","homepage":"https://babeljs.io/","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-core"},"keywords":["6to5","babel","classes","const","es6","harmony","let","modules","transpile","transpiler","var","babel-core","compiler"],"engines":{"node":">=6.9.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/babel"},"browser":{"./lib/config/files/index.js":"./lib/config/files/index-browser.js","./lib/transform-file.js":"./lib/transform-file-browser.js","./src/config/files/index.js":"./src/config/files/index-browser.js","./src/transform-file.js":"./src/transform-file-browser.js"},"dependencies":{"@babel/code-frame":"^7.10.4","@babel/generator":"^7.12.10","@babel/helper-module-transforms":"^7.12.1","@babel/helpers":"^7.12.5","@babel/parser":"^7.12.10","@babel/template":"^7.12.7","@babel/traverse":"^7.12.10","@babel/types":"^7.12.10","convert-source-map":"^1.7.0","debug":"^4.1.0","gensync":"^1.0.0-beta.1","json5":"^2.1.2","lodash":"^4.17.19","semver":"^5.4.1","source-map":"^0.5.0"},"devDependencies":{"@babel/helper-transform-fixture-test-runner":"7.12.10"}}')},78409:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=78409;e.exports=webpackEmptyAsyncContext},39050:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/core","version":"7.12.10","description":"Babel compiler core.","main":"lib/index.js","author":"Sebastian McKenzie ","homepage":"https://babeljs.io/","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-core"},"keywords":["6to5","babel","classes","const","es6","harmony","let","modules","transpile","transpiler","var","babel-core","compiler"],"engines":{"node":">=6.9.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/babel"},"browser":{"./lib/config/files/index.js":"./lib/config/files/index-browser.js","./lib/transform-file.js":"./lib/transform-file-browser.js","./src/config/files/index.js":"./src/config/files/index-browser.js","./src/transform-file.js":"./src/transform-file-browser.js"},"dependencies":{"@babel/code-frame":"^7.10.4","@babel/generator":"^7.12.10","@babel/helper-module-transforms":"^7.12.1","@babel/helpers":"^7.12.5","@babel/parser":"^7.12.10","@babel/template":"^7.12.7","@babel/traverse":"^7.12.10","@babel/types":"^7.12.10","convert-source-map":"^1.7.0","debug":"^4.1.0","gensync":"^1.0.0-beta.1","json5":"^2.1.2","lodash":"^4.17.19","semver":"^5.4.1","source-map":"^0.5.0"},"devDependencies":{"@babel/helper-transform-fixture-test-runner":"7.12.10"}}')},80075:e=>{"use strict";e.exports=JSON.parse('{"es6.array.copy-within":{"chrome":"45","opera":"32","edge":"12","firefox":"32","safari":"9","node":"4","ios":"9","samsung":"5","electron":"0.31"},"es6.array.every":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.fill":{"chrome":"45","opera":"32","edge":"12","firefox":"31","safari":"7.1","node":"4","ios":"8","samsung":"5","electron":"0.31"},"es6.array.filter":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.find":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","electron":"0.31"},"es6.array.find-index":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","electron":"0.31"},"es7.array.flat-map":{"chrome":"69","opera":"56","edge":"79","firefox":"62","safari":"12","node":"11","ios":"12","samsung":"10","electron":"4.0"},"es6.array.for-each":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.from":{"chrome":"51","opera":"38","edge":"15","firefox":"36","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.array.includes":{"chrome":"47","opera":"34","edge":"14","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.array.index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.is-array":{"chrome":"5","opera":"10.50","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.iterator":{"chrome":"66","opera":"53","edge":"12","firefox":"60","safari":"9","node":"10","ios":"9","samsung":"9","electron":"3.0"},"es6.array.last-index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.map":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.of":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"9","node":"4","ios":"9","samsung":"5","electron":"0.31"},"es6.array.reduce":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.reduce-right":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.some":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.sort":{"chrome":"63","opera":"50","edge":"12","firefox":"5","safari":"12","node":"10","ie":"9","ios":"12","samsung":"8","electron":"3.0"},"es6.array.species":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.date.now":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.date.to-iso-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.date.to-json":{"chrome":"5","opera":"12.10","edge":"12","firefox":"4","safari":"10","node":"0.10","ie":"9","android":"4","ios":"10","samsung":"1","electron":"0.20"},"es6.date.to-primitive":{"chrome":"47","opera":"34","edge":"15","firefox":"44","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.date.to-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.function.bind":{"chrome":"7","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.function.has-instance":{"chrome":"51","opera":"38","edge":"15","firefox":"50","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.function.name":{"chrome":"5","opera":"10.50","edge":"14","firefox":"2","safari":"4","node":"0.10","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.math.acosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.asinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.atanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.cbrt":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.clz32":{"chrome":"38","opera":"25","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"es6.math.cosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.expm1":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.fround":{"chrome":"38","opera":"25","edge":"12","firefox":"26","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.hypot":{"chrome":"38","opera":"25","edge":"12","firefox":"27","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.imul":{"chrome":"30","opera":"17","edge":"12","firefox":"23","safari":"7","node":"0.12","android":"4.4","ios":"7","samsung":"2","electron":"0.20"},"es6.math.log1p":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.log10":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.log2":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.sign":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"es6.math.sinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.tanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.trunc":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.number.constructor":{"chrome":"41","opera":"28","edge":"12","firefox":"36","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.number.epsilon":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.is-finite":{"chrome":"19","opera":"15","edge":"12","firefox":"16","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","electron":"0.20"},"es6.number.is-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"16","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.is-nan":{"chrome":"19","opera":"15","edge":"12","firefox":"15","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","electron":"0.20"},"es6.number.is-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"32","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.max-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.min-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.parse-float":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.parse-int":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.object.assign":{"chrome":"49","opera":"36","edge":"13","firefox":"36","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.object.create":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es7.object.define-getter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.define-setter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.define-property":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.object.define-properties":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es7.object.entries":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.freeze":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.get-own-property-descriptor":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es7.object.get-own-property-descriptors":{"chrome":"54","opera":"41","edge":"15","firefox":"50","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.get-own-property-names":{"chrome":"40","opera":"27","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.object.get-prototype-of":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es7.object.lookup-getter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.lookup-setter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.prevent-extensions":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.to-string":{"chrome":"57","opera":"44","edge":"15","firefox":"51","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.object.is":{"chrome":"19","opera":"15","edge":"12","firefox":"22","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","electron":"0.20"},"es6.object.is-frozen":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.is-sealed":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.is-extensible":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.keys":{"chrome":"40","opera":"27","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.object.seal":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.set-prototype-of":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ie":"11","ios":"9","samsung":"2","electron":"0.20"},"es7.object.values":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.promise":{"chrome":"51","opera":"38","edge":"14","firefox":"45","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.promise.finally":{"chrome":"63","opera":"50","edge":"18","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"8","electron":"3.0"},"es6.reflect.apply":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.construct":{"chrome":"49","opera":"36","edge":"13","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.define-property":{"chrome":"49","opera":"36","edge":"13","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.delete-property":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-own-property-descriptor":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.has":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.is-extensible":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.own-keys":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.prevent-extensions":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.regexp.constructor":{"chrome":"50","opera":"37","edge":"79","firefox":"40","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.flags":{"chrome":"49","opera":"36","edge":"79","firefox":"37","safari":"9","node":"6","ios":"9","samsung":"5","electron":"0.37"},"es6.regexp.match":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.replace":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.split":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.search":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.to-string":{"chrome":"50","opera":"37","edge":"79","firefox":"39","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.symbol":{"chrome":"51","opera":"38","edge":"79","firefox":"51","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.symbol.async-iterator":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"es6.string.anchor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.big":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.blink":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.bold":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.code-point-at":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.ends-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.fixed":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontcolor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontsize":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.from-code-point":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.includes":{"chrome":"41","opera":"28","edge":"12","firefox":"40","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.italics":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.iterator":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"es6.string.link":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es7.string.pad-start":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es7.string.pad-end":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.string.raw":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.repeat":{"chrome":"41","opera":"28","edge":"12","firefox":"24","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.small":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.starts-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.strike":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sub":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sup":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.trim":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es7.string.trim-left":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"es7.string.trim-right":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"es6.typed.array-buffer":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.data-view":{"chrome":"5","opera":"12","edge":"12","firefox":"15","safari":"5.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.typed.int8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-clamped-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float64-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.weak-map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"},"es6.weak-set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"}}')},91956:e=>{"use strict";e.exports=JSON.parse('["esnext.global-this","esnext.promise.all-settled","esnext.string.match-all"]')},52138:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios_saf":"10.3","samsung":"8.2","android":"61","electron":"2.0"}}')},10830:e=>{"use strict";e.exports=JSON.parse('{"transform-async-to-generator":["bugfix/transform-async-arrows-in-class"],"transform-parameters":["bugfix/transform-edge-default-parameters"],"transform-function-name":["bugfix/transform-edge-function-name"],"transform-block-scoping":["bugfix/transform-safari-block-shadowing","bugfix/transform-safari-for-shadowing"],"transform-template-literals":["bugfix/transform-tagged-template-caching"]}')},44394:e=>{"use strict";e.exports=JSON.parse('{"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"10.1","node":"7.6","ios":"10.3","samsung":"6","electron":"1.6"},"bugfix/transform-async-arrows-in-class":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-parameters":{"chrome":"49","opera":"36","edge":"15","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"bugfix/transform-edge-default-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"52","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-function-name":{"chrome":"51","opera":"38","edge":"14","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"bugfix/transform-edge-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"bugfix/transform-safari-block-shadowing":{"chrome":"49","opera":"36","edge":"12","firefox":"44","safari":"11","node":"6","ie":"11","ios":"11","samsung":"5","electron":"0.37"},"bugfix/transform-safari-for-shadowing":{"chrome":"49","opera":"36","edge":"12","firefox":"4","safari":"11","node":"6","ie":"11","ios":"11","samsung":"5","electron":"0.37"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"bugfix/transform-tagged-template-caching":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"}}')},61672:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","firefox":"79","safari":"14","node":"15","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"chrome":"80","opera":"67","edge":"80","firefox":"74","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"45","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"36","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},95790:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=95790;e.exports=webpackEmptyAsyncContext},52423:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/core","version":"7.12.10","description":"Babel compiler core.","main":"lib/index.js","author":"Sebastian McKenzie ","homepage":"https://babeljs.io/","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-core"},"keywords":["6to5","babel","classes","const","es6","harmony","let","modules","transpile","transpiler","var","babel-core","compiler"],"engines":{"node":">=6.9.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/babel"},"browser":{"./lib/config/files/index.js":"./lib/config/files/index-browser.js","./lib/transform-file.js":"./lib/transform-file-browser.js","./src/config/files/index.js":"./src/config/files/index-browser.js","./src/transform-file.js":"./src/transform-file-browser.js"},"dependencies":{"@babel/code-frame":"^7.10.4","@babel/generator":"^7.12.10","@babel/helper-module-transforms":"^7.12.1","@babel/helpers":"^7.12.5","@babel/parser":"^7.12.10","@babel/template":"^7.12.7","@babel/traverse":"^7.12.10","@babel/types":"^7.12.10","convert-source-map":"^1.7.0","debug":"^4.1.0","gensync":"^1.0.0-beta.1","json5":"^2.1.2","lodash":"^4.17.19","semver":"^5.4.1","source-map":"^0.5.0"},"devDependencies":{"@babel/helper-transform-fixture-test-runner":"7.12.10"}}')},93710:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/helper-compilation-targets","version":"7.12.5","author":"The Babel Team (https://babeljs.io/team)","license":"MIT","description":"Engine compat data used in @babel/preset-env","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-helper-compilation-targets"},"main":"lib/index.js","exports":{".":"./lib/index.js"},"publishConfig":{"access":"public"},"keywords":["babel","babel-plugin"],"dependencies":{"@babel/compat-data":"^7.12.5","@babel/helper-validator-option":"^7.12.1","browserslist":"^4.14.5","semver":"^5.5.0"},"peerDependencies":{"@babel/core":"^7.0.0"},"devDependencies":{"@babel/core":"7.12.3"}}')},16823:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/helper-create-class-features-plugin","version":"7.12.1","author":"The Babel Team (https://babeljs.io/team)","license":"MIT","description":"Compile class public and private fields, private methods and decorators to ES6","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-helper-create-class-features-plugin"},"main":"lib/index.js","publishConfig":{"access":"public"},"keywords":["babel","babel-plugin"],"dependencies":{"@babel/helper-function-name":"^7.10.4","@babel/helper-member-expression-to-functions":"^7.12.1","@babel/helper-optimise-call-expression":"^7.10.4","@babel/helper-replace-supers":"^7.12.1","@babel/helper-split-export-declaration":"^7.10.4"},"peerDependencies":{"@babel/core":"^7.0.0"},"devDependencies":{"@babel/core":"^7.12.1","@babel/helper-plugin-test-runner":"7.10.4"}}')},36202:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/plugin-proposal-dynamic-import","version":"7.12.1","description":"Transform import() expressions","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-plugin-proposal-dynamic-import"},"license":"MIT","publishConfig":{"access":"public"},"main":"lib/index.js","keywords":["babel-plugin"],"dependencies":{"@babel/helper-plugin-utils":"^7.10.4","@babel/plugin-syntax-dynamic-import":"^7.8.0"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.12.1","@babel/helper-plugin-test-runner":"7.10.4"}}')},89060:e=>{"use strict";e.exports=JSON.parse('{"es.symbol":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.symbol.description":{"android":"70","chrome":"70","edge":"74","electron":"5.0","firefox":"63","ios":"12.2","node":"11.0","opera":"57","opera_mobile":"49","safari":"12.1","samsung":"10.0"},"es.symbol.async-iterator":{"android":"63","chrome":"63","edge":"74","electron":"3.0","firefox":"55","ios":"12.0","node":"10.0","opera":"50","opera_mobile":"46","safari":"12.0","samsung":"8.0"},"es.symbol.has-instance":{"android":"50","chrome":"50","edge":"15","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.is-concat-spreadable":{"android":"48","chrome":"48","edge":"15","electron":"0.37","firefox":"48","ios":"10.0","node":"6.0","opera":"35","opera_mobile":"35","safari":"10.0","samsung":"5.0"},"es.symbol.iterator":{"android":"39","chrome":"39","edge":"13","electron":"0.20","firefox":"36","ios":"9.0","node":"1.0","opera":"26","opera_mobile":"26","safari":"9.0","samsung":"3.4"},"es.symbol.match":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"40","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.match-all":{"android":"73","chrome":"73","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.symbol.replace":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.search":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.species":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"41","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.symbol.split":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.to-primitive":{"android":"47","chrome":"47","edge":"15","electron":"0.36","firefox":"44","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.symbol.to-string-tag":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.symbol.unscopables":{"android":"39","chrome":"39","edge":"13","electron":"0.20","firefox":"48","ios":"9.0","node":"1.0","opera":"26","opera_mobile":"26","safari":"9.0","samsung":"3.4"},"es.aggregate-error":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0"},"es.array.concat":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.copy-within":{"android":"45","chrome":"45","edge":"12","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.every":{"android":"48","chrome":"48","edge":"15","electron":"0.37","firefox":"50","ios":"9.0","node":"6.0","opera":"35","opera_mobile":"35","safari":"9.0","samsung":"5.0"},"es.array.fill":{"android":"45","chrome":"45","edge":"12","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.filter":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.find":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.find-index":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.flat":{"android":"69","chrome":"69","edge":"74","electron":"4.0","firefox":"62","ios":"12.0","node":"11.0","opera":"56","opera_mobile":"48","safari":"12.0","samsung":"10.0"},"es.array.flat-map":{"android":"69","chrome":"69","edge":"74","electron":"4.0","firefox":"62","ios":"12.0","node":"11.0","opera":"56","opera_mobile":"48","safari":"12.0","samsung":"10.0"},"es.array.for-each":{"android":"48","chrome":"48","edge":"15","electron":"0.37","firefox":"50","ios":"9.0","node":"6.0","opera":"35","opera_mobile":"35","safari":"9.0","samsung":"5.0"},"es.array.from":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"9.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"9.0","samsung":"5.0"},"es.array.includes":{"android":"53","chrome":"53","edge":"15","electron":"1.4","firefox":"48","ios":"10.0","node":"7.0","opera":"40","opera_mobile":"40","safari":"10.0","samsung":"6.0"},"es.array.index-of":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"50","ios":"11.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"11.0","samsung":"5.0"},"es.array.is-array":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"4.0","samsung":"1.0"},"es.array.iterator":{"android":"66","chrome":"66","edge":"15","electron":"3.0","firefox":"60","ios":"10.0","node":"10.0","opera":"53","opera_mobile":"47","safari":"10.0","samsung":"9.0"},"es.array.join":{"android":"4.4","chrome":"26","edge":"13","electron":"0.20","firefox":"4","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.array.last-index-of":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"50","ios":"11.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"11.0","samsung":"5.0"},"es.array.map":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"50","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.of":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"25","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.reduce":{"android":"83","chrome":"83","edge":"15","electron":"9.0","firefox":"50","ios":"9.0","node":"6.0","opera":"69","opera_mobile":"59","safari":"9.0","samsung":"13.0"},"es.array.reduce-right":{"android":"83","chrome":"83","edge":"15","electron":"9.0","firefox":"50","ios":"9.0","node":"6.0","opera":"69","opera_mobile":"59","safari":"9.0","samsung":"13.0"},"es.array.reverse":{"android":"3.0","chrome":"1","edge":"12","electron":"0.20","firefox":"1","ie":"5.5","ios":"12.2","node":"0.0.3","opera":"10.50","opera_mobile":"10.50","safari":"12.0.2","samsung":"1.0"},"es.array.slice":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"48","ios":"11.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"11.0","samsung":"5.0"},"es.array.some":{"android":"48","chrome":"48","edge":"15","electron":"0.37","firefox":"50","ios":"9.0","node":"6.0","opera":"35","opera_mobile":"35","safari":"9.0","samsung":"5.0"},"es.array.sort":{"android":"63","chrome":"63","edge":"12","electron":"3.0","firefox":"4","ie":"9","ios":"12.0","node":"10.0","opera":"50","opera_mobile":"46","safari":"12.0","samsung":"8.0"},"es.array.species":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.splice":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"49","ios":"11.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"11.0","samsung":"5.0"},"es.array.unscopables.flat":{"android":"73","chrome":"73","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.array.unscopables.flat-map":{"android":"73","chrome":"73","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.array-buffer.constructor":{"android":"4.4","chrome":"26","edge":"14","electron":"0.20","firefox":"44","ios":"12.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"12.0","samsung":"1.5"},"es.array-buffer.is-view":{"android":"4.4.3","chrome":"32","edge":"12","electron":"0.20","firefox":"29","ie":"11","ios":"8.0","node":"0.11.9","opera":"19","opera_mobile":"19","safari":"7.1","samsung":"2.0"},"es.array-buffer.slice":{"android":"4.4.3","chrome":"31","edge":"12","electron":"0.20","firefox":"46","ie":"11","ios":"12.2","node":"0.11.8","opera":"18","opera_mobile":"18","safari":"12.1","samsung":"2.0"},"es.data-view":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"15","ie":"10","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.date.now":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ie":"9","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"4.0","samsung":"1.0"},"es.date.to-iso-string":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"7","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.date.to-json":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"10.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"10.0","samsung":"1.5"},"es.date.to-primitive":{"android":"47","chrome":"47","edge":"15","electron":"0.36","firefox":"44","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.date.to-string":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ie":"9","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.function.bind":{"android":"3.0","chrome":"7","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.101","opera":"12","opera_mobile":"12","phantom":"2.0","safari":"5.1","samsung":"1.0"},"es.function.has-instance":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"50","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.function.name":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"4.0","samsung":"1.0"},"es.global-this":{"android":"71","chrome":"71","edge":"74","electron":"5.0","firefox":"65","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"es.json.stringify":{"android":"72","chrome":"72","edge":"74","electron":"5.0","firefox":"64","ios":"12.2","node":"12.0","opera":"59","opera_mobile":"51","safari":"12.1","samsung":"11.0"},"es.json.to-string-tag":{"android":"50","chrome":"50","edge":"15","electron":"1.1","firefox":"51","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.map":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.math.acosh":{"android":"54","chrome":"54","edge":"13","electron":"1.4","firefox":"25","ios":"8.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"7.1","samsung":"6.0"},"es.math.asinh":{"android":"38","chrome":"38","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.atanh":{"android":"38","chrome":"38","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.cbrt":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.clz32":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"9.0","samsung":"3.0"},"es.math.cosh":{"android":"39","chrome":"39","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","safari":"7.1","samsung":"3.4"},"es.math.expm1":{"android":"39","chrome":"39","edge":"13","electron":"0.20","firefox":"46","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","safari":"7.1","samsung":"3.4"},"es.math.fround":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"26","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.hypot":{"android":"78","chrome":"78","edge":"12","electron":"7.0","firefox":"27","ios":"8.0","node":"13.0","opera":"65","opera_mobile":"56","safari":"7.1","samsung":"12.0"},"es.math.imul":{"android":"4.4","chrome":"28","edge":"13","electron":"0.20","firefox":"20","ios":"9.0","node":"0.11.1","opera":"16","opera_mobile":"16","safari":"9.0","samsung":"1.5"},"es.math.log10":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.log1p":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.log2":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.sign":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"9.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"9.0","samsung":"3.0"},"es.math.sinh":{"android":"39","chrome":"39","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","safari":"7.1","samsung":"3.4"},"es.math.tanh":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.to-string-tag":{"android":"50","chrome":"50","edge":"15","electron":"1.1","firefox":"51","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.math.trunc":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.number.constructor":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"46","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.number.epsilon":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"25","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.is-finite":{"android":"4.1","chrome":"19","edge":"12","electron":"0.20","firefox":"16","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","safari":"9.0","samsung":"1.5"},"es.number.is-integer":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"16","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.is-nan":{"android":"4.1","chrome":"19","edge":"12","electron":"0.20","firefox":"15","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","safari":"9.0","samsung":"1.5"},"es.number.is-safe-integer":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"32","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.max-safe-integer":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.min-safe-integer":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.parse-float":{"android":"37","chrome":"35","edge":"13","electron":"0.20","firefox":"39","ios":"11.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"11.0","samsung":"3.0"},"es.number.parse-int":{"android":"37","chrome":"35","edge":"13","electron":"0.20","firefox":"39","ios":"9.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"9.0","samsung":"3.0"},"es.number.to-fixed":{"android":"4.4","chrome":"26","edge":"74","electron":"0.20","firefox":"4","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.number.to-precision":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"4","ie":"8","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.object.assign":{"android":"49","chrome":"49","edge":"74","electron":"0.37","firefox":"36","ios":"9.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"9.0","samsung":"5.0"},"es.object.create":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"3.2","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"1.9","safari":"4.0","samsung":"1.0"},"es.object.define-getter":{"android":"62","chrome":"62","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","safari":"7.1","samsung":"8.0"},"es.object.define-properties":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"2.0","safari":"5.1","samsung":"1.0"},"es.object.define-property":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"2.0","safari":"5.1","samsung":"1.0"},"es.object.define-setter":{"android":"62","chrome":"62","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","safari":"7.1","samsung":"8.0"},"es.object.entries":{"android":"54","chrome":"54","edge":"14","electron":"1.4","firefox":"47","ios":"10.3","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.1","samsung":"6.0"},"es.object.freeze":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.from-entries":{"android":"73","chrome":"73","edge":"74","electron":"5.0","firefox":"63","ios":"12.2","node":"12.0","opera":"60","opera_mobile":"52","safari":"12.1","samsung":"11.0"},"es.object.get-own-property-descriptor":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.get-own-property-descriptors":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"50","ios":"10.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.0","samsung":"6.0"},"es.object.get-own-property-names":{"android":"40","chrome":"40","edge":"13","electron":"0.21","firefox":"34","ios":"9.0","node":"1.0","opera":"27","opera_mobile":"27","safari":"9.0","samsung":"3.4"},"es.object.get-prototype-of":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.is":{"android":"4.1","chrome":"19","edge":"12","electron":"0.20","firefox":"22","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","safari":"9.0","samsung":"1.5"},"es.object.is-extensible":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.is-frozen":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.is-sealed":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.keys":{"android":"40","chrome":"40","edge":"13","electron":"0.21","firefox":"35","ios":"9.0","node":"1.0","opera":"27","opera_mobile":"27","safari":"9.0","samsung":"3.4"},"es.object.lookup-getter":{"android":"62","chrome":"62","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","safari":"7.1","samsung":"8.0"},"es.object.lookup-setter":{"android":"62","chrome":"62","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","safari":"7.1","samsung":"8.0"},"es.object.prevent-extensions":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.seal":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.set-prototype-of":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"31","ie":"11","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.object.to-string":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.object.values":{"android":"54","chrome":"54","edge":"14","electron":"1.4","firefox":"47","ios":"10.3","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.1","samsung":"6.0"},"es.parse-float":{"android":"37","chrome":"35","edge":"12","electron":"0.20","firefox":"8","ie":"8","ios":"8.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"7.1","samsung":"3.0"},"es.parse-int":{"android":"37","chrome":"35","edge":"12","electron":"0.20","firefox":"21","ie":"9","ios":"8.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"7.1","samsung":"3.0"},"es.promise":{"android":"67","chrome":"67","edge":"74","electron":"4.0","firefox":"69","ios":"11.0","node":"10.4","opera":"54","opera_mobile":"48","safari":"11.0","samsung":"9.0"},"es.promise.all-settled":{"android":"76","chrome":"76","edge":"76","electron":"6.0","firefox":"71","ios":"13.0","node":"12.9","opera":"63","opera_mobile":"54","safari":"13","samsung":"12.0"},"es.promise.any":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0"},"es.promise.finally":{"android":"67","chrome":"67","edge":"74","electron":"4.0","firefox":"69","ios":"13.2.3","node":"10.4","opera":"54","opera_mobile":"48","safari":"13.0.3","samsung":"9.0"},"es.reflect.apply":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.construct":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"44","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.define-property":{"android":"49","chrome":"49","edge":"13","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.delete-property":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get-own-property-descriptor":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get-prototype-of":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.has":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.is-extensible":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.own-keys":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.prevent-extensions":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.set":{"android":"49","chrome":"49","edge":"74","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.set-prototype-of":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.to-string-tag":{"android":"86","chrome":"86","edge":"86","electron":"11.0","firefox":"82","ios":"14.0","node":"15.0","opera":"72","safari":"14.0"},"es.regexp.constructor":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.regexp.exec":{"android":"4.4","chrome":"26","edge":"13","electron":"0.20","firefox":"44","ios":"10.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"10.0","samsung":"1.5"},"es.regexp.flags":{"android":"49","chrome":"49","edge":"74","electron":"0.37","firefox":"37","ios":"9.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"9.0","samsung":"5.0"},"es.regexp.sticky":{"android":"49","chrome":"49","edge":"13","electron":"0.37","firefox":"3","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.regexp.test":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"46","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.regexp.to-string":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"46","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.set":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.code-point-at":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"29","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.ends-with":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.from-code-point":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"29","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.includes":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.iterator":{"android":"39","chrome":"39","edge":"13","electron":"0.20","firefox":"36","ios":"9.0","node":"1.0","opera":"26","opera_mobile":"26","safari":"9.0","samsung":"3.4"},"es.string.match":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.match-all":{"android":"80","chrome":"80","edge":"80","electron":"8.0","firefox":"73","ios":"13.4","node":"14.0","opera":"67","opera_mobile":"57","safari":"13.1","samsung":"13.0"},"es.string.pad-end":{"android":"57","chrome":"57","edge":"15","electron":"1.7","firefox":"48","ios":"11.0","node":"8.0","opera":"44","opera_mobile":"43","safari":"11.0","samsung":"7.0"},"es.string.pad-start":{"android":"57","chrome":"57","edge":"15","electron":"1.7","firefox":"48","ios":"11.0","node":"8.0","opera":"44","opera_mobile":"43","safari":"11.0","samsung":"7.0"},"es.string.raw":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"34","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.repeat":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"24","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.replace":{"android":"64","chrome":"64","edge":"74","electron":"3.0","firefox":"78","ios":"14.0","node":"10.0","opera":"51","opera_mobile":"47","safari":"14.0","samsung":"9.0"},"es.string.replace-all":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"77","ios":"13.4","node":"15.0","opera":"71","opera_mobile":"60","safari":"13.1"},"es.string.search":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.split":{"android":"54","chrome":"54","edge":"74","electron":"1.4","firefox":"49","ios":"10.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.0","samsung":"6.0"},"es.string.starts-with":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.trim":{"android":"59","chrome":"59","edge":"15","electron":"1.8","firefox":"52","ios":"12.2","node":"8.3","opera":"46","opera_mobile":"43","safari":"12.1","samsung":"7.0"},"es.string.trim-end":{"android":"66","chrome":"66","edge":"74","electron":"3.0","firefox":"61","ios":"12.2","node":"10.0","opera":"53","opera_mobile":"47","safari":"12.1","samsung":"9.0"},"es.string.trim-start":{"android":"66","chrome":"66","edge":"74","electron":"3.0","firefox":"61","ios":"12.0","node":"10.0","opera":"53","opera_mobile":"47","safari":"12.0","samsung":"9.0"},"es.string.anchor":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.big":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.blink":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.bold":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.fixed":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.fontcolor":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.fontsize":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.italics":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.link":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.small":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.strike":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.sub":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.sup":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.typed-array.float32-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","node":"7.0","opera":"41","opera_mobile":"41","samsung":"6.0"},"es.typed-array.float64-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","node":"7.0","opera":"41","opera_mobile":"41","samsung":"6.0"},"es.typed-array.int8-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","node":"7.0","opera":"41","opera_mobile":"41","samsung":"6.0"},"es.typed-array.int16-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","node":"7.0","opera":"41","opera_mobile":"41","samsung":"6.0"},"es.typed-array.int32-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","node":"7.0","opera":"41","opera_mobile":"41","samsung":"6.0"},"es.typed-array.uint8-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","node":"7.0","opera":"41","opera_mobile":"41","samsung":"6.0"},"es.typed-array.uint8-clamped-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","node":"7.0","opera":"41","opera_mobile":"41","samsung":"6.0"},"es.typed-array.uint16-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","node":"7.0","opera":"41","opera_mobile":"41","samsung":"6.0"},"es.typed-array.uint32-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","node":"7.0","opera":"41","opera_mobile":"41","samsung":"6.0"},"es.typed-array.copy-within":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"34","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.every":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.fill":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.filter":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.find":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.find-index":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.for-each":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.from":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","node":"7.0","opera":"41","opera_mobile":"41","samsung":"6.0"},"es.typed-array.includes":{"android":"49","chrome":"49","edge":"14","electron":"0.37","firefox":"43","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.typed-array.index-of":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.iterator":{"android":"47","chrome":"47","edge":"13","electron":"0.36","firefox":"37","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.typed-array.join":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.last-index-of":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.map":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.of":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","node":"7.0","opera":"41","opera_mobile":"41","samsung":"6.0"},"es.typed-array.reduce":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.reduce-right":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.reverse":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.set":{"android":"4.4","chrome":"26","edge":"13","electron":"0.20","firefox":"15","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.typed-array.slice":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.some":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.sort":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"46","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.subarray":{"android":"4.4","chrome":"26","edge":"13","electron":"0.20","firefox":"15","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.typed-array.to-locale-string":{"android":"45","chrome":"45","edge":"74","electron":"0.31","firefox":"51","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.to-string":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"51","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.weak-map":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.weak-set":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"esnext.aggregate-error":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0"},"esnext.array.at":{},"esnext.array.filter-out":{},"esnext.array.is-template-object":{},"esnext.array.last-index":{},"esnext.array.last-item":{},"esnext.array.unique-by":{},"esnext.async-iterator.constructor":{},"esnext.async-iterator.as-indexed-pairs":{},"esnext.async-iterator.drop":{},"esnext.async-iterator.every":{},"esnext.async-iterator.filter":{},"esnext.async-iterator.find":{},"esnext.async-iterator.flat-map":{},"esnext.async-iterator.for-each":{},"esnext.async-iterator.from":{},"esnext.async-iterator.map":{},"esnext.async-iterator.reduce":{},"esnext.async-iterator.some":{},"esnext.async-iterator.take":{},"esnext.async-iterator.to-array":{},"esnext.bigint.range":{},"esnext.composite-key":{},"esnext.composite-symbol":{},"esnext.global-this":{"android":"71","chrome":"71","edge":"74","electron":"5.0","firefox":"65","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"esnext.iterator.constructor":{},"esnext.iterator.as-indexed-pairs":{},"esnext.iterator.drop":{},"esnext.iterator.every":{},"esnext.iterator.filter":{},"esnext.iterator.find":{},"esnext.iterator.flat-map":{},"esnext.iterator.for-each":{},"esnext.iterator.from":{},"esnext.iterator.map":{},"esnext.iterator.reduce":{},"esnext.iterator.some":{},"esnext.iterator.take":{},"esnext.iterator.to-array":{},"esnext.map.delete-all":{},"esnext.map.emplace":{},"esnext.map.every":{},"esnext.map.filter":{},"esnext.map.find":{},"esnext.map.find-key":{},"esnext.map.from":{},"esnext.map.group-by":{},"esnext.map.includes":{},"esnext.map.key-by":{},"esnext.map.key-of":{},"esnext.map.map-keys":{},"esnext.map.map-values":{},"esnext.map.merge":{},"esnext.map.of":{},"esnext.map.reduce":{},"esnext.map.some":{},"esnext.map.update":{},"esnext.map.update-or-insert":{},"esnext.map.upsert":{},"esnext.math.clamp":{},"esnext.math.deg-per-rad":{},"esnext.math.degrees":{},"esnext.math.fscale":{},"esnext.math.iaddh":{},"esnext.math.imulh":{},"esnext.math.isubh":{},"esnext.math.rad-per-deg":{},"esnext.math.radians":{},"esnext.math.scale":{},"esnext.math.seeded-prng":{},"esnext.math.signbit":{},"esnext.math.umulh":{},"esnext.number.from-string":{},"esnext.number.range":{},"esnext.object.iterate-entries":{},"esnext.object.iterate-keys":{},"esnext.object.iterate-values":{},"esnext.observable":{},"esnext.promise.all-settled":{"android":"76","chrome":"76","edge":"76","electron":"6.0","firefox":"71","ios":"13.0","node":"12.9","opera":"63","opera_mobile":"54","safari":"13","samsung":"12.0"},"esnext.promise.any":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0"},"esnext.promise.try":{},"esnext.reflect.define-metadata":{},"esnext.reflect.delete-metadata":{},"esnext.reflect.get-metadata":{},"esnext.reflect.get-metadata-keys":{},"esnext.reflect.get-own-metadata":{},"esnext.reflect.get-own-metadata-keys":{},"esnext.reflect.has-metadata":{},"esnext.reflect.has-own-metadata":{},"esnext.reflect.metadata":{},"esnext.set.add-all":{},"esnext.set.delete-all":{},"esnext.set.difference":{},"esnext.set.every":{},"esnext.set.filter":{},"esnext.set.find":{},"esnext.set.from":{},"esnext.set.intersection":{},"esnext.set.is-disjoint-from":{},"esnext.set.is-subset-of":{},"esnext.set.is-superset-of":{},"esnext.set.join":{},"esnext.set.map":{},"esnext.set.of":{},"esnext.set.reduce":{},"esnext.set.some":{},"esnext.set.symmetric-difference":{},"esnext.set.union":{},"esnext.string.at":{},"esnext.string.code-points":{},"esnext.string.match-all":{"android":"80","chrome":"80","edge":"80","electron":"8.0","firefox":"73","ios":"13.4","node":"14.0","opera":"67","opera_mobile":"57","safari":"13.1","samsung":"13.0"},"esnext.string.replace-all":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"77","ios":"13.4","node":"15.0","opera":"71","opera_mobile":"60","safari":"13.1"},"esnext.symbol.async-dispose":{},"esnext.symbol.dispose":{},"esnext.symbol.observable":{},"esnext.symbol.pattern-match":{},"esnext.symbol.replace-all":{},"esnext.typed-array.at":{},"esnext.typed-array.filter-out":{},"esnext.weak-map.delete-all":{},"esnext.weak-map.from":{},"esnext.weak-map.of":{},"esnext.weak-map.emplace":{},"esnext.weak-map.upsert":{},"esnext.weak-set.add-all":{},"esnext.weak-set.delete-all":{},"esnext.weak-set.from":{},"esnext.weak-set.of":{},"web.dom-collections.for-each":{"android":"58","chrome":"58","edge":"16","electron":"1.7","firefox":"50","ios":"10.0","node":"0.0.1","opera":"45","opera_mobile":"43","safari":"10.0","samsung":"7.0"},"web.dom-collections.iterator":{"android":"66","chrome":"66","edge":"74","electron":"3.0","firefox":"60","ios":"13.4","node":"0.0.1","opera":"53","opera_mobile":"47","safari":"13.1","samsung":"9.0"},"web.immediate":{"ie":"10","node":"0.9.1"},"web.queue-microtask":{"android":"71","chrome":"71","edge":"74","electron":"5.0","firefox":"69","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"web.timers":{"android":"1.5","chrome":"1","edge":"12","electron":"0.20","firefox":"1","ie":"10","ios":"1.0","node":"0.0.1","opera":"7","opera_mobile":"7","phantom":"1.9","safari":"1.0","samsung":"1.0"},"web.url":{"android":"67","chrome":"67","edge":"74","electron":"4.0","firefox":"57","node":"10.0","opera":"54","opera_mobile":"48","samsung":"9.0"},"web.url.to-json":{"android":"71","chrome":"71","edge":"74","electron":"5.0","firefox":"57","node":"10.0","opera":"58","opera_mobile":"50","samsung":"10.0"},"web.url-search-params":{"android":"67","chrome":"67","edge":"74","electron":"4.0","firefox":"57","node":"10.0","opera":"54","opera_mobile":"48","samsung":"9.0"}}')},86973:e=>{"use strict";e.exports=JSON.parse('{"core-js":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/es":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set"],"core-js/es/aggregate-error":["es.aggregate-error","es.string.iterator","web.dom-collections.iterator"],"core-js/es/array":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.string.iterator"],"core-js/es/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/es/array-buffer/constructor":["es.array-buffer.constructor","es.object.to-string"],"core-js/es/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/es/array-buffer/slice":["es.array-buffer.slice"],"core-js/es/array/concat":["es.array.concat"],"core-js/es/array/copy-within":["es.array.copy-within"],"core-js/es/array/entries":["es.array.iterator"],"core-js/es/array/every":["es.array.every"],"core-js/es/array/fill":["es.array.fill"],"core-js/es/array/filter":["es.array.filter"],"core-js/es/array/find":["es.array.find"],"core-js/es/array/find-index":["es.array.find-index"],"core-js/es/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/array/for-each":["es.array.for-each"],"core-js/es/array/from":["es.array.from","es.string.iterator"],"core-js/es/array/includes":["es.array.includes"],"core-js/es/array/index-of":["es.array.index-of"],"core-js/es/array/is-array":["es.array.is-array"],"core-js/es/array/iterator":["es.array.iterator"],"core-js/es/array/join":["es.array.join"],"core-js/es/array/keys":["es.array.iterator"],"core-js/es/array/last-index-of":["es.array.last-index-of"],"core-js/es/array/map":["es.array.map"],"core-js/es/array/of":["es.array.of"],"core-js/es/array/reduce":["es.array.reduce"],"core-js/es/array/reduce-right":["es.array.reduce-right"],"core-js/es/array/reverse":["es.array.reverse"],"core-js/es/array/slice":["es.array.slice"],"core-js/es/array/some":["es.array.some"],"core-js/es/array/sort":["es.array.sort"],"core-js/es/array/splice":["es.array.splice"],"core-js/es/array/values":["es.array.iterator"],"core-js/es/array/virtual":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map"],"core-js/es/array/virtual/concat":["es.array.concat"],"core-js/es/array/virtual/copy-within":["es.array.copy-within"],"core-js/es/array/virtual/entries":["es.array.iterator"],"core-js/es/array/virtual/every":["es.array.every"],"core-js/es/array/virtual/fill":["es.array.fill"],"core-js/es/array/virtual/filter":["es.array.filter"],"core-js/es/array/virtual/filter-out":["esnext.array.filter-out"],"core-js/es/array/virtual/find":["es.array.find"],"core-js/es/array/virtual/find-index":["es.array.find-index"],"core-js/es/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/array/virtual/for-each":["es.array.for-each"],"core-js/es/array/virtual/includes":["es.array.includes"],"core-js/es/array/virtual/index-of":["es.array.index-of"],"core-js/es/array/virtual/iterator":["es.array.iterator"],"core-js/es/array/virtual/join":["es.array.join"],"core-js/es/array/virtual/keys":["es.array.iterator"],"core-js/es/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/es/array/virtual/map":["es.array.map"],"core-js/es/array/virtual/reduce":["es.array.reduce"],"core-js/es/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/es/array/virtual/reverse":["es.array.reverse"],"core-js/es/array/virtual/slice":["es.array.slice"],"core-js/es/array/virtual/some":["es.array.some"],"core-js/es/array/virtual/sort":["es.array.sort"],"core-js/es/array/virtual/splice":["es.array.splice"],"core-js/es/array/virtual/values":["es.array.iterator"],"core-js/es/data-view":["es.data-view","es.object.to-string"],"core-js/es/date":["es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/es/date/now":["es.date.now"],"core-js/es/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/es/date/to-json":["es.date.to-json"],"core-js/es/date/to-primitive":["es.date.to-primitive"],"core-js/es/date/to-string":["es.date.to-string"],"core-js/es/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/es/function/bind":["es.function.bind"],"core-js/es/function/has-instance":["es.function.has-instance"],"core-js/es/function/name":["es.function.name"],"core-js/es/function/virtual":["es.function.bind"],"core-js/es/function/virtual/bind":["es.function.bind"],"core-js/es/global-this":["es.global-this"],"core-js/es/instance/bind":["es.function.bind"],"core-js/es/instance/code-point-at":["es.string.code-point-at"],"core-js/es/instance/concat":["es.array.concat"],"core-js/es/instance/copy-within":["es.array.copy-within"],"core-js/es/instance/ends-with":["es.string.ends-with"],"core-js/es/instance/entries":["es.array.iterator"],"core-js/es/instance/every":["es.array.every"],"core-js/es/instance/fill":["es.array.fill"],"core-js/es/instance/filter":["es.array.filter"],"core-js/es/instance/find":["es.array.find"],"core-js/es/instance/find-index":["es.array.find-index"],"core-js/es/instance/flags":["es.regexp.flags"],"core-js/es/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/instance/for-each":["es.array.for-each"],"core-js/es/instance/includes":["es.array.includes","es.string.includes"],"core-js/es/instance/index-of":["es.array.index-of"],"core-js/es/instance/keys":["es.array.iterator"],"core-js/es/instance/last-index-of":["es.array.last-index-of"],"core-js/es/instance/map":["es.array.map"],"core-js/es/instance/match-all":["es.string.match-all"],"core-js/es/instance/pad-end":["es.string.pad-end"],"core-js/es/instance/pad-start":["es.string.pad-start"],"core-js/es/instance/reduce":["es.array.reduce"],"core-js/es/instance/reduce-right":["es.array.reduce-right"],"core-js/es/instance/repeat":["es.string.repeat"],"core-js/es/instance/replace-all":["es.string.replace-all"],"core-js/es/instance/reverse":["es.array.reverse"],"core-js/es/instance/slice":["es.array.slice"],"core-js/es/instance/some":["es.array.some"],"core-js/es/instance/sort":["es.array.sort"],"core-js/es/instance/splice":["es.array.splice"],"core-js/es/instance/starts-with":["es.string.starts-with"],"core-js/es/instance/trim":["es.string.trim"],"core-js/es/instance/trim-end":["es.string.trim-end"],"core-js/es/instance/trim-left":["es.string.trim-start"],"core-js/es/instance/trim-right":["es.string.trim-end"],"core-js/es/instance/trim-start":["es.string.trim-start"],"core-js/es/instance/values":["es.array.iterator"],"core-js/es/json":["es.json.stringify","es.json.to-string-tag"],"core-js/es/json/stringify":["es.json.stringify"],"core-js/es/json/to-string-tag":["es.json.to-string-tag"],"core-js/es/map":["es.map","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/es/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc"],"core-js/es/math/acosh":["es.math.acosh"],"core-js/es/math/asinh":["es.math.asinh"],"core-js/es/math/atanh":["es.math.atanh"],"core-js/es/math/cbrt":["es.math.cbrt"],"core-js/es/math/clz32":["es.math.clz32"],"core-js/es/math/cosh":["es.math.cosh"],"core-js/es/math/expm1":["es.math.expm1"],"core-js/es/math/fround":["es.math.fround"],"core-js/es/math/hypot":["es.math.hypot"],"core-js/es/math/imul":["es.math.imul"],"core-js/es/math/log10":["es.math.log10"],"core-js/es/math/log1p":["es.math.log1p"],"core-js/es/math/log2":["es.math.log2"],"core-js/es/math/sign":["es.math.sign"],"core-js/es/math/sinh":["es.math.sinh"],"core-js/es/math/tanh":["es.math.tanh"],"core-js/es/math/to-string-tag":["es.math.to-string-tag"],"core-js/es/math/trunc":["es.math.trunc"],"core-js/es/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision"],"core-js/es/number/constructor":["es.number.constructor"],"core-js/es/number/epsilon":["es.number.epsilon"],"core-js/es/number/is-finite":["es.number.is-finite"],"core-js/es/number/is-integer":["es.number.is-integer"],"core-js/es/number/is-nan":["es.number.is-nan"],"core-js/es/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/es/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/es/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/es/number/parse-float":["es.number.parse-float"],"core-js/es/number/parse-int":["es.number.parse-int"],"core-js/es/number/to-fixed":["es.number.to-fixed"],"core-js/es/number/to-precision":["es.number.to-precision"],"core-js/es/number/virtual":["es.number.to-fixed","es.number.to-precision"],"core-js/es/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/es/number/virtual/to-precision":["es.number.to-precision"],"core-js/es/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag"],"core-js/es/object/assign":["es.object.assign"],"core-js/es/object/create":["es.object.create"],"core-js/es/object/define-getter":["es.object.define-getter"],"core-js/es/object/define-properties":["es.object.define-properties"],"core-js/es/object/define-property":["es.object.define-property"],"core-js/es/object/define-setter":["es.object.define-setter"],"core-js/es/object/entries":["es.object.entries"],"core-js/es/object/freeze":["es.object.freeze"],"core-js/es/object/from-entries":["es.array.iterator","es.object.from-entries"],"core-js/es/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/es/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/es/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/es/object/get-own-property-symbols":["es.symbol"],"core-js/es/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/es/object/is":["es.object.is"],"core-js/es/object/is-extensible":["es.object.is-extensible"],"core-js/es/object/is-frozen":["es.object.is-frozen"],"core-js/es/object/is-sealed":["es.object.is-sealed"],"core-js/es/object/keys":["es.object.keys"],"core-js/es/object/lookup-getter":["es.object.lookup-setter"],"core-js/es/object/lookup-setter":["es.object.lookup-setter"],"core-js/es/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/es/object/seal":["es.object.seal"],"core-js/es/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/es/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/object/values":["es.object.values"],"core-js/es/parse-float":["es.parse-float"],"core-js/es/parse-int":["es.parse-int"],"core-js/es/promise":["es.aggregate-error","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","web.dom-collections.iterator"],"core-js/es/promise/all-settled":["es.promise","es.promise.all-settled"],"core-js/es/promise/any":["es.aggregate-error","es.promise","es.promise.any"],"core-js/es/promise/finally":["es.promise","es.promise.finally"],"core-js/es/reflect":["es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag"],"core-js/es/reflect/apply":["es.reflect.apply"],"core-js/es/reflect/construct":["es.reflect.construct"],"core-js/es/reflect/define-property":["es.reflect.define-property"],"core-js/es/reflect/delete-property":["es.reflect.delete-property"],"core-js/es/reflect/get":["es.reflect.get"],"core-js/es/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/es/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/es/reflect/has":["es.reflect.has"],"core-js/es/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/es/reflect/own-keys":["es.reflect.own-keys"],"core-js/es/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/es/reflect/set":["es.reflect.set"],"core-js/es/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/es/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/es/regexp":["es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/es/regexp/constructor":["es.regexp.constructor"],"core-js/es/regexp/flags":["es.regexp.flags"],"core-js/es/regexp/match":["es.string.match"],"core-js/es/regexp/replace":["es.string.replace"],"core-js/es/regexp/search":["es.string.search"],"core-js/es/regexp/split":["es.string.split"],"core-js/es/regexp/sticky":["es.regexp.sticky"],"core-js/es/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/es/regexp/to-string":["es.regexp.to-string"],"core-js/es/set":["es.object.to-string","es.set","es.string.iterator","web.dom-collections.iterator"],"core-js/es/string":["es.regexp.exec","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/es/string/anchor":["es.string.anchor"],"core-js/es/string/big":["es.string.big"],"core-js/es/string/blink":["es.string.blink"],"core-js/es/string/bold":["es.string.bold"],"core-js/es/string/code-point-at":["es.string.code-point-at"],"core-js/es/string/ends-with":["es.string.ends-with"],"core-js/es/string/fixed":["es.string.fixed"],"core-js/es/string/fontcolor":["es.string.fontcolor"],"core-js/es/string/fontsize":["es.string.fontsize"],"core-js/es/string/from-code-point":["es.string.from-code-point"],"core-js/es/string/includes":["es.string.includes"],"core-js/es/string/italics":["es.string.italics"],"core-js/es/string/iterator":["es.string.iterator"],"core-js/es/string/link":["es.string.link"],"core-js/es/string/match":["es.regexp.exec","es.string.match"],"core-js/es/string/match-all":["es.string.match-all"],"core-js/es/string/pad-end":["es.string.pad-end"],"core-js/es/string/pad-start":["es.string.pad-start"],"core-js/es/string/raw":["es.string.raw"],"core-js/es/string/repeat":["es.string.repeat"],"core-js/es/string/replace":["es.regexp.exec","es.string.replace"],"core-js/es/string/replace-all":["es.string.replace-all"],"core-js/es/string/search":["es.regexp.exec","es.string.search"],"core-js/es/string/small":["es.string.small"],"core-js/es/string/split":["es.regexp.exec","es.string.split"],"core-js/es/string/starts-with":["es.string.starts-with"],"core-js/es/string/strike":["es.string.strike"],"core-js/es/string/sub":["es.string.sub"],"core-js/es/string/sup":["es.string.sup"],"core-js/es/string/trim":["es.string.trim"],"core-js/es/string/trim-end":["es.string.trim-end"],"core-js/es/string/trim-left":["es.string.trim-start"],"core-js/es/string/trim-right":["es.string.trim-end"],"core-js/es/string/trim-start":["es.string.trim-start"],"core-js/es/string/virtual":["es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/es/string/virtual/anchor":["es.string.anchor"],"core-js/es/string/virtual/big":["es.string.big"],"core-js/es/string/virtual/blink":["es.string.blink"],"core-js/es/string/virtual/bold":["es.string.bold"],"core-js/es/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/es/string/virtual/ends-with":["es.string.ends-with"],"core-js/es/string/virtual/fixed":["es.string.fixed"],"core-js/es/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/es/string/virtual/fontsize":["es.string.fontsize"],"core-js/es/string/virtual/includes":["es.string.includes"],"core-js/es/string/virtual/italics":["es.string.italics"],"core-js/es/string/virtual/iterator":["es.string.iterator"],"core-js/es/string/virtual/link":["es.string.link"],"core-js/es/string/virtual/match-all":["es.string.match-all"],"core-js/es/string/virtual/pad-end":["es.string.pad-end"],"core-js/es/string/virtual/pad-start":["es.string.pad-start"],"core-js/es/string/virtual/repeat":["es.string.repeat"],"core-js/es/string/virtual/replace-all":["es.string.replace-all"],"core-js/es/string/virtual/small":["es.string.small"],"core-js/es/string/virtual/starts-with":["es.string.starts-with"],"core-js/es/string/virtual/strike":["es.string.strike"],"core-js/es/string/virtual/sub":["es.string.sub"],"core-js/es/string/virtual/sup":["es.string.sup"],"core-js/es/string/virtual/trim":["es.string.trim"],"core-js/es/string/virtual/trim-end":["es.string.trim-end"],"core-js/es/string/virtual/trim-left":["es.string.trim-start"],"core-js/es/string/virtual/trim-right":["es.string.trim-end"],"core-js/es/string/virtual/trim-start":["es.string.trim-start"],"core-js/es/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/es/symbol/description":["es.symbol.description"],"core-js/es/symbol/for":["es.symbol"],"core-js/es/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/es/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/es/symbol/iterator":["es.symbol.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/es/symbol/key-for":["es.symbol"],"core-js/es/symbol/match":["es.symbol.match","es.string.match"],"core-js/es/symbol/match-all":["es.symbol.match-all","es.string.match-all"],"core-js/es/symbol/replace":["es.symbol.replace","es.string.replace"],"core-js/es/symbol/search":["es.symbol.search","es.string.search"],"core-js/es/symbol/species":["es.symbol.species"],"core-js/es/symbol/split":["es.symbol.split","es.string.split"],"core-js/es/symbol/to-primitive":["es.symbol.to-primitive"],"core-js/es/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/symbol/unscopables":["es.symbol.unscopables"],"core-js/es/typed-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/es/typed-array/entries":["es.typed-array.iterator"],"core-js/es/typed-array/every":["es.typed-array.every"],"core-js/es/typed-array/fill":["es.typed-array.fill"],"core-js/es/typed-array/filter":["es.typed-array.filter"],"core-js/es/typed-array/find":["es.typed-array.find"],"core-js/es/typed-array/find-index":["es.typed-array.find-index"],"core-js/es/typed-array/float32-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/float64-array":["es.object.to-string","es.typed-array.float64-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/for-each":["es.typed-array.for-each"],"core-js/es/typed-array/from":["es.typed-array.from"],"core-js/es/typed-array/includes":["es.typed-array.includes"],"core-js/es/typed-array/index-of":["es.typed-array.index-of"],"core-js/es/typed-array/int16-array":["es.object.to-string","es.typed-array.int16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/int32-array":["es.object.to-string","es.typed-array.int32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/int8-array":["es.object.to-string","es.typed-array.int8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/iterator":["es.typed-array.iterator"],"core-js/es/typed-array/join":["es.typed-array.join"],"core-js/es/typed-array/keys":["es.typed-array.iterator"],"core-js/es/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/es/typed-array/map":["es.typed-array.map"],"core-js/es/typed-array/methods":["es.object.to-string","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/of":["es.typed-array.of"],"core-js/es/typed-array/reduce":["es.typed-array.reduce"],"core-js/es/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/es/typed-array/reverse":["es.typed-array.reverse"],"core-js/es/typed-array/set":["es.typed-array.set"],"core-js/es/typed-array/slice":["es.typed-array.slice"],"core-js/es/typed-array/some":["es.typed-array.some"],"core-js/es/typed-array/sort":["es.typed-array.sort"],"core-js/es/typed-array/subarray":["es.typed-array.subarray"],"core-js/es/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/es/typed-array/to-string":["es.typed-array.to-string"],"core-js/es/typed-array/uint16-array":["es.object.to-string","es.typed-array.uint16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/uint32-array":["es.object.to-string","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/uint8-array":["es.object.to-string","es.typed-array.uint8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/uint8-clamped-array":["es.object.to-string","es.typed-array.uint8-clamped-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/values":["es.typed-array.iterator"],"core-js/es/weak-map":["es.object.to-string","es.weak-map","web.dom-collections.iterator"],"core-js/es/weak-set":["es.object.to-string","es.weak-set","web.dom-collections.iterator"],"core-js/features":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/features/aggregate-error":["es.aggregate-error","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/features/array":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.map","es.string.iterator","esnext.array.at","esnext.array.filter-out","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by"],"core-js/features/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/features/array-buffer/constructor":["es.array-buffer.constructor","es.object.to-string"],"core-js/features/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/features/array-buffer/slice":["es.array-buffer.slice"],"core-js/features/array/at":["esnext.array.at"],"core-js/features/array/concat":["es.array.concat"],"core-js/features/array/copy-within":["es.array.copy-within"],"core-js/features/array/entries":["es.array.iterator"],"core-js/features/array/every":["es.array.every"],"core-js/features/array/fill":["es.array.fill"],"core-js/features/array/filter":["es.array.filter"],"core-js/features/array/filter-out":["esnext.array.filter-out"],"core-js/features/array/find":["es.array.find"],"core-js/features/array/find-index":["es.array.find-index"],"core-js/features/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/array/for-each":["es.array.for-each"],"core-js/features/array/from":["es.array.from","es.string.iterator"],"core-js/features/array/includes":["es.array.includes"],"core-js/features/array/index-of":["es.array.index-of"],"core-js/features/array/is-array":["es.array.is-array"],"core-js/features/array/is-template-object":["esnext.array.is-template-object"],"core-js/features/array/iterator":["es.array.iterator"],"core-js/features/array/join":["es.array.join"],"core-js/features/array/keys":["es.array.iterator"],"core-js/features/array/last-index":["esnext.array.last-index"],"core-js/features/array/last-index-of":["es.array.last-index-of"],"core-js/features/array/last-item":["esnext.array.last-item"],"core-js/features/array/map":["es.array.map"],"core-js/features/array/of":["es.array.of"],"core-js/features/array/reduce":["es.array.reduce"],"core-js/features/array/reduce-right":["es.array.reduce-right"],"core-js/features/array/reverse":["es.array.reverse"],"core-js/features/array/slice":["es.array.slice"],"core-js/features/array/some":["es.array.some"],"core-js/features/array/sort":["es.array.sort"],"core-js/features/array/splice":["es.array.splice"],"core-js/features/array/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/array/values":["es.array.iterator"],"core-js/features/array/virtual":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","esnext.array.at","esnext.array.filter-out","esnext.array.unique-by"],"core-js/features/array/virtual/at":["esnext.array.at"],"core-js/features/array/virtual/concat":["es.array.concat"],"core-js/features/array/virtual/copy-within":["es.array.copy-within"],"core-js/features/array/virtual/entries":["es.array.iterator"],"core-js/features/array/virtual/every":["es.array.every"],"core-js/features/array/virtual/fill":["es.array.fill"],"core-js/features/array/virtual/filter":["es.array.filter"],"core-js/features/array/virtual/filter-out":["esnext.array.filter-out"],"core-js/features/array/virtual/find":["es.array.find"],"core-js/features/array/virtual/find-index":["es.array.find-index"],"core-js/features/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/array/virtual/for-each":["es.array.for-each"],"core-js/features/array/virtual/includes":["es.array.includes"],"core-js/features/array/virtual/index-of":["es.array.index-of"],"core-js/features/array/virtual/iterator":["es.array.iterator"],"core-js/features/array/virtual/join":["es.array.join"],"core-js/features/array/virtual/keys":["es.array.iterator"],"core-js/features/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/features/array/virtual/map":["es.array.map"],"core-js/features/array/virtual/reduce":["es.array.reduce"],"core-js/features/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/features/array/virtual/reverse":["es.array.reverse"],"core-js/features/array/virtual/slice":["es.array.slice"],"core-js/features/array/virtual/some":["es.array.some"],"core-js/features/array/virtual/sort":["es.array.sort"],"core-js/features/array/virtual/splice":["es.array.splice"],"core-js/features/array/virtual/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/array/virtual/values":["es.array.iterator"],"core-js/features/async-iterator":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/features/async-iterator/as-indexed-pairs":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","web.dom-collections.iterator"],"core-js/features/async-iterator/drop":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.drop","web.dom-collections.iterator"],"core-js/features/async-iterator/every":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.every","web.dom-collections.iterator"],"core-js/features/async-iterator/filter":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.filter","web.dom-collections.iterator"],"core-js/features/async-iterator/find":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.find","web.dom-collections.iterator"],"core-js/features/async-iterator/flat-map":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.flat-map","web.dom-collections.iterator"],"core-js/features/async-iterator/for-each":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.for-each","web.dom-collections.iterator"],"core-js/features/async-iterator/from":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.from","web.dom-collections.iterator"],"core-js/features/async-iterator/map":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.map","web.dom-collections.iterator"],"core-js/features/async-iterator/reduce":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.reduce","web.dom-collections.iterator"],"core-js/features/async-iterator/some":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.some","web.dom-collections.iterator"],"core-js/features/async-iterator/take":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.take","web.dom-collections.iterator"],"core-js/features/async-iterator/to-array":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/features/bigint":["esnext.bigint.range"],"core-js/features/bigint/range":["esnext.bigint.range"],"core-js/features/clear-immediate":["web.immediate"],"core-js/features/composite-key":["esnext.composite-key"],"core-js/features/composite-symbol":["es.symbol","esnext.composite-symbol"],"core-js/features/data-view":["es.data-view","es.object.to-string"],"core-js/features/date":["es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/features/date/now":["es.date.now"],"core-js/features/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/features/date/to-json":["es.date.to-json"],"core-js/features/date/to-primitive":["es.date.to-primitive"],"core-js/features/date/to-string":["es.date.to-string"],"core-js/features/dom-collections":["es.array.iterator","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/features/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/features/dom-collections/iterator":["web.dom-collections.iterator"],"core-js/features/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/features/function/bind":["es.function.bind"],"core-js/features/function/has-instance":["es.function.has-instance"],"core-js/features/function/name":["es.function.name"],"core-js/features/function/virtual":["es.function.bind"],"core-js/features/function/virtual/bind":["es.function.bind"],"core-js/features/get-iterator":["es.string.iterator","web.dom-collections.iterator"],"core-js/features/get-iterator-method":["es.string.iterator","web.dom-collections.iterator"],"core-js/features/global-this":["es.global-this","esnext.global-this"],"core-js/features/instance/at":["esnext.array.at","esnext.string.at"],"core-js/features/instance/bind":["es.function.bind"],"core-js/features/instance/code-point-at":["es.string.code-point-at"],"core-js/features/instance/code-points":["esnext.string.code-points"],"core-js/features/instance/concat":["es.array.concat"],"core-js/features/instance/copy-within":["es.array.copy-within"],"core-js/features/instance/ends-with":["es.string.ends-with"],"core-js/features/instance/entries":["es.array.iterator","web.dom-collections.iterator"],"core-js/features/instance/every":["es.array.every"],"core-js/features/instance/fill":["es.array.fill"],"core-js/features/instance/filter":["es.array.filter"],"core-js/features/instance/filter-out":["esnext.array.filter-out"],"core-js/features/instance/find":["es.array.find"],"core-js/features/instance/find-index":["es.array.find-index"],"core-js/features/instance/flags":["es.regexp.flags"],"core-js/features/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/features/instance/includes":["es.array.includes","es.string.includes"],"core-js/features/instance/index-of":["es.array.index-of"],"core-js/features/instance/keys":["es.array.iterator","web.dom-collections.iterator"],"core-js/features/instance/last-index-of":["es.array.last-index-of"],"core-js/features/instance/map":["es.array.map"],"core-js/features/instance/match-all":["es.string.match-all","esnext.string.match-all"],"core-js/features/instance/pad-end":["es.string.pad-end"],"core-js/features/instance/pad-start":["es.string.pad-start"],"core-js/features/instance/reduce":["es.array.reduce"],"core-js/features/instance/reduce-right":["es.array.reduce-right"],"core-js/features/instance/repeat":["es.string.repeat"],"core-js/features/instance/replace-all":["es.string.replace-all"],"core-js/features/instance/reverse":["es.array.reverse"],"core-js/features/instance/slice":["es.array.slice"],"core-js/features/instance/some":["es.array.some"],"core-js/features/instance/sort":["es.array.sort"],"core-js/features/instance/splice":["es.array.splice"],"core-js/features/instance/starts-with":["es.string.starts-with"],"core-js/features/instance/trim":["es.string.trim"],"core-js/features/instance/trim-end":["es.string.trim-end"],"core-js/features/instance/trim-left":["es.string.trim-start"],"core-js/features/instance/trim-right":["es.string.trim-end"],"core-js/features/instance/trim-start":["es.string.trim-start"],"core-js/features/instance/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/instance/values":["es.array.iterator","web.dom-collections.iterator"],"core-js/features/is-iterable":["es.string.iterator","web.dom-collections.iterator"],"core-js/features/iterator":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","web.dom-collections.iterator"],"core-js/features/iterator/as-indexed-pairs":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","web.dom-collections.iterator"],"core-js/features/iterator/drop":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.drop","web.dom-collections.iterator"],"core-js/features/iterator/every":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.every","web.dom-collections.iterator"],"core-js/features/iterator/filter":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.filter","web.dom-collections.iterator"],"core-js/features/iterator/find":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.find","web.dom-collections.iterator"],"core-js/features/iterator/flat-map":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.flat-map","web.dom-collections.iterator"],"core-js/features/iterator/for-each":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.for-each","web.dom-collections.iterator"],"core-js/features/iterator/from":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.from","web.dom-collections.iterator"],"core-js/features/iterator/map":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.map","web.dom-collections.iterator"],"core-js/features/iterator/reduce":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.reduce","web.dom-collections.iterator"],"core-js/features/iterator/some":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.some","web.dom-collections.iterator"],"core-js/features/iterator/take":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.take","web.dom-collections.iterator"],"core-js/features/iterator/to-array":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.to-array","web.dom-collections.iterator"],"core-js/features/json":["es.json.stringify","es.json.to-string-tag"],"core-js/features/json/stringify":["es.json.stringify"],"core-js/features/json/to-string-tag":["es.json.to-string-tag"],"core-js/features/map":["es.map","es.object.to-string","es.string.iterator","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","web.dom-collections.iterator"],"core-js/features/map/delete-all":["es.map","esnext.map.delete-all"],"core-js/features/map/emplace":["es.map","esnext.map.emplace"],"core-js/features/map/every":["es.map","esnext.map.every"],"core-js/features/map/filter":["es.map","esnext.map.filter"],"core-js/features/map/find":["es.map","esnext.map.find"],"core-js/features/map/find-key":["es.map","esnext.map.find-key"],"core-js/features/map/from":["es.map","es.string.iterator","esnext.map.from","web.dom-collections.iterator"],"core-js/features/map/group-by":["es.map","esnext.map.group-by"],"core-js/features/map/includes":["es.map","esnext.map.includes"],"core-js/features/map/key-by":["es.map","esnext.map.key-by"],"core-js/features/map/key-of":["es.map","esnext.map.key-of"],"core-js/features/map/map-keys":["es.map","esnext.map.map-keys"],"core-js/features/map/map-values":["es.map","esnext.map.map-values"],"core-js/features/map/merge":["es.map","esnext.map.merge"],"core-js/features/map/of":["es.map","es.string.iterator","esnext.map.of","web.dom-collections.iterator"],"core-js/features/map/reduce":["es.map","esnext.map.reduce"],"core-js/features/map/some":["es.map","esnext.map.some"],"core-js/features/map/update":["es.map","esnext.map.update"],"core-js/features/map/update-or-insert":["es.map","esnext.map.update-or-insert"],"core-js/features/map/upsert":["es.map","esnext.map.upsert"],"core-js/features/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh"],"core-js/features/math/acosh":["es.math.acosh"],"core-js/features/math/asinh":["es.math.asinh"],"core-js/features/math/atanh":["es.math.atanh"],"core-js/features/math/cbrt":["es.math.cbrt"],"core-js/features/math/clamp":["esnext.math.clamp"],"core-js/features/math/clz32":["es.math.clz32"],"core-js/features/math/cosh":["es.math.cosh"],"core-js/features/math/deg-per-rad":["esnext.math.deg-per-rad"],"core-js/features/math/degrees":["esnext.math.degrees"],"core-js/features/math/expm1":["es.math.expm1"],"core-js/features/math/fround":["es.math.fround"],"core-js/features/math/fscale":["esnext.math.fscale"],"core-js/features/math/hypot":["es.math.hypot"],"core-js/features/math/iaddh":["esnext.math.iaddh"],"core-js/features/math/imul":["es.math.imul"],"core-js/features/math/imulh":["esnext.math.imulh"],"core-js/features/math/isubh":["esnext.math.isubh"],"core-js/features/math/log10":["es.math.log10"],"core-js/features/math/log1p":["es.math.log1p"],"core-js/features/math/log2":["es.math.log2"],"core-js/features/math/rad-per-deg":["esnext.math.rad-per-deg"],"core-js/features/math/radians":["esnext.math.radians"],"core-js/features/math/scale":["esnext.math.scale"],"core-js/features/math/seeded-prng":["esnext.math.seeded-prng"],"core-js/features/math/sign":["es.math.sign"],"core-js/features/math/signbit":["esnext.math.signbit"],"core-js/features/math/sinh":["es.math.sinh"],"core-js/features/math/tanh":["es.math.tanh"],"core-js/features/math/to-string-tag":["es.math.to-string-tag"],"core-js/features/math/trunc":["es.math.trunc"],"core-js/features/math/umulh":["esnext.math.umulh"],"core-js/features/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","esnext.number.from-string","esnext.number.range"],"core-js/features/number/constructor":["es.number.constructor"],"core-js/features/number/epsilon":["es.number.epsilon"],"core-js/features/number/from-string":["esnext.number.from-string"],"core-js/features/number/is-finite":["es.number.is-finite"],"core-js/features/number/is-integer":["es.number.is-integer"],"core-js/features/number/is-nan":["es.number.is-nan"],"core-js/features/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/features/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/features/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/features/number/parse-float":["es.number.parse-float"],"core-js/features/number/parse-int":["es.number.parse-int"],"core-js/features/number/range":["esnext.number.range"],"core-js/features/number/to-fixed":["es.number.to-fixed"],"core-js/features/number/to-precision":["es.number.to-precision"],"core-js/features/number/virtual":["es.number.to-fixed","es.number.to-precision"],"core-js/features/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/features/number/virtual/to-precision":["es.number.to-precision"],"core-js/features/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values"],"core-js/features/object/assign":["es.object.assign"],"core-js/features/object/create":["es.object.create"],"core-js/features/object/define-getter":["es.object.define-getter"],"core-js/features/object/define-properties":["es.object.define-properties"],"core-js/features/object/define-property":["es.object.define-property"],"core-js/features/object/define-setter":["es.object.define-setter"],"core-js/features/object/entries":["es.object.entries"],"core-js/features/object/freeze":["es.object.freeze"],"core-js/features/object/from-entries":["es.array.iterator","es.object.from-entries"],"core-js/features/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/features/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/features/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/features/object/get-own-property-symbols":["es.symbol"],"core-js/features/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/features/object/is":["es.object.is"],"core-js/features/object/is-extensible":["es.object.is-extensible"],"core-js/features/object/is-frozen":["es.object.is-frozen"],"core-js/features/object/is-sealed":["es.object.is-sealed"],"core-js/features/object/iterate-entries":["esnext.object.iterate-entries"],"core-js/features/object/iterate-keys":["esnext.object.iterate-keys"],"core-js/features/object/iterate-values":["esnext.object.iterate-values"],"core-js/features/object/keys":["es.object.keys"],"core-js/features/object/lookup-getter":["es.object.lookup-setter"],"core-js/features/object/lookup-setter":["es.object.lookup-setter"],"core-js/features/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/features/object/seal":["es.object.seal"],"core-js/features/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/features/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/features/object/values":["es.object.values"],"core-js/features/observable":["es.object.to-string","es.string.iterator","esnext.observable","esnext.symbol.observable","web.dom-collections.iterator"],"core-js/features/parse-float":["es.parse-float"],"core-js/features/parse-int":["es.parse-int"],"core-js/features/promise":["es.aggregate-error","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","esnext.aggregate-error","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","web.dom-collections.iterator"],"core-js/features/promise/all-settled":["es.promise","es.promise.all-settled","esnext.promise.all-settled"],"core-js/features/promise/any":["es.aggregate-error","es.promise","es.promise.any","esnext.aggregate-error","esnext.promise.any"],"core-js/features/promise/finally":["es.promise","es.promise.finally"],"core-js/features/promise/try":["es.promise","esnext.promise.try"],"core-js/features/queue-microtask":["web.queue-microtask"],"core-js/features/reflect":["es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata"],"core-js/features/reflect/apply":["es.reflect.apply"],"core-js/features/reflect/construct":["es.reflect.construct"],"core-js/features/reflect/define-metadata":["esnext.reflect.define-metadata"],"core-js/features/reflect/define-property":["es.reflect.define-property"],"core-js/features/reflect/delete-metadata":["esnext.reflect.delete-metadata"],"core-js/features/reflect/delete-property":["es.reflect.delete-property"],"core-js/features/reflect/get":["es.reflect.get"],"core-js/features/reflect/get-metadata":["esnext.reflect.get-metadata"],"core-js/features/reflect/get-metadata-keys":["esnext.reflect.get-metadata-keys"],"core-js/features/reflect/get-own-metadata":["esnext.reflect.get-own-metadata"],"core-js/features/reflect/get-own-metadata-keys":["esnext.reflect.get-own-metadata-keys"],"core-js/features/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/features/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/features/reflect/has":["es.reflect.has"],"core-js/features/reflect/has-metadata":["esnext.reflect.has-metadata"],"core-js/features/reflect/has-own-metadata":["esnext.reflect.has-own-metadata"],"core-js/features/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/features/reflect/metadata":["esnext.reflect.metadata"],"core-js/features/reflect/own-keys":["es.reflect.own-keys"],"core-js/features/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/features/reflect/set":["es.reflect.set"],"core-js/features/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/features/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/features/regexp":["es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/features/regexp/constructor":["es.regexp.constructor"],"core-js/features/regexp/flags":["es.regexp.flags"],"core-js/features/regexp/match":["es.string.match"],"core-js/features/regexp/replace":["es.string.replace"],"core-js/features/regexp/search":["es.string.search"],"core-js/features/regexp/split":["es.string.split"],"core-js/features/regexp/sticky":["es.regexp.sticky"],"core-js/features/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/features/regexp/to-string":["es.regexp.to-string"],"core-js/features/set":["es.object.to-string","es.set","es.string.iterator","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","web.dom-collections.iterator"],"core-js/features/set-immediate":["web.immediate"],"core-js/features/set-interval":["web.timers"],"core-js/features/set-timeout":["web.timers"],"core-js/features/set/add-all":["es.set","esnext.set.add-all"],"core-js/features/set/delete-all":["es.set","esnext.set.delete-all"],"core-js/features/set/difference":["es.set","es.string.iterator","esnext.set.difference","web.dom-collections.iterator"],"core-js/features/set/every":["es.set","esnext.set.every"],"core-js/features/set/filter":["es.set","esnext.set.filter"],"core-js/features/set/find":["es.set","esnext.set.find"],"core-js/features/set/from":["es.set","es.string.iterator","esnext.set.from","web.dom-collections.iterator"],"core-js/features/set/intersection":["es.set","esnext.set.intersection"],"core-js/features/set/is-disjoint-from":["es.set","esnext.set.is-disjoint-from"],"core-js/features/set/is-subset-of":["es.set","es.string.iterator","esnext.set.is-subset-of","web.dom-collections.iterator"],"core-js/features/set/is-superset-of":["es.set","esnext.set.is-superset-of"],"core-js/features/set/join":["es.set","esnext.set.join"],"core-js/features/set/map":["es.set","esnext.set.map"],"core-js/features/set/of":["es.set","es.string.iterator","esnext.set.of","web.dom-collections.iterator"],"core-js/features/set/reduce":["es.set","esnext.set.reduce"],"core-js/features/set/some":["es.set","esnext.set.some"],"core-js/features/set/symmetric-difference":["es.set","es.string.iterator","esnext.set.symmetric-difference","web.dom-collections.iterator"],"core-js/features/set/union":["es.set","es.string.iterator","esnext.set.union","web.dom-collections.iterator"],"core-js/features/string":["es.regexp.exec","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all"],"core-js/features/string/anchor":["es.string.anchor"],"core-js/features/string/at":["esnext.string.at"],"core-js/features/string/big":["es.string.big"],"core-js/features/string/blink":["es.string.blink"],"core-js/features/string/bold":["es.string.bold"],"core-js/features/string/code-point-at":["es.string.code-point-at"],"core-js/features/string/code-points":["esnext.string.code-points"],"core-js/features/string/ends-with":["es.string.ends-with"],"core-js/features/string/fixed":["es.string.fixed"],"core-js/features/string/fontcolor":["es.string.fontcolor"],"core-js/features/string/fontsize":["es.string.fontsize"],"core-js/features/string/from-code-point":["es.string.from-code-point"],"core-js/features/string/includes":["es.string.includes"],"core-js/features/string/italics":["es.string.italics"],"core-js/features/string/iterator":["es.string.iterator"],"core-js/features/string/link":["es.string.link"],"core-js/features/string/match":["es.regexp.exec","es.string.match"],"core-js/features/string/match-all":["es.string.match-all","esnext.string.match-all"],"core-js/features/string/pad-end":["es.string.pad-end"],"core-js/features/string/pad-start":["es.string.pad-start"],"core-js/features/string/raw":["es.string.raw"],"core-js/features/string/repeat":["es.string.repeat"],"core-js/features/string/replace":["es.regexp.exec","es.string.replace"],"core-js/features/string/replace-all":["es.string.replace-all","esnext.string.replace-all"],"core-js/features/string/search":["es.regexp.exec","es.string.search"],"core-js/features/string/small":["es.string.small"],"core-js/features/string/split":["es.regexp.exec","es.string.split"],"core-js/features/string/starts-with":["es.string.starts-with"],"core-js/features/string/strike":["es.string.strike"],"core-js/features/string/sub":["es.string.sub"],"core-js/features/string/sup":["es.string.sup"],"core-js/features/string/trim":["es.string.trim"],"core-js/features/string/trim-end":["es.string.trim-end"],"core-js/features/string/trim-left":["es.string.trim-start"],"core-js/features/string/trim-right":["es.string.trim-end"],"core-js/features/string/trim-start":["es.string.trim-start"],"core-js/features/string/virtual":["es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all"],"core-js/features/string/virtual/anchor":["es.string.anchor"],"core-js/features/string/virtual/at":["esnext.string.at"],"core-js/features/string/virtual/big":["es.string.big"],"core-js/features/string/virtual/blink":["es.string.blink"],"core-js/features/string/virtual/bold":["es.string.bold"],"core-js/features/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/features/string/virtual/code-points":["esnext.string.code-points"],"core-js/features/string/virtual/ends-with":["es.string.ends-with"],"core-js/features/string/virtual/fixed":["es.string.fixed"],"core-js/features/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/features/string/virtual/fontsize":["es.string.fontsize"],"core-js/features/string/virtual/includes":["es.string.includes"],"core-js/features/string/virtual/italics":["es.string.italics"],"core-js/features/string/virtual/iterator":["es.string.iterator"],"core-js/features/string/virtual/link":["es.string.link"],"core-js/features/string/virtual/match-all":["es.string.match-all","esnext.string.match-all"],"core-js/features/string/virtual/pad-end":["es.string.pad-end"],"core-js/features/string/virtual/pad-start":["es.string.pad-start"],"core-js/features/string/virtual/repeat":["es.string.repeat"],"core-js/features/string/virtual/replace-all":["es.string.replace-all","esnext.string.replace-all"],"core-js/features/string/virtual/small":["es.string.small"],"core-js/features/string/virtual/starts-with":["es.string.starts-with"],"core-js/features/string/virtual/strike":["es.string.strike"],"core-js/features/string/virtual/sub":["es.string.sub"],"core-js/features/string/virtual/sup":["es.string.sup"],"core-js/features/string/virtual/trim":["es.string.trim"],"core-js/features/string/virtual/trim-end":["es.string.trim-end"],"core-js/features/string/virtual/trim-left":["es.string.trim-start"],"core-js/features/string/virtual/trim-right":["es.string.trim-end"],"core-js/features/string/virtual/trim-start":["es.string.trim-start"],"core-js/features/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all"],"core-js/features/symbol/async-dispose":["esnext.symbol.async-dispose"],"core-js/features/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/features/symbol/description":["es.symbol.description"],"core-js/features/symbol/dispose":["esnext.symbol.dispose"],"core-js/features/symbol/for":["es.symbol"],"core-js/features/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/features/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/features/symbol/iterator":["es.symbol.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/features/symbol/key-for":["es.symbol"],"core-js/features/symbol/match":["es.symbol.match","es.string.match"],"core-js/features/symbol/match-all":["es.symbol.match-all","es.string.match-all"],"core-js/features/symbol/observable":["esnext.symbol.observable"],"core-js/features/symbol/pattern-match":["esnext.symbol.pattern-match"],"core-js/features/symbol/replace":["es.symbol.replace","es.string.replace"],"core-js/features/symbol/replace-all":["esnext.symbol.replace-all"],"core-js/features/symbol/search":["es.symbol.search","es.string.search"],"core-js/features/symbol/species":["es.symbol.species"],"core-js/features/symbol/split":["es.symbol.split","es.string.split"],"core-js/features/symbol/to-primitive":["es.symbol.to-primitive"],"core-js/features/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/features/symbol/unscopables":["es.symbol.unscopables"],"core-js/features/typed-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.at","esnext.typed-array.filter-out"],"core-js/features/typed-array/at":["esnext.typed-array.at"],"core-js/features/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/features/typed-array/entries":["es.typed-array.iterator"],"core-js/features/typed-array/every":["es.typed-array.every"],"core-js/features/typed-array/fill":["es.typed-array.fill"],"core-js/features/typed-array/filter":["es.typed-array.filter"],"core-js/features/typed-array/filter-out":["esnext.typed-array.filter-out"],"core-js/features/typed-array/find":["es.typed-array.find"],"core-js/features/typed-array/find-index":["es.typed-array.find-index"],"core-js/features/typed-array/float32-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/float64-array":["es.object.to-string","es.typed-array.float64-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/for-each":["es.typed-array.for-each"],"core-js/features/typed-array/from":["es.typed-array.from"],"core-js/features/typed-array/includes":["es.typed-array.includes"],"core-js/features/typed-array/index-of":["es.typed-array.index-of"],"core-js/features/typed-array/int16-array":["es.object.to-string","es.typed-array.int16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/int32-array":["es.object.to-string","es.typed-array.int32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/int8-array":["es.object.to-string","es.typed-array.int8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/iterator":["es.typed-array.iterator"],"core-js/features/typed-array/join":["es.typed-array.join"],"core-js/features/typed-array/keys":["es.typed-array.iterator"],"core-js/features/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/features/typed-array/map":["es.typed-array.map"],"core-js/features/typed-array/of":["es.typed-array.of"],"core-js/features/typed-array/reduce":["es.typed-array.reduce"],"core-js/features/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/features/typed-array/reverse":["es.typed-array.reverse"],"core-js/features/typed-array/set":["es.typed-array.set"],"core-js/features/typed-array/slice":["es.typed-array.slice"],"core-js/features/typed-array/some":["es.typed-array.some"],"core-js/features/typed-array/sort":["es.typed-array.sort"],"core-js/features/typed-array/subarray":["es.typed-array.subarray"],"core-js/features/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/features/typed-array/to-string":["es.typed-array.to-string"],"core-js/features/typed-array/uint16-array":["es.object.to-string","es.typed-array.uint16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/uint32-array":["es.object.to-string","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/uint8-array":["es.object.to-string","es.typed-array.uint8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/uint8-clamped-array":["es.object.to-string","es.typed-array.uint8-clamped-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/values":["es.typed-array.iterator"],"core-js/features/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/features/url-search-params":["web.url-search-params"],"core-js/features/url/to-json":["web.url.to-json"],"core-js/features/weak-map":["es.object.to-string","es.weak-map","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","web.dom-collections.iterator"],"core-js/features/weak-map/delete-all":["es.weak-map","esnext.weak-map.delete-all"],"core-js/features/weak-map/emplace":["es.weak-map","esnext.weak-map.emplace"],"core-js/features/weak-map/from":["es.string.iterator","es.weak-map","esnext.weak-map.from","web.dom-collections.iterator"],"core-js/features/weak-map/of":["es.string.iterator","es.weak-map","esnext.weak-map.of","web.dom-collections.iterator"],"core-js/features/weak-map/upsert":["es.weak-map","esnext.weak-map.upsert"],"core-js/features/weak-set":["es.object.to-string","es.weak-set","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.iterator"],"core-js/features/weak-set/add-all":["es.weak-set","esnext.weak-set.add-all"],"core-js/features/weak-set/delete-all":["es.weak-set","esnext.weak-set.delete-all"],"core-js/features/weak-set/from":["es.string.iterator","es.weak-set","esnext.weak-set.from","web.dom-collections.iterator"],"core-js/features/weak-set/of":["es.string.iterator","es.weak-set","esnext.weak-set.of","web.dom-collections.iterator"],"core-js/modules/es.aggregate-error":["es.aggregate-error"],"core-js/modules/es.array-buffer.constructor":["es.array-buffer.constructor"],"core-js/modules/es.array-buffer.is-view":["es.array-buffer.is-view"],"core-js/modules/es.array-buffer.slice":["es.array-buffer.slice"],"core-js/modules/es.array.concat":["es.array.concat"],"core-js/modules/es.array.copy-within":["es.array.copy-within"],"core-js/modules/es.array.every":["es.array.every"],"core-js/modules/es.array.fill":["es.array.fill"],"core-js/modules/es.array.filter":["es.array.filter"],"core-js/modules/es.array.find":["es.array.find"],"core-js/modules/es.array.find-index":["es.array.find-index"],"core-js/modules/es.array.flat":["es.array.flat"],"core-js/modules/es.array.flat-map":["es.array.flat-map"],"core-js/modules/es.array.for-each":["es.array.for-each"],"core-js/modules/es.array.from":["es.array.from"],"core-js/modules/es.array.includes":["es.array.includes"],"core-js/modules/es.array.index-of":["es.array.index-of"],"core-js/modules/es.array.is-array":["es.array.is-array"],"core-js/modules/es.array.iterator":["es.array.iterator"],"core-js/modules/es.array.join":["es.array.join"],"core-js/modules/es.array.last-index-of":["es.array.last-index-of"],"core-js/modules/es.array.map":["es.array.map"],"core-js/modules/es.array.of":["es.array.of"],"core-js/modules/es.array.reduce":["es.array.reduce"],"core-js/modules/es.array.reduce-right":["es.array.reduce-right"],"core-js/modules/es.array.reverse":["es.array.reverse"],"core-js/modules/es.array.slice":["es.array.slice"],"core-js/modules/es.array.some":["es.array.some"],"core-js/modules/es.array.sort":["es.array.sort"],"core-js/modules/es.array.species":["es.array.species"],"core-js/modules/es.array.splice":["es.array.splice"],"core-js/modules/es.array.unscopables.flat":["es.array.unscopables.flat"],"core-js/modules/es.array.unscopables.flat-map":["es.array.unscopables.flat-map"],"core-js/modules/es.data-view":["es.data-view"],"core-js/modules/es.date.now":["es.date.now"],"core-js/modules/es.date.to-iso-string":["es.date.to-iso-string"],"core-js/modules/es.date.to-json":["es.date.to-json"],"core-js/modules/es.date.to-primitive":["es.date.to-primitive"],"core-js/modules/es.date.to-string":["es.date.to-string"],"core-js/modules/es.function.bind":["es.function.bind"],"core-js/modules/es.function.has-instance":["es.function.has-instance"],"core-js/modules/es.function.name":["es.function.name"],"core-js/modules/es.global-this":["es.global-this"],"core-js/modules/es.json.stringify":["es.json.stringify"],"core-js/modules/es.json.to-string-tag":["es.json.to-string-tag"],"core-js/modules/es.map":["es.map"],"core-js/modules/es.math.acosh":["es.math.acosh"],"core-js/modules/es.math.asinh":["es.math.asinh"],"core-js/modules/es.math.atanh":["es.math.atanh"],"core-js/modules/es.math.cbrt":["es.math.cbrt"],"core-js/modules/es.math.clz32":["es.math.clz32"],"core-js/modules/es.math.cosh":["es.math.cosh"],"core-js/modules/es.math.expm1":["es.math.expm1"],"core-js/modules/es.math.fround":["es.math.fround"],"core-js/modules/es.math.hypot":["es.math.hypot"],"core-js/modules/es.math.imul":["es.math.imul"],"core-js/modules/es.math.log10":["es.math.log10"],"core-js/modules/es.math.log1p":["es.math.log1p"],"core-js/modules/es.math.log2":["es.math.log2"],"core-js/modules/es.math.sign":["es.math.sign"],"core-js/modules/es.math.sinh":["es.math.sinh"],"core-js/modules/es.math.tanh":["es.math.tanh"],"core-js/modules/es.math.to-string-tag":["es.math.to-string-tag"],"core-js/modules/es.math.trunc":["es.math.trunc"],"core-js/modules/es.number.constructor":["es.number.constructor"],"core-js/modules/es.number.epsilon":["es.number.epsilon"],"core-js/modules/es.number.is-finite":["es.number.is-finite"],"core-js/modules/es.number.is-integer":["es.number.is-integer"],"core-js/modules/es.number.is-nan":["es.number.is-nan"],"core-js/modules/es.number.is-safe-integer":["es.number.is-safe-integer"],"core-js/modules/es.number.max-safe-integer":["es.number.max-safe-integer"],"core-js/modules/es.number.min-safe-integer":["es.number.min-safe-integer"],"core-js/modules/es.number.parse-float":["es.number.parse-float"],"core-js/modules/es.number.parse-int":["es.number.parse-int"],"core-js/modules/es.number.to-fixed":["es.number.to-fixed"],"core-js/modules/es.number.to-precision":["es.number.to-precision"],"core-js/modules/es.object.assign":["es.object.assign"],"core-js/modules/es.object.create":["es.object.create"],"core-js/modules/es.object.define-getter":["es.object.define-getter"],"core-js/modules/es.object.define-properties":["es.object.define-properties"],"core-js/modules/es.object.define-property":["es.object.define-property"],"core-js/modules/es.object.define-setter":["es.object.define-setter"],"core-js/modules/es.object.entries":["es.object.entries"],"core-js/modules/es.object.freeze":["es.object.freeze"],"core-js/modules/es.object.from-entries":["es.object.from-entries"],"core-js/modules/es.object.get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/modules/es.object.get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/modules/es.object.get-own-property-names":["es.object.get-own-property-names"],"core-js/modules/es.object.get-prototype-of":["es.object.get-prototype-of"],"core-js/modules/es.object.is":["es.object.is"],"core-js/modules/es.object.is-extensible":["es.object.is-extensible"],"core-js/modules/es.object.is-frozen":["es.object.is-frozen"],"core-js/modules/es.object.is-sealed":["es.object.is-sealed"],"core-js/modules/es.object.keys":["es.object.keys"],"core-js/modules/es.object.lookup-getter":["es.object.lookup-getter"],"core-js/modules/es.object.lookup-setter":["es.object.lookup-setter"],"core-js/modules/es.object.prevent-extensions":["es.object.prevent-extensions"],"core-js/modules/es.object.seal":["es.object.seal"],"core-js/modules/es.object.set-prototype-of":["es.object.set-prototype-of"],"core-js/modules/es.object.to-string":["es.object.to-string"],"core-js/modules/es.object.values":["es.object.values"],"core-js/modules/es.parse-float":["es.parse-float"],"core-js/modules/es.parse-int":["es.parse-int"],"core-js/modules/es.promise":["es.promise"],"core-js/modules/es.promise.all-settled":["es.promise.all-settled"],"core-js/modules/es.promise.any":["es.promise.any"],"core-js/modules/es.promise.finally":["es.promise.finally"],"core-js/modules/es.reflect.apply":["es.reflect.apply"],"core-js/modules/es.reflect.construct":["es.reflect.construct"],"core-js/modules/es.reflect.define-property":["es.reflect.define-property"],"core-js/modules/es.reflect.delete-property":["es.reflect.delete-property"],"core-js/modules/es.reflect.get":["es.reflect.get"],"core-js/modules/es.reflect.get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/modules/es.reflect.get-prototype-of":["es.reflect.get-prototype-of"],"core-js/modules/es.reflect.has":["es.reflect.has"],"core-js/modules/es.reflect.is-extensible":["es.reflect.is-extensible"],"core-js/modules/es.reflect.own-keys":["es.reflect.own-keys"],"core-js/modules/es.reflect.prevent-extensions":["es.reflect.prevent-extensions"],"core-js/modules/es.reflect.set":["es.reflect.set"],"core-js/modules/es.reflect.set-prototype-of":["es.reflect.set-prototype-of"],"core-js/modules/es.reflect.to-string-tag":["es.reflect.to-string-tag"],"core-js/modules/es.regexp.constructor":["es.regexp.constructor"],"core-js/modules/es.regexp.exec":["es.regexp.exec"],"core-js/modules/es.regexp.flags":["es.regexp.flags"],"core-js/modules/es.regexp.sticky":["es.regexp.sticky"],"core-js/modules/es.regexp.test":["es.regexp.test"],"core-js/modules/es.regexp.to-string":["es.regexp.to-string"],"core-js/modules/es.set":["es.set"],"core-js/modules/es.string.anchor":["es.string.anchor"],"core-js/modules/es.string.big":["es.string.big"],"core-js/modules/es.string.blink":["es.string.blink"],"core-js/modules/es.string.bold":["es.string.bold"],"core-js/modules/es.string.code-point-at":["es.string.code-point-at"],"core-js/modules/es.string.ends-with":["es.string.ends-with"],"core-js/modules/es.string.fixed":["es.string.fixed"],"core-js/modules/es.string.fontcolor":["es.string.fontcolor"],"core-js/modules/es.string.fontsize":["es.string.fontsize"],"core-js/modules/es.string.from-code-point":["es.string.from-code-point"],"core-js/modules/es.string.includes":["es.string.includes"],"core-js/modules/es.string.italics":["es.string.italics"],"core-js/modules/es.string.iterator":["es.string.iterator"],"core-js/modules/es.string.link":["es.string.link"],"core-js/modules/es.string.match":["es.string.match"],"core-js/modules/es.string.match-all":["es.string.match-all"],"core-js/modules/es.string.pad-end":["es.string.pad-end"],"core-js/modules/es.string.pad-start":["es.string.pad-start"],"core-js/modules/es.string.raw":["es.string.raw"],"core-js/modules/es.string.repeat":["es.string.repeat"],"core-js/modules/es.string.replace":["es.string.replace"],"core-js/modules/es.string.replace-all":["es.string.replace-all"],"core-js/modules/es.string.search":["es.string.search"],"core-js/modules/es.string.small":["es.string.small"],"core-js/modules/es.string.split":["es.string.split"],"core-js/modules/es.string.starts-with":["es.string.starts-with"],"core-js/modules/es.string.strike":["es.string.strike"],"core-js/modules/es.string.sub":["es.string.sub"],"core-js/modules/es.string.sup":["es.string.sup"],"core-js/modules/es.string.trim":["es.string.trim"],"core-js/modules/es.string.trim-end":["es.string.trim-end"],"core-js/modules/es.string.trim-start":["es.string.trim-start"],"core-js/modules/es.symbol":["es.symbol"],"core-js/modules/es.symbol.async-iterator":["es.symbol.async-iterator"],"core-js/modules/es.symbol.description":["es.symbol.description"],"core-js/modules/es.symbol.has-instance":["es.symbol.has-instance"],"core-js/modules/es.symbol.is-concat-spreadable":["es.symbol.is-concat-spreadable"],"core-js/modules/es.symbol.iterator":["es.symbol.iterator"],"core-js/modules/es.symbol.match":["es.symbol.match"],"core-js/modules/es.symbol.match-all":["es.symbol.match-all"],"core-js/modules/es.symbol.replace":["es.symbol.replace"],"core-js/modules/es.symbol.search":["es.symbol.search"],"core-js/modules/es.symbol.species":["es.symbol.species"],"core-js/modules/es.symbol.split":["es.symbol.split"],"core-js/modules/es.symbol.to-primitive":["es.symbol.to-primitive"],"core-js/modules/es.symbol.to-string-tag":["es.symbol.to-string-tag"],"core-js/modules/es.symbol.unscopables":["es.symbol.unscopables"],"core-js/modules/es.typed-array.copy-within":["es.typed-array.copy-within"],"core-js/modules/es.typed-array.every":["es.typed-array.every"],"core-js/modules/es.typed-array.fill":["es.typed-array.fill"],"core-js/modules/es.typed-array.filter":["es.typed-array.filter"],"core-js/modules/es.typed-array.find":["es.typed-array.find"],"core-js/modules/es.typed-array.find-index":["es.typed-array.find-index"],"core-js/modules/es.typed-array.float32-array":["es.typed-array.float32-array"],"core-js/modules/es.typed-array.float64-array":["es.typed-array.float64-array"],"core-js/modules/es.typed-array.for-each":["es.typed-array.for-each"],"core-js/modules/es.typed-array.from":["es.typed-array.from"],"core-js/modules/es.typed-array.includes":["es.typed-array.includes"],"core-js/modules/es.typed-array.index-of":["es.typed-array.index-of"],"core-js/modules/es.typed-array.int16-array":["es.typed-array.int16-array"],"core-js/modules/es.typed-array.int32-array":["es.typed-array.int32-array"],"core-js/modules/es.typed-array.int8-array":["es.typed-array.int8-array"],"core-js/modules/es.typed-array.iterator":["es.typed-array.iterator"],"core-js/modules/es.typed-array.join":["es.typed-array.join"],"core-js/modules/es.typed-array.last-index-of":["es.typed-array.last-index-of"],"core-js/modules/es.typed-array.map":["es.typed-array.map"],"core-js/modules/es.typed-array.of":["es.typed-array.of"],"core-js/modules/es.typed-array.reduce":["es.typed-array.reduce"],"core-js/modules/es.typed-array.reduce-right":["es.typed-array.reduce-right"],"core-js/modules/es.typed-array.reverse":["es.typed-array.reverse"],"core-js/modules/es.typed-array.set":["es.typed-array.set"],"core-js/modules/es.typed-array.slice":["es.typed-array.slice"],"core-js/modules/es.typed-array.some":["es.typed-array.some"],"core-js/modules/es.typed-array.sort":["es.typed-array.sort"],"core-js/modules/es.typed-array.subarray":["es.typed-array.subarray"],"core-js/modules/es.typed-array.to-locale-string":["es.typed-array.to-locale-string"],"core-js/modules/es.typed-array.to-string":["es.typed-array.to-string"],"core-js/modules/es.typed-array.uint16-array":["es.typed-array.uint16-array"],"core-js/modules/es.typed-array.uint32-array":["es.typed-array.uint32-array"],"core-js/modules/es.typed-array.uint8-array":["es.typed-array.uint8-array"],"core-js/modules/es.typed-array.uint8-clamped-array":["es.typed-array.uint8-clamped-array"],"core-js/modules/es.weak-map":["es.weak-map"],"core-js/modules/es.weak-set":["es.weak-set"],"core-js/modules/esnext.aggregate-error":["esnext.aggregate-error"],"core-js/modules/esnext.array.at":["esnext.array.at"],"core-js/modules/esnext.array.filter-out":["esnext.array.filter-out"],"core-js/modules/esnext.array.is-template-object":["esnext.array.is-template-object"],"core-js/modules/esnext.array.last-index":["esnext.array.last-index"],"core-js/modules/esnext.array.last-item":["esnext.array.last-item"],"core-js/modules/esnext.array.unique-by":["esnext.array.unique-by"],"core-js/modules/esnext.async-iterator.as-indexed-pairs":["esnext.async-iterator.as-indexed-pairs"],"core-js/modules/esnext.async-iterator.constructor":["esnext.async-iterator.constructor"],"core-js/modules/esnext.async-iterator.drop":["esnext.async-iterator.drop"],"core-js/modules/esnext.async-iterator.every":["esnext.async-iterator.every"],"core-js/modules/esnext.async-iterator.filter":["esnext.async-iterator.filter"],"core-js/modules/esnext.async-iterator.find":["esnext.async-iterator.find"],"core-js/modules/esnext.async-iterator.flat-map":["esnext.async-iterator.flat-map"],"core-js/modules/esnext.async-iterator.for-each":["esnext.async-iterator.for-each"],"core-js/modules/esnext.async-iterator.from":["esnext.async-iterator.from"],"core-js/modules/esnext.async-iterator.map":["esnext.async-iterator.map"],"core-js/modules/esnext.async-iterator.reduce":["esnext.async-iterator.reduce"],"core-js/modules/esnext.async-iterator.some":["esnext.async-iterator.some"],"core-js/modules/esnext.async-iterator.take":["esnext.async-iterator.take"],"core-js/modules/esnext.async-iterator.to-array":["esnext.async-iterator.to-array"],"core-js/modules/esnext.bigint.range":["esnext.bigint.range"],"core-js/modules/esnext.composite-key":["esnext.composite-key"],"core-js/modules/esnext.composite-symbol":["esnext.composite-symbol"],"core-js/modules/esnext.global-this":["esnext.global-this"],"core-js/modules/esnext.iterator.as-indexed-pairs":["esnext.iterator.as-indexed-pairs"],"core-js/modules/esnext.iterator.constructor":["esnext.iterator.constructor"],"core-js/modules/esnext.iterator.drop":["esnext.iterator.drop"],"core-js/modules/esnext.iterator.every":["esnext.iterator.every"],"core-js/modules/esnext.iterator.filter":["esnext.iterator.filter"],"core-js/modules/esnext.iterator.find":["esnext.iterator.find"],"core-js/modules/esnext.iterator.flat-map":["esnext.iterator.flat-map"],"core-js/modules/esnext.iterator.for-each":["esnext.iterator.for-each"],"core-js/modules/esnext.iterator.from":["esnext.iterator.from"],"core-js/modules/esnext.iterator.map":["esnext.iterator.map"],"core-js/modules/esnext.iterator.reduce":["esnext.iterator.reduce"],"core-js/modules/esnext.iterator.some":["esnext.iterator.some"],"core-js/modules/esnext.iterator.take":["esnext.iterator.take"],"core-js/modules/esnext.iterator.to-array":["esnext.iterator.to-array"],"core-js/modules/esnext.map.delete-all":["esnext.map.delete-all"],"core-js/modules/esnext.map.emplace":["esnext.map.emplace"],"core-js/modules/esnext.map.every":["esnext.map.every"],"core-js/modules/esnext.map.filter":["esnext.map.filter"],"core-js/modules/esnext.map.find":["esnext.map.find"],"core-js/modules/esnext.map.find-key":["esnext.map.find-key"],"core-js/modules/esnext.map.from":["esnext.map.from"],"core-js/modules/esnext.map.group-by":["esnext.map.group-by"],"core-js/modules/esnext.map.includes":["esnext.map.includes"],"core-js/modules/esnext.map.key-by":["esnext.map.key-by"],"core-js/modules/esnext.map.key-of":["esnext.map.key-of"],"core-js/modules/esnext.map.map-keys":["esnext.map.map-keys"],"core-js/modules/esnext.map.map-values":["esnext.map.map-values"],"core-js/modules/esnext.map.merge":["esnext.map.merge"],"core-js/modules/esnext.map.of":["esnext.map.of"],"core-js/modules/esnext.map.reduce":["esnext.map.reduce"],"core-js/modules/esnext.map.some":["esnext.map.some"],"core-js/modules/esnext.map.update":["esnext.map.update"],"core-js/modules/esnext.map.update-or-insert":["esnext.map.update-or-insert"],"core-js/modules/esnext.map.upsert":["esnext.map.upsert"],"core-js/modules/esnext.math.clamp":["esnext.math.clamp"],"core-js/modules/esnext.math.deg-per-rad":["esnext.math.deg-per-rad"],"core-js/modules/esnext.math.degrees":["esnext.math.degrees"],"core-js/modules/esnext.math.fscale":["esnext.math.fscale"],"core-js/modules/esnext.math.iaddh":["esnext.math.iaddh"],"core-js/modules/esnext.math.imulh":["esnext.math.imulh"],"core-js/modules/esnext.math.isubh":["esnext.math.isubh"],"core-js/modules/esnext.math.rad-per-deg":["esnext.math.rad-per-deg"],"core-js/modules/esnext.math.radians":["esnext.math.radians"],"core-js/modules/esnext.math.scale":["esnext.math.scale"],"core-js/modules/esnext.math.seeded-prng":["esnext.math.seeded-prng"],"core-js/modules/esnext.math.signbit":["esnext.math.signbit"],"core-js/modules/esnext.math.umulh":["esnext.math.umulh"],"core-js/modules/esnext.number.from-string":["esnext.number.from-string"],"core-js/modules/esnext.number.range":["esnext.number.range"],"core-js/modules/esnext.object.iterate-entries":["esnext.object.iterate-entries"],"core-js/modules/esnext.object.iterate-keys":["esnext.object.iterate-keys"],"core-js/modules/esnext.object.iterate-values":["esnext.object.iterate-values"],"core-js/modules/esnext.observable":["esnext.observable"],"core-js/modules/esnext.promise.all-settled":["esnext.promise.all-settled"],"core-js/modules/esnext.promise.any":["esnext.promise.any"],"core-js/modules/esnext.promise.try":["esnext.promise.try"],"core-js/modules/esnext.reflect.define-metadata":["esnext.reflect.define-metadata"],"core-js/modules/esnext.reflect.delete-metadata":["esnext.reflect.delete-metadata"],"core-js/modules/esnext.reflect.get-metadata":["esnext.reflect.get-metadata"],"core-js/modules/esnext.reflect.get-metadata-keys":["esnext.reflect.get-metadata-keys"],"core-js/modules/esnext.reflect.get-own-metadata":["esnext.reflect.get-own-metadata"],"core-js/modules/esnext.reflect.get-own-metadata-keys":["esnext.reflect.get-own-metadata-keys"],"core-js/modules/esnext.reflect.has-metadata":["esnext.reflect.has-metadata"],"core-js/modules/esnext.reflect.has-own-metadata":["esnext.reflect.has-own-metadata"],"core-js/modules/esnext.reflect.metadata":["esnext.reflect.metadata"],"core-js/modules/esnext.set.add-all":["esnext.set.add-all"],"core-js/modules/esnext.set.delete-all":["esnext.set.delete-all"],"core-js/modules/esnext.set.difference":["esnext.set.difference"],"core-js/modules/esnext.set.every":["esnext.set.every"],"core-js/modules/esnext.set.filter":["esnext.set.filter"],"core-js/modules/esnext.set.find":["esnext.set.find"],"core-js/modules/esnext.set.from":["esnext.set.from"],"core-js/modules/esnext.set.intersection":["esnext.set.intersection"],"core-js/modules/esnext.set.is-disjoint-from":["esnext.set.is-disjoint-from"],"core-js/modules/esnext.set.is-subset-of":["esnext.set.is-subset-of"],"core-js/modules/esnext.set.is-superset-of":["esnext.set.is-superset-of"],"core-js/modules/esnext.set.join":["esnext.set.join"],"core-js/modules/esnext.set.map":["esnext.set.map"],"core-js/modules/esnext.set.of":["esnext.set.of"],"core-js/modules/esnext.set.reduce":["esnext.set.reduce"],"core-js/modules/esnext.set.some":["esnext.set.some"],"core-js/modules/esnext.set.symmetric-difference":["esnext.set.symmetric-difference"],"core-js/modules/esnext.set.union":["esnext.set.union"],"core-js/modules/esnext.string.at":["esnext.string.at"],"core-js/modules/esnext.string.at-alternative":["esnext.string.at-alternative"],"core-js/modules/esnext.string.code-points":["esnext.string.code-points"],"core-js/modules/esnext.string.match-all":["esnext.string.match-all"],"core-js/modules/esnext.string.replace-all":["esnext.string.replace-all"],"core-js/modules/esnext.symbol.async-dispose":["esnext.symbol.async-dispose"],"core-js/modules/esnext.symbol.dispose":["esnext.symbol.dispose"],"core-js/modules/esnext.symbol.observable":["esnext.symbol.observable"],"core-js/modules/esnext.symbol.pattern-match":["esnext.symbol.pattern-match"],"core-js/modules/esnext.symbol.replace-all":["esnext.symbol.replace-all"],"core-js/modules/esnext.typed-array.at":["esnext.typed-array.at"],"core-js/modules/esnext.typed-array.filter-out":["esnext.typed-array.filter-out"],"core-js/modules/esnext.weak-map.delete-all":["esnext.weak-map.delete-all"],"core-js/modules/esnext.weak-map.emplace":["esnext.weak-map.emplace"],"core-js/modules/esnext.weak-map.from":["esnext.weak-map.from"],"core-js/modules/esnext.weak-map.of":["esnext.weak-map.of"],"core-js/modules/esnext.weak-map.upsert":["esnext.weak-map.upsert"],"core-js/modules/esnext.weak-set.add-all":["esnext.weak-set.add-all"],"core-js/modules/esnext.weak-set.delete-all":["esnext.weak-set.delete-all"],"core-js/modules/esnext.weak-set.from":["esnext.weak-set.from"],"core-js/modules/esnext.weak-set.of":["esnext.weak-set.of"],"core-js/modules/web.dom-collections.for-each":["web.dom-collections.for-each"],"core-js/modules/web.dom-collections.iterator":["web.dom-collections.iterator"],"core-js/modules/web.immediate":["web.immediate"],"core-js/modules/web.queue-microtask":["web.queue-microtask"],"core-js/modules/web.timers":["web.timers"],"core-js/modules/web.url":["web.url"],"core-js/modules/web.url-search-params":["web.url-search-params"],"core-js/modules/web.url.to-json":["web.url.to-json"],"core-js/proposals":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/proposals/array-filtering":["esnext.array.filter-out","esnext.typed-array.filter-out"],"core-js/proposals/array-is-template-object":["esnext.array.is-template-object"],"core-js/proposals/array-last":["esnext.array.last-index","esnext.array.last-item"],"core-js/proposals/array-unique":["es.map","esnext.array.unique-by"],"core-js/proposals/collection-methods":["esnext.map.delete-all","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.set.add-all","esnext.set.delete-all","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.join","esnext.set.map","esnext.set.reduce","esnext.set.some","esnext.weak-map.delete-all","esnext.weak-set.add-all","esnext.weak-set.delete-all"],"core-js/proposals/collection-of-from":["esnext.map.from","esnext.map.of","esnext.set.from","esnext.set.of","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-set.from","esnext.weak-set.of"],"core-js/proposals/efficient-64-bit-arithmetic":["esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.umulh"],"core-js/proposals/global-this":["esnext.global-this"],"core-js/proposals/iterator-helpers":["esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array"],"core-js/proposals/keys-composition":["esnext.composite-key","esnext.composite-symbol"],"core-js/proposals/map-update-or-insert":["esnext.map.emplace","esnext.map.update-or-insert","esnext.map.upsert","esnext.weak-map.emplace","esnext.weak-map.upsert"],"core-js/proposals/map-upsert":["esnext.map.emplace","esnext.map.update-or-insert","esnext.map.upsert","esnext.weak-map.emplace","esnext.weak-map.upsert"],"core-js/proposals/math-extensions":["esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale"],"core-js/proposals/math-signbit":["esnext.math.signbit"],"core-js/proposals/number-from-string":["esnext.number.from-string"],"core-js/proposals/number-range":["esnext.bigint.range","esnext.number.range"],"core-js/proposals/object-iteration":["esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values"],"core-js/proposals/observable":["esnext.observable","esnext.symbol.observable"],"core-js/proposals/pattern-matching":["esnext.symbol.pattern-match"],"core-js/proposals/promise-all-settled":["esnext.promise.all-settled"],"core-js/proposals/promise-any":["esnext.aggregate-error","esnext.promise.any"],"core-js/proposals/promise-try":["esnext.promise.try"],"core-js/proposals/reflect-metadata":["esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata"],"core-js/proposals/relative-indexing-method":["esnext.array.at","esnext.typed-array.at"],"core-js/proposals/seeded-random":["esnext.math.seeded-prng"],"core-js/proposals/set-methods":["esnext.set.difference","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.symmetric-difference","esnext.set.union"],"core-js/proposals/string-at":["esnext.string.at"],"core-js/proposals/string-code-points":["esnext.string.code-points"],"core-js/proposals/string-match-all":["esnext.string.match-all"],"core-js/proposals/string-replace-all":["esnext.string.replace-all","esnext.symbol.replace-all"],"core-js/proposals/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/proposals/using-statement":["esnext.symbol.async-dispose","esnext.symbol.dispose"],"core-js/stable":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/stable/aggregate-error":["es.aggregate-error","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/stable/array":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.string.iterator"],"core-js/stable/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/stable/array-buffer/constructor":["es.array-buffer.constructor","es.object.to-string"],"core-js/stable/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/stable/array-buffer/slice":["es.array-buffer.slice"],"core-js/stable/array/concat":["es.array.concat"],"core-js/stable/array/copy-within":["es.array.copy-within"],"core-js/stable/array/entries":["es.array.iterator"],"core-js/stable/array/every":["es.array.every"],"core-js/stable/array/fill":["es.array.fill"],"core-js/stable/array/filter":["es.array.filter"],"core-js/stable/array/find":["es.array.find"],"core-js/stable/array/find-index":["es.array.find-index"],"core-js/stable/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/array/for-each":["es.array.for-each"],"core-js/stable/array/from":["es.array.from","es.string.iterator"],"core-js/stable/array/includes":["es.array.includes"],"core-js/stable/array/index-of":["es.array.index-of"],"core-js/stable/array/is-array":["es.array.is-array"],"core-js/stable/array/iterator":["es.array.iterator"],"core-js/stable/array/join":["es.array.join"],"core-js/stable/array/keys":["es.array.iterator"],"core-js/stable/array/last-index-of":["es.array.last-index-of"],"core-js/stable/array/map":["es.array.map"],"core-js/stable/array/of":["es.array.of"],"core-js/stable/array/reduce":["es.array.reduce"],"core-js/stable/array/reduce-right":["es.array.reduce-right"],"core-js/stable/array/reverse":["es.array.reverse"],"core-js/stable/array/slice":["es.array.slice"],"core-js/stable/array/some":["es.array.some"],"core-js/stable/array/sort":["es.array.sort"],"core-js/stable/array/splice":["es.array.splice"],"core-js/stable/array/values":["es.array.iterator"],"core-js/stable/array/virtual":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map"],"core-js/stable/array/virtual/concat":["es.array.concat"],"core-js/stable/array/virtual/copy-within":["es.array.copy-within"],"core-js/stable/array/virtual/entries":["es.array.iterator"],"core-js/stable/array/virtual/every":["es.array.every"],"core-js/stable/array/virtual/fill":["es.array.fill"],"core-js/stable/array/virtual/filter":["es.array.filter"],"core-js/stable/array/virtual/find":["es.array.find"],"core-js/stable/array/virtual/find-index":["es.array.find-index"],"core-js/stable/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/array/virtual/for-each":["es.array.for-each"],"core-js/stable/array/virtual/includes":["es.array.includes"],"core-js/stable/array/virtual/index-of":["es.array.index-of"],"core-js/stable/array/virtual/iterator":["es.array.iterator"],"core-js/stable/array/virtual/join":["es.array.join"],"core-js/stable/array/virtual/keys":["es.array.iterator"],"core-js/stable/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/stable/array/virtual/map":["es.array.map"],"core-js/stable/array/virtual/reduce":["es.array.reduce"],"core-js/stable/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/stable/array/virtual/reverse":["es.array.reverse"],"core-js/stable/array/virtual/slice":["es.array.slice"],"core-js/stable/array/virtual/some":["es.array.some"],"core-js/stable/array/virtual/sort":["es.array.sort"],"core-js/stable/array/virtual/splice":["es.array.splice"],"core-js/stable/array/virtual/values":["es.array.iterator"],"core-js/stable/clear-immediate":["web.immediate"],"core-js/stable/data-view":["es.data-view","es.object.to-string"],"core-js/stable/date":["es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/stable/date/now":["es.date.now"],"core-js/stable/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/stable/date/to-json":["es.date.to-json"],"core-js/stable/date/to-primitive":["es.date.to-primitive"],"core-js/stable/date/to-string":["es.date.to-string"],"core-js/stable/dom-collections":["es.array.iterator","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/stable/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/stable/dom-collections/iterator":["web.dom-collections.iterator"],"core-js/stable/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/stable/function/bind":["es.function.bind"],"core-js/stable/function/has-instance":["es.function.has-instance"],"core-js/stable/function/name":["es.function.name"],"core-js/stable/function/virtual":["es.function.bind"],"core-js/stable/function/virtual/bind":["es.function.bind"],"core-js/stable/global-this":["es.global-this"],"core-js/stable/instance/bind":["es.function.bind"],"core-js/stable/instance/code-point-at":["es.string.code-point-at"],"core-js/stable/instance/concat":["es.array.concat"],"core-js/stable/instance/copy-within":["es.array.copy-within"],"core-js/stable/instance/ends-with":["es.string.ends-with"],"core-js/stable/instance/entries":["es.array.iterator","web.dom-collections.iterator"],"core-js/stable/instance/every":["es.array.every"],"core-js/stable/instance/fill":["es.array.fill"],"core-js/stable/instance/filter":["es.array.filter"],"core-js/stable/instance/find":["es.array.find"],"core-js/stable/instance/find-index":["es.array.find-index"],"core-js/stable/instance/flags":["es.regexp.flags"],"core-js/stable/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/stable/instance/includes":["es.array.includes","es.string.includes"],"core-js/stable/instance/index-of":["es.array.index-of"],"core-js/stable/instance/keys":["es.array.iterator","web.dom-collections.iterator"],"core-js/stable/instance/last-index-of":["es.array.last-index-of"],"core-js/stable/instance/map":["es.array.map"],"core-js/stable/instance/match-all":["es.string.match-all"],"core-js/stable/instance/pad-end":["es.string.pad-end"],"core-js/stable/instance/pad-start":["es.string.pad-start"],"core-js/stable/instance/reduce":["es.array.reduce"],"core-js/stable/instance/reduce-right":["es.array.reduce-right"],"core-js/stable/instance/repeat":["es.string.repeat"],"core-js/stable/instance/replace-all":["es.string.replace-all"],"core-js/stable/instance/reverse":["es.array.reverse"],"core-js/stable/instance/slice":["es.array.slice"],"core-js/stable/instance/some":["es.array.some"],"core-js/stable/instance/sort":["es.array.sort"],"core-js/stable/instance/splice":["es.array.splice"],"core-js/stable/instance/starts-with":["es.string.starts-with"],"core-js/stable/instance/trim":["es.string.trim"],"core-js/stable/instance/trim-end":["es.string.trim-end"],"core-js/stable/instance/trim-left":["es.string.trim-start"],"core-js/stable/instance/trim-right":["es.string.trim-end"],"core-js/stable/instance/trim-start":["es.string.trim-start"],"core-js/stable/instance/values":["es.array.iterator","web.dom-collections.iterator"],"core-js/stable/json":["es.json.stringify","es.json.to-string-tag"],"core-js/stable/json/stringify":["es.json.stringify"],"core-js/stable/json/to-string-tag":["es.json.to-string-tag"],"core-js/stable/map":["es.map","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc"],"core-js/stable/math/acosh":["es.math.acosh"],"core-js/stable/math/asinh":["es.math.asinh"],"core-js/stable/math/atanh":["es.math.atanh"],"core-js/stable/math/cbrt":["es.math.cbrt"],"core-js/stable/math/clz32":["es.math.clz32"],"core-js/stable/math/cosh":["es.math.cosh"],"core-js/stable/math/expm1":["es.math.expm1"],"core-js/stable/math/fround":["es.math.fround"],"core-js/stable/math/hypot":["es.math.hypot"],"core-js/stable/math/imul":["es.math.imul"],"core-js/stable/math/log10":["es.math.log10"],"core-js/stable/math/log1p":["es.math.log1p"],"core-js/stable/math/log2":["es.math.log2"],"core-js/stable/math/sign":["es.math.sign"],"core-js/stable/math/sinh":["es.math.sinh"],"core-js/stable/math/tanh":["es.math.tanh"],"core-js/stable/math/to-string-tag":["es.math.to-string-tag"],"core-js/stable/math/trunc":["es.math.trunc"],"core-js/stable/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision"],"core-js/stable/number/constructor":["es.number.constructor"],"core-js/stable/number/epsilon":["es.number.epsilon"],"core-js/stable/number/is-finite":["es.number.is-finite"],"core-js/stable/number/is-integer":["es.number.is-integer"],"core-js/stable/number/is-nan":["es.number.is-nan"],"core-js/stable/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/stable/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/stable/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/stable/number/parse-float":["es.number.parse-float"],"core-js/stable/number/parse-int":["es.number.parse-int"],"core-js/stable/number/to-fixed":["es.number.to-fixed"],"core-js/stable/number/to-precision":["es.number.to-precision"],"core-js/stable/number/virtual":["es.number.to-fixed","es.number.to-precision"],"core-js/stable/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/stable/number/virtual/to-precision":["es.number.to-precision"],"core-js/stable/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag"],"core-js/stable/object/assign":["es.object.assign"],"core-js/stable/object/create":["es.object.create"],"core-js/stable/object/define-getter":["es.object.define-getter"],"core-js/stable/object/define-properties":["es.object.define-properties"],"core-js/stable/object/define-property":["es.object.define-property"],"core-js/stable/object/define-setter":["es.object.define-setter"],"core-js/stable/object/entries":["es.object.entries"],"core-js/stable/object/freeze":["es.object.freeze"],"core-js/stable/object/from-entries":["es.array.iterator","es.object.from-entries"],"core-js/stable/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/stable/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/stable/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/stable/object/get-own-property-symbols":["es.symbol"],"core-js/stable/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/stable/object/is":["es.object.is"],"core-js/stable/object/is-extensible":["es.object.is-extensible"],"core-js/stable/object/is-frozen":["es.object.is-frozen"],"core-js/stable/object/is-sealed":["es.object.is-sealed"],"core-js/stable/object/keys":["es.object.keys"],"core-js/stable/object/lookup-getter":["es.object.lookup-setter"],"core-js/stable/object/lookup-setter":["es.object.lookup-setter"],"core-js/stable/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/stable/object/seal":["es.object.seal"],"core-js/stable/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/stable/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/stable/object/values":["es.object.values"],"core-js/stable/parse-float":["es.parse-float"],"core-js/stable/parse-int":["es.parse-int"],"core-js/stable/promise":["es.aggregate-error","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/promise/all-settled":["es.promise","es.promise.all-settled"],"core-js/stable/promise/any":["es.aggregate-error","es.promise","es.promise.any"],"core-js/stable/promise/finally":["es.promise","es.promise.finally"],"core-js/stable/queue-microtask":["web.queue-microtask"],"core-js/stable/reflect":["es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag"],"core-js/stable/reflect/apply":["es.reflect.apply"],"core-js/stable/reflect/construct":["es.reflect.construct"],"core-js/stable/reflect/define-property":["es.reflect.define-property"],"core-js/stable/reflect/delete-property":["es.reflect.delete-property"],"core-js/stable/reflect/get":["es.reflect.get"],"core-js/stable/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/stable/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/stable/reflect/has":["es.reflect.has"],"core-js/stable/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/stable/reflect/own-keys":["es.reflect.own-keys"],"core-js/stable/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/stable/reflect/set":["es.reflect.set"],"core-js/stable/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/stable/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/stable/regexp":["es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/stable/regexp/constructor":["es.regexp.constructor"],"core-js/stable/regexp/flags":["es.regexp.flags"],"core-js/stable/regexp/match":["es.string.match"],"core-js/stable/regexp/replace":["es.string.replace"],"core-js/stable/regexp/search":["es.string.search"],"core-js/stable/regexp/split":["es.string.split"],"core-js/stable/regexp/sticky":["es.regexp.sticky"],"core-js/stable/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/stable/regexp/to-string":["es.regexp.to-string"],"core-js/stable/set":["es.object.to-string","es.set","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/set-immediate":["web.immediate"],"core-js/stable/set-interval":["web.timers"],"core-js/stable/set-timeout":["web.timers"],"core-js/stable/string":["es.regexp.exec","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/stable/string/anchor":["es.string.anchor"],"core-js/stable/string/big":["es.string.big"],"core-js/stable/string/blink":["es.string.blink"],"core-js/stable/string/bold":["es.string.bold"],"core-js/stable/string/code-point-at":["es.string.code-point-at"],"core-js/stable/string/ends-with":["es.string.ends-with"],"core-js/stable/string/fixed":["es.string.fixed"],"core-js/stable/string/fontcolor":["es.string.fontcolor"],"core-js/stable/string/fontsize":["es.string.fontsize"],"core-js/stable/string/from-code-point":["es.string.from-code-point"],"core-js/stable/string/includes":["es.string.includes"],"core-js/stable/string/italics":["es.string.italics"],"core-js/stable/string/iterator":["es.string.iterator"],"core-js/stable/string/link":["es.string.link"],"core-js/stable/string/match":["es.regexp.exec","es.string.match"],"core-js/stable/string/match-all":["es.string.match-all"],"core-js/stable/string/pad-end":["es.string.pad-end"],"core-js/stable/string/pad-start":["es.string.pad-start"],"core-js/stable/string/raw":["es.string.raw"],"core-js/stable/string/repeat":["es.string.repeat"],"core-js/stable/string/replace":["es.regexp.exec","es.string.replace"],"core-js/stable/string/replace-all":["es.string.replace-all"],"core-js/stable/string/search":["es.regexp.exec","es.string.search"],"core-js/stable/string/small":["es.string.small"],"core-js/stable/string/split":["es.regexp.exec","es.string.split"],"core-js/stable/string/starts-with":["es.string.starts-with"],"core-js/stable/string/strike":["es.string.strike"],"core-js/stable/string/sub":["es.string.sub"],"core-js/stable/string/sup":["es.string.sup"],"core-js/stable/string/trim":["es.string.trim"],"core-js/stable/string/trim-end":["es.string.trim-end"],"core-js/stable/string/trim-left":["es.string.trim-start"],"core-js/stable/string/trim-right":["es.string.trim-end"],"core-js/stable/string/trim-start":["es.string.trim-start"],"core-js/stable/string/virtual":["es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/stable/string/virtual/anchor":["es.string.anchor"],"core-js/stable/string/virtual/big":["es.string.big"],"core-js/stable/string/virtual/blink":["es.string.blink"],"core-js/stable/string/virtual/bold":["es.string.bold"],"core-js/stable/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/stable/string/virtual/ends-with":["es.string.ends-with"],"core-js/stable/string/virtual/fixed":["es.string.fixed"],"core-js/stable/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/stable/string/virtual/fontsize":["es.string.fontsize"],"core-js/stable/string/virtual/includes":["es.string.includes"],"core-js/stable/string/virtual/italics":["es.string.italics"],"core-js/stable/string/virtual/iterator":["es.string.iterator"],"core-js/stable/string/virtual/link":["es.string.link"],"core-js/stable/string/virtual/match-all":["es.string.match-all"],"core-js/stable/string/virtual/pad-end":["es.string.pad-end"],"core-js/stable/string/virtual/pad-start":["es.string.pad-start"],"core-js/stable/string/virtual/repeat":["es.string.repeat"],"core-js/stable/string/virtual/replace-all":["es.string.replace-all"],"core-js/stable/string/virtual/small":["es.string.small"],"core-js/stable/string/virtual/starts-with":["es.string.starts-with"],"core-js/stable/string/virtual/strike":["es.string.strike"],"core-js/stable/string/virtual/sub":["es.string.sub"],"core-js/stable/string/virtual/sup":["es.string.sup"],"core-js/stable/string/virtual/trim":["es.string.trim"],"core-js/stable/string/virtual/trim-end":["es.string.trim-end"],"core-js/stable/string/virtual/trim-left":["es.string.trim-start"],"core-js/stable/string/virtual/trim-right":["es.string.trim-end"],"core-js/stable/string/virtual/trim-start":["es.string.trim-start"],"core-js/stable/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/stable/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/stable/symbol/description":["es.symbol.description"],"core-js/stable/symbol/for":["es.symbol"],"core-js/stable/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/stable/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/stable/symbol/iterator":["es.symbol.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/symbol/key-for":["es.symbol"],"core-js/stable/symbol/match":["es.symbol.match","es.string.match"],"core-js/stable/symbol/match-all":["es.symbol.match-all","es.string.match-all"],"core-js/stable/symbol/replace":["es.symbol.replace","es.string.replace"],"core-js/stable/symbol/search":["es.symbol.search","es.string.search"],"core-js/stable/symbol/species":["es.symbol.species"],"core-js/stable/symbol/split":["es.symbol.split","es.string.split"],"core-js/stable/symbol/to-primitive":["es.symbol.to-primitive"],"core-js/stable/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/stable/symbol/unscopables":["es.symbol.unscopables"],"core-js/stable/typed-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/stable/typed-array/entries":["es.typed-array.iterator"],"core-js/stable/typed-array/every":["es.typed-array.every"],"core-js/stable/typed-array/fill":["es.typed-array.fill"],"core-js/stable/typed-array/filter":["es.typed-array.filter"],"core-js/stable/typed-array/find":["es.typed-array.find"],"core-js/stable/typed-array/find-index":["es.typed-array.find-index"],"core-js/stable/typed-array/float32-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/float64-array":["es.object.to-string","es.typed-array.float64-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/for-each":["es.typed-array.for-each"],"core-js/stable/typed-array/from":["es.typed-array.from"],"core-js/stable/typed-array/includes":["es.typed-array.includes"],"core-js/stable/typed-array/index-of":["es.typed-array.index-of"],"core-js/stable/typed-array/int16-array":["es.object.to-string","es.typed-array.int16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/int32-array":["es.object.to-string","es.typed-array.int32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/int8-array":["es.object.to-string","es.typed-array.int8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/iterator":["es.typed-array.iterator"],"core-js/stable/typed-array/join":["es.typed-array.join"],"core-js/stable/typed-array/keys":["es.typed-array.iterator"],"core-js/stable/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/stable/typed-array/map":["es.typed-array.map"],"core-js/stable/typed-array/of":["es.typed-array.of"],"core-js/stable/typed-array/reduce":["es.typed-array.reduce"],"core-js/stable/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/stable/typed-array/reverse":["es.typed-array.reverse"],"core-js/stable/typed-array/set":["es.typed-array.set"],"core-js/stable/typed-array/slice":["es.typed-array.slice"],"core-js/stable/typed-array/some":["es.typed-array.some"],"core-js/stable/typed-array/sort":["es.typed-array.sort"],"core-js/stable/typed-array/subarray":["es.typed-array.subarray"],"core-js/stable/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/stable/typed-array/to-string":["es.typed-array.to-string"],"core-js/stable/typed-array/uint16-array":["es.object.to-string","es.typed-array.uint16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/uint32-array":["es.object.to-string","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/uint8-array":["es.object.to-string","es.typed-array.uint8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/uint8-clamped-array":["es.object.to-string","es.typed-array.uint8-clamped-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/values":["es.typed-array.iterator"],"core-js/stable/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/stable/url-search-params":["web.url-search-params"],"core-js/stable/url/to-json":["web.url.to-json"],"core-js/stable/weak-map":["es.object.to-string","es.weak-map","web.dom-collections.iterator"],"core-js/stable/weak-set":["es.object.to-string","es.weak-set","web.dom-collections.iterator"],"core-js/stage":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/stage/0":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/stage/1":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.number.from-string","esnext.number.range","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of"],"core-js/stage/2":["esnext.aggregate-error","esnext.array.at","esnext.array.is-template-object","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.emplace","esnext.map.update-or-insert","esnext.map.upsert","esnext.promise.all-settled","esnext.promise.any","esnext.set.difference","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.symmetric-difference","esnext.set.union","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.replace-all","esnext.typed-array.at","esnext.weak-map.emplace","esnext.weak-map.upsert"],"core-js/stage/3":["esnext.aggregate-error","esnext.array.at","esnext.global-this","esnext.promise.all-settled","esnext.promise.any","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.replace-all","esnext.typed-array.at"],"core-js/stage/4":["esnext.aggregate-error","esnext.global-this","esnext.promise.all-settled","esnext.promise.any","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.replace-all"],"core-js/stage/pre":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/web":["web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/web/dom-collections":["web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/web/immediate":["web.immediate"],"core-js/web/queue-microtask":["web.queue-microtask"],"core-js/web/timers":["web.timers"],"core-js/web/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/web/url-search-params":["web.url-search-params"]}')},17792:e=>{"use strict";e.exports=JSON.parse('{"3.0":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.last-index","esnext.array.last-item","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.map.delete-all","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"3.1":["es.string.match-all","es.symbol.match-all","esnext.symbol.replace-all"],"3.2":["es.promise.all-settled","esnext.array.is-template-object","esnext.map.update-or-insert","esnext.symbol.async-dispose"],"3.3":["es.global-this","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.upsert","esnext.weak-map.upsert"],"3.4":["es.json.stringify"],"3.5":["esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values"],"3.6":["es.regexp.sticky","es.regexp.test"],"3.7":["es.aggregate-error","es.promise.any","es.reflect.to-string-tag","es.string.replace-all","esnext.map.emplace","esnext.weak-map.emplace"],"3.8":["esnext.array.at","esnext.array.filter-out","esnext.array.unique-by","esnext.bigint.range","esnext.number.range","esnext.typed-array.at","esnext.typed-array.filter-out"]}')},44653:e=>{"use strict";e.exports=JSON.parse('["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"]')},22174:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/preset-env","version":"7.12.11","description":"A Babel preset for each environment.","author":"Henry Zhu ","homepage":"https://babeljs.io/","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-env"},"main":"lib/index.js","dependencies":{"@babel/compat-data":"^7.12.7","@babel/helper-compilation-targets":"^7.12.5","@babel/helper-module-imports":"^7.12.5","@babel/helper-plugin-utils":"^7.10.4","@babel/helper-validator-option":"^7.12.11","@babel/plugin-proposal-async-generator-functions":"^7.12.1","@babel/plugin-proposal-class-properties":"^7.12.1","@babel/plugin-proposal-dynamic-import":"^7.12.1","@babel/plugin-proposal-export-namespace-from":"^7.12.1","@babel/plugin-proposal-json-strings":"^7.12.1","@babel/plugin-proposal-logical-assignment-operators":"^7.12.1","@babel/plugin-proposal-nullish-coalescing-operator":"^7.12.1","@babel/plugin-proposal-numeric-separator":"^7.12.7","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-proposal-optional-catch-binding":"^7.12.1","@babel/plugin-proposal-optional-chaining":"^7.12.7","@babel/plugin-proposal-private-methods":"^7.12.1","@babel/plugin-proposal-unicode-property-regex":"^7.12.1","@babel/plugin-syntax-async-generators":"^7.8.0","@babel/plugin-syntax-class-properties":"^7.12.1","@babel/plugin-syntax-dynamic-import":"^7.8.0","@babel/plugin-syntax-export-namespace-from":"^7.8.3","@babel/plugin-syntax-json-strings":"^7.8.0","@babel/plugin-syntax-logical-assignment-operators":"^7.10.4","@babel/plugin-syntax-nullish-coalescing-operator":"^7.8.0","@babel/plugin-syntax-numeric-separator":"^7.10.4","@babel/plugin-syntax-object-rest-spread":"^7.8.0","@babel/plugin-syntax-optional-catch-binding":"^7.8.0","@babel/plugin-syntax-optional-chaining":"^7.8.0","@babel/plugin-syntax-top-level-await":"^7.12.1","@babel/plugin-transform-arrow-functions":"^7.12.1","@babel/plugin-transform-async-to-generator":"^7.12.1","@babel/plugin-transform-block-scoped-functions":"^7.12.1","@babel/plugin-transform-block-scoping":"^7.12.11","@babel/plugin-transform-classes":"^7.12.1","@babel/plugin-transform-computed-properties":"^7.12.1","@babel/plugin-transform-destructuring":"^7.12.1","@babel/plugin-transform-dotall-regex":"^7.12.1","@babel/plugin-transform-duplicate-keys":"^7.12.1","@babel/plugin-transform-exponentiation-operator":"^7.12.1","@babel/plugin-transform-for-of":"^7.12.1","@babel/plugin-transform-function-name":"^7.12.1","@babel/plugin-transform-literals":"^7.12.1","@babel/plugin-transform-member-expression-literals":"^7.12.1","@babel/plugin-transform-modules-amd":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-modules-systemjs":"^7.12.1","@babel/plugin-transform-modules-umd":"^7.12.1","@babel/plugin-transform-named-capturing-groups-regex":"^7.12.1","@babel/plugin-transform-new-target":"^7.12.1","@babel/plugin-transform-object-super":"^7.12.1","@babel/plugin-transform-parameters":"^7.12.1","@babel/plugin-transform-property-literals":"^7.12.1","@babel/plugin-transform-regenerator":"^7.12.1","@babel/plugin-transform-reserved-words":"^7.12.1","@babel/plugin-transform-shorthand-properties":"^7.12.1","@babel/plugin-transform-spread":"^7.12.1","@babel/plugin-transform-sticky-regex":"^7.12.7","@babel/plugin-transform-template-literals":"^7.12.1","@babel/plugin-transform-typeof-symbol":"^7.12.10","@babel/plugin-transform-unicode-escapes":"^7.12.1","@babel/plugin-transform-unicode-regex":"^7.12.1","@babel/preset-modules":"^0.1.3","@babel/types":"^7.12.11","core-js-compat":"^3.8.0","semver":"^5.5.0"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"7.12.10","@babel/helper-plugin-test-runner":"7.10.4","@babel/plugin-syntax-dynamic-import":"^7.2.0"}}')},43323:e=>{"use strict";e.exports={version:"4.3.0"}},77591:e=>{"use strict";e.exports={i8:"5.1.1"}},35464:e=>{"use strict";e.exports={i8:"4.3.0"}},67589:e=>{"use strict";e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')},74884:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=74884;e.exports=webpackEmptyAsyncContext},64118:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/core","version":"7.12.10","description":"Babel compiler core.","main":"lib/index.js","author":"Sebastian McKenzie ","homepage":"https://babeljs.io/","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-core"},"keywords":["6to5","babel","classes","const","es6","harmony","let","modules","transpile","transpiler","var","babel-core","compiler"],"engines":{"node":">=6.9.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/babel"},"browser":{"./lib/config/files/index.js":"./lib/config/files/index-browser.js","./lib/transform-file.js":"./lib/transform-file-browser.js","./src/config/files/index.js":"./src/config/files/index-browser.js","./src/transform-file.js":"./src/transform-file-browser.js"},"dependencies":{"@babel/code-frame":"^7.10.4","@babel/generator":"^7.12.10","@babel/helper-module-transforms":"^7.12.1","@babel/helpers":"^7.12.5","@babel/parser":"^7.12.10","@babel/template":"^7.12.7","@babel/traverse":"^7.12.10","@babel/types":"^7.12.10","convert-source-map":"^1.7.0","debug":"^4.1.0","gensync":"^1.0.0-beta.1","json5":"^2.1.2","lodash":"^4.17.19","semver":"^5.4.1","source-map":"^0.5.0"},"devDependencies":{"@babel/helper-transform-fixture-test-runner":"7.12.10"}}')},88842:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/helper-create-class-features-plugin","version":"7.12.1","author":"The Babel Team (https://babeljs.io/team)","license":"MIT","description":"Compile class public and private fields, private methods and decorators to ES6","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-helper-create-class-features-plugin"},"main":"lib/index.js","publishConfig":{"access":"public"},"keywords":["babel","babel-plugin"],"dependencies":{"@babel/helper-function-name":"^7.10.4","@babel/helper-member-expression-to-functions":"^7.12.1","@babel/helper-optimise-call-expression":"^7.10.4","@babel/helper-replace-supers":"^7.12.1","@babel/helper-split-export-declaration":"^7.10.4"},"peerDependencies":{"@babel/core":"^7.0.0"},"devDependencies":{"@babel/core":"^7.12.1","@babel/helper-plugin-test-runner":"7.10.4"}}')},36553:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=_interopRequireWildcard(r(39571));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=s.line;const c=s.column;let p=Math.max(o-(i+1),0);let f=Math.min(t.length,u+a);if(o===-1){p=0}if(u===-1){f=t.length}const d=u-o;const h={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){h[r]=true}else if(e===0){const e=t[r-1].length;h[r]=[l,e-l+1]}else if(e===d){h[r]=[0,c]}else{const n=t[r-e].length;h[r]=[0,n]}}}else{if(l===c){if(l){h[o]=[l,0]}else{h[o]=true}}else{h[o]=[l,c-l]}}return{start:p,end:f,markerLines:h}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return s?e(t):t};const u=e.split(i);const{start:c,end:p,markerLines:f}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const h=String(p).length;const y=s?(0,n.default)(e,r):e;let m=y.split(i).slice(c,p).map((e,t)=>{const n=c+1+t;const s=` ${n}`.slice(-h);const i=` ${s} | `;const a=f[n];const u=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",l(o.gutter,i.replace(/\d/g," ")),n,l(o.marker,"^").repeat(s)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,i),e,t].join("")}else{return` ${l(o.gutter,i)}${e}`}}).join("\n");if(r.message&&!d){m=`${" ".repeat(h+1)}${r.message}\n${m}`}if(s){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},1335:(e,t,r)=>{e.exports=r(99898)},72153:(e,t,r)=>{e.exports=r(65561)},61931:()=>{},6135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(28419);var s=r(83258);const i=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return i(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return i(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const i=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const u=l?i:r;const c=yield*getCachedValueOrWait(l,u,a,e,o);if(c.valid)return c.value;const p=new CacheConfigurator(o);const f=t(e,p);let d;let h;if((0,s.isIterableIterator)(f)){const t=f;h=yield*(0,n.onFirstPause)(t,()=>{d=setupAsyncLocks(p,a,e)})}else{h=f}updateFunctionCache(u,p,e,h);if(d){a.delete(e);d.release(h)}return h}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,s,i){const a=yield*getCachedValue(t,s,i);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,s,i);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let s=e.get(r);t.deactivate();switch(t.mode()){case"forever":s=[{value:n,valid:genTrue}];e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}];e.set(r,s);break;case"valid":if(s){s.push({value:n,valid:t.validator()})}else{s=[{value:n,valid:t.validator()}];e.set(r,s)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then(e=>{this._pairs.push([e,r]);return e})}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},37363:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}var n=r(42958);var s=r(30797);var i=r(82504);var a=r(21735);var o=r(6135);var l=r(74299);const u=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*c(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map(e=>normalizeOptions(e)),files:new Set}}const c=makeChainWalker({root:e=>p(e),env:(e,t)=>f(e)(t),overrides:(e,t)=>d(e)(t),overridesEnv:(e,t,r)=>h(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=c;const p=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const f=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const h=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,r))));function*buildRootChain(e,t){let r,n;const s=new i.ConfigPrinter;const o=yield*b({options:e,dirname:t.cwd},t,undefined,s);if(!o)return null;const l=yield*s.output();let u;if(typeof e.configFile==="string"){u=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){u=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:c,babelrcRoots:p}=e;let f=t.cwd;const d=emptyChain();const h=new i.ConfigPrinter;if(u){const e=y(u);const n=yield*loadFileChain(e,t,undefined,h);if(!n)return null;r=yield*h.output();if(c===undefined){c=e.options.babelrc}if(p===undefined){f=e.dirname;p=e.options.babelrcRoots}mergeChain(d,n)}let g,T;let v=false;const x=emptyChain();if((c===true||c===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,p,f)){({ignore:g,config:T}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(g){x.files.add(g.filepath)}if(g&&shouldIgnore(t,g.ignore,null,g.dirname)){v=true}if(T&&!v){const e=m(T);const r=new i.ConfigPrinter;const s=yield*loadFileChain(e,t,undefined,r);if(!s){v=true}else{n=yield*r.output();mergeChain(x,s)}}if(T&&v){x.files.add(T.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const E=mergeChain(mergeChain(mergeChain(emptyChain(),d),x),o);return{plugins:v?[]:dedupDescriptors(E.plugins),presets:v?[]:dedupDescriptors(E.presets),options:v?[]:E.options.map(e=>normalizeOptions(e)),fileHandling:v?"ignored":"transpile",ignore:g||undefined,babelrc:T||undefined,config:u||undefined,files:E.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const i=e.root;if(r===undefined){return t.directories.indexOf(i)!==-1}let a=r;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(n,e):e});if(a.length===1&&a[0]===i){return t.directories.indexOf(i)!==-1}return a.some(r=>{if(typeof r==="string"){r=(0,s.default)(r,n)}return t.directories.some(t=>{return matchPattern(r,n,t,e)})})}const y=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options)}));const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options)}));const g=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options)}));const b=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const T=makeChainWalker({root:e=>v(e),env:(e,t)=>x(e)(t),overrides:(e,t)=>E(e)(t),overridesEnv:(e,t,r)=>S(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const s=yield*T(e,t,r,n);if(s){s.files.add(e.filepath)}return s}const v=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const x=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const E=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const S=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,r))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,s){const i=t.env&&t.env[s];return i?n(e,i,`${r}.env["${s}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,s){const i=t.overrides&&t.overrides[s];if(!i)throw new Error("Assertion failure - missing override");return n(e,i,`${r}.overrides[${s}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,s,i){const a=t.overrides&&t.overrides[s];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[i];return o?n(e,o,`${r}.overrides[${s}].env["${i}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*(i,a,o=new Set,l){const{dirname:u}=i;const c=[];const p=e(i);if(configIsApplicable(p,u,a)){c.push({config:p,envName:undefined,index:undefined});const e=t(i,a.envName);if(e&&configIsApplicable(e,u,a)){c.push({config:e,envName:a.envName,index:undefined})}(p.options.overrides||[]).forEach((e,t)=>{const s=r(i,t);if(configIsApplicable(s,u,a)){c.push({config:s,index:t,envName:undefined});const e=n(i,t,a.envName);if(e&&configIsApplicable(e,u,a)){c.push({config:e,index:t,envName:a.envName})}}})}if(c.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,u))){return null}const f=emptyChain();const d=s(i,a,l);for(const{config:e,index:t,envName:r}of c){if(!(yield*mergeExtendsChain(f,e.options,u,a,o,l))){return null}d(e,t,r);yield*mergeChainOpts(f,e)}return f}}function*mergeExtendsChain(e,t,r,n,s,i){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(s,e=>` - ${e.filepath}`).join("\n"))}s.add(o);const l=yield*loadFileChain(g(o),n,s,i);s.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function*mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...yield*r());e.presets.push(...yield*n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let s=t.get(e);if(!s){s=new Map;t.set(e,s)}let i=s.get(n.name);if(!i){i={value:n};r.push(i);if(!n.ownPass)s.set(n.name,i)}else{i.value=n}}else{r.push({value:n})}}return r.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,r){return(e.test===undefined||configFieldIsApplicable(r,e.test,t))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t))}function configFieldIsApplicable(e,t,r){const n=Array.isArray(t)?t:[t];return matchesPatterns(e,n,r)}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var s;const r=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${n}"`;u(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var i;const t=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r)}\` from "${n}"`;u(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r){return t.some(t=>matchPattern(t,r,e.filename,e))}function matchPattern(e,t,r,n){if(typeof e==="function"){return!!e(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,s.default)(e,t)}return e.test(r)}},74299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(21735);var s=r(83486);var i=r(6135);var a=r(53316);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,r){const{plugins:n,presets:s,passPerPreset:i}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:n?()=>c(n,e)(r):()=>handlerOf([]),presets:s?()=>l(s,e)(r)(!!i):()=>handlerOf([])}}function createUncachedDescriptors(e,t,r){let n;let s;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!n){n=yield*createPluginDescriptors(t.plugins||[],e,r)}return n},*presets(){if(!s){s=yield*createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)}return s}}}const o=new WeakMap;const l=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCacheSync)(t=>(0,i.makeStrongCache)(function*(n){const s=yield*createPresetDescriptors(e,r,t,n);return s.map(e=>loadCachedDescriptor(o,e))}))});const u=new WeakMap;const c=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCache)(function*(t){const n=yield*createPluginDescriptors(e,r,t);return n.map(e=>loadCachedDescriptor(u,e))})});const p={};function loadCachedDescriptor(e,t){const{value:r,options:n=p}=t;if(n===false)return t;let s=e.get(r);if(!s){s=new WeakMap;e.set(r,s)}let i=s.get(n);if(!i){i=[];s.set(n,i)}if(i.indexOf(t)===-1){const e=i.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}i.push(t)}return t}function*createPresetDescriptors(e,t,r,n){return yield*createDescriptors("preset",e,t,r,n)}function*createPluginDescriptors(e,t,r){return yield*createDescriptors("plugin",e,t,r)}function*createDescriptors(e,t,r,n,s){const i=yield*_gensync().all(t.map((t,i)=>createDescriptor(t,r,{type:e,alias:`${n}$${i}`,ownPass:!!s})));assertNoDuplicates(i);return i}function*createDescriptor(e,t,{type:r,alias:i,ownPass:a}){const o=(0,s.getItemDescriptor)(e);if(o){return o}let l;let u;let c=e;if(Array.isArray(c)){if(c.length===3){[c,u,l]=c}else{[c,u]=c}}let p=undefined;let f=null;if(typeof c==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?n.loadPlugin:n.loadPreset;const s=c;({filepath:f,value:c}=yield*e(c,t));p={request:s,resolved:f}}if(!c){throw new Error(`Unexpected falsy value: ${String(c)}`)}if(typeof c==="object"&&c.__esModule){if(c.default){c=c.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof c!=="object"&&typeof c!=="function"){throw new Error(`Unsupported format: ${typeof c}. Expected an object or a function.`)}if(f!==null&&typeof c==="object"&&c){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${f}`)}return{name:l,alias:f||i,value:c,options:u,dirname:t,ownPass:a,file:p}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter(e=>e.value===r.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}},96995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _json(){const e=r(33170);_json=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(6135);var s=r(77021);var i=r(18193);var a=r(39117);var o=r(30797);var l=r(60153);function _module(){const e=r(32282);_module=function(){return e};return e}const u=_debug()("babel:config:loading:files:configuration");const c=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=c;const p=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const f=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of c){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let s=null;const i=_path().dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(p,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?y(e.pkg):null)}if(!s){const e=_path().join(o,f);s=yield*g(e);if(s){u("Found ignore %o from %o.",s.filepath,i)}}}return{config:n,ignore:s}}function findRootConfig(e,t,r){return loadOneConfig(c,e,t,r)}function*loadOneConfig(e,t,r,n,s=null){const i=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),r,n)));const a=i.reduce((e,r)=>{if(r&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e},s);if(a){u("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,s){const i=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]});const a=yield*readConfig(i,n,s);if(!a){throw new Error(`Config file ${i} contains no configuration data`)}u("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().extname(e);return n===".js"||n===".cjs"||n===".mjs"?h(e,{envName:t,caller:r}):m(e)}const d=new Set;const h=(0,n.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(d.has(e)){t.never();u("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let r;try{d.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{d.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=r((0,s.makeConfigAPI)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof r.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(n&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:r}});const y=(0,n.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const m=(0,i.makeStaticFileCache)((e,t)=>{let r;try{r=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}});const g=(0,i.makeStaticFileCache)((e,t)=>{const r=_path().dirname(e);const n=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of n){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:n.map(e=>(0,o.default)(e,r))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().resolve(e,t);const n=yield*l.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},96760:(e,t,r)=>{"use strict";var n;n={value:true};t.Z=import_;function import_(e){return r(54039)(e)}},21735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return s.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return s.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return s.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return s.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return s.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return s.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return i.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return i.loadPreset}});var n=r(58760);var s=r(96995);var i=r(89442);({})},39117:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var n=r(28419);function _path(){const e=r(85622);_path=function(){return e};return e}function _url(){const e=r(78835);_url=function(){return e};return e}function _module(){const e=r(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)})}}let s;try{s=r(96760).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,r=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,r);case"unknown":try{return loadCjsDefault(e,r)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const r=require(e);return r!=null&&r.__esModule?r.default||(t?r:undefined):r}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!s){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield s((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},58760:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(18193);const s="package.json";function*findPackageData(e){let t=null;const r=[];let n=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){r.push(a);t=yield*i(_path().join(a,s));const e=_path().dirname(a);if(a===e){n=false;break}a=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}const i=(0,n.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}})},89442:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(39117);function _module(){const e=r(32282);_module=function(){return e};return e}const s=_debug()("babel:config:loading:files:plugins");const i=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const u=/^(@babel\/)(?!preset-|[^/]+\/)/;const c=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const f=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const r=resolvePlugin(e,t);if(!r){throw new Error(`Plugin ${e} not found relative to ${t}`)}const n=yield*requireModule("plugin",r);s("Loaded plugin %o from %o.",e,t);return{filepath:r,value:n}}function*loadPreset(e,t){const r=resolvePreset(e,t);if(!r){throw new Error(`Preset ${e} not found relative to ${t}`)}const n=yield*requireModule("preset",r);s("Loaded preset %o from %o.",e,t);return{filepath:r,value:n}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const r=e==="preset";return t.replace(r?o:a,`babel-${e}-`).replace(r?u:l,`$1${e}-`).replace(r?p:c,`$1babel-${e}-`).replace(f,`$1/babel-${e}`).replace(i,"")}function resolveStandardizedName(e,t,n=process.cwd()){const s=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(s,{paths:[n]})}catch(i){if(i.code!=="MODULE_NOT_FOUND")throw i;if(s!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(t,{paths:[n]});e=true}catch(e){}if(e){i.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(e,"@babel/"+t),{paths:[n]});a=true}catch(e){}if(a){i.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(l,t),{paths:[n]});o=true}catch(e){}if(o){i.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw i}}const d=new Set;function*requireModule(e,t){if(d.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{d.add(t);return yield*(0,n.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{d.delete(t)}}},18193:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(6135);var s=r(60153);function _fs2(){const e=r(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,n.makeStrongCache)(function*(t,r){const n=r.invalidate(()=>fileMtime(t));if(n===null){return null}return e(t,yield*s.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},8566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(28419);var s=r(83258);var i=r(85850);var a=r(41681);var o=r(83486);var l=r(37363);function _traverse(){const e=r(58941);_traverse=function(){return e};return e}var u=r(6135);var c=r(42958);var p=r(82055);var f=r(77021);var d=r(59074);var h=r(61931);var y=_gensync()(function*loadFullConfig(e){var t;const r=yield*(0,d.default)(e);if(!r){return null}const{options:n,context:i,fileHandling:a}=r;if(a==="ignored"){return null}const l={};const{plugins:u,presets:p}=n;if(!u||!p){throw new Error("Assertion failure - plugins and presets exist")}const f=Object.assign({},i,{targets:n.targets});const h=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const y=p.map(h);const m=u.map(h);const g=[[]];const b=[];const T=yield*enhanceError(i,function*recursePresetDescriptors(e,t){const r=[];for(let n=0;n0){g.splice(1,0,...r.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach(e=>{(0,s.mergeOptions)(l,e)})}}})(y,g[0]);if(T)return null;const v=l;(0,s.mergeOptions)(v,n);const x=Object.assign({},f,{assumptions:(t=v.assumptions)!=null?t:{}});yield*enhanceError(i,function*loadPluginDescriptors(){g[0].unshift(...m);for(const e of g){const t=[];b.push(t);for(let r=0;re.length>0).map(e=>({plugins:e}));v.passPerPreset=v.presets.length>0;return{options:v,passes:b}});t.default=y;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const m=e=>(0,u.makeWeakCache)(function*({value:t,options:r,dirname:s,alias:a},o){if(r===false)throw new Error("Assertion failure");r=r||{};let l=t;if(typeof t==="function"){const u=(0,n.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const c=Object.assign({},i,e(o));try{l=yield*u(c,r,s)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,n.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:r,dirname:s,alias:a}});const g=m(f.makePluginAPI);const b=m(f.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*T(yield*g(e,t),t)}const T=(0,u.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:s},i){const o=(0,p.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${s}$inherits`,value:l.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,t=>{return i.invalidate(r=>t(e,r))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,s)});const v=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const x=(e,t,r)=>{if(!t.filename){const{options:t}=e;v(t,r);if(t.overrides){t.overrides.forEach(e=>v(e,r))}}};function*loadPresetDescriptor(e,t){const r=E(yield*b(e,t));x(r,t,e);return yield*(0,l.buildPresetChain)(r,t)}const E=(0,u.makeWeakCacheSync)(({value:e,dirname:t,alias:r})=>{return{options:(0,c.validate)("preset",e),alias:r,dirname:t}});function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}},77021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=r(62519);_semver=function(){return e};return e}var n=r(85850);var s=r(6135);var i=r(61931);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,s.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const r=t=>e.using(e=>(0,s.assertSimpleType)(t(e.caller)));return{version:n.version,cache:e.simple(),env:t,async:()=>false,caller:r,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}},67058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},98534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(8566);var s=r(59074);var i=r(83486);const a=_gensync()(function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null});const o=_gensync()(i.createConfigItem);const l=e=>(t,r)=>{if(r===undefined&&typeof t==="function"){r=t;t=undefined}return r?e.errback(t,r):e.sync(t)};const u=l(s.loadPartialConfig);t.loadPartialConfig=u;const c=s.loadPartialConfig.sync;t.loadPartialConfigSync=c;const p=s.loadPartialConfig.async;t.loadPartialConfigAsync=p;const f=l(a);t.loadOptions=f;const d=a.sync;t.loadOptionsSync=d;const h=a.async;t.loadOptionsAsync=h;const y=o.sync;t.createConfigItemSync=y;const m=o.async;t.createConfigItemAsync=m;function createConfigItem(e,t,r){if(r!==undefined){return o.errback(e,t,r)}else if(typeof t==="function"){return o.errback(e,undefined,r)}else{return o.sync(e,t)}}},83486:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(74299);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:r}={}){const s=yield*(0,n.createDescriptor)(e,_path().resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(s)}function getItemDescriptor(e){if(e!=null&&e[s]){return e._descriptor}return undefined}const s=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[s]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,s,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},59074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(41681);var s=r(83258);var i=r(83486);var a=r(37363);var o=r(67058);var l=r(42958);var u=r(21735);var c=r(53316);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,u.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,u.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${u.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:p=".",rootMode:f="root",caller:d,cloneInputAst:h=true}=t;const y=_path().resolve(n);const m=resolveRootMode(_path().resolve(y,p),f);const g=typeof t.filename==="string"?_path().resolve(n,t.filename):undefined;const b=yield*(0,u.resolveShowConfigPath)(y);const T={filename:g,cwd:y,root:m,envName:r,caller:d,showConfig:b===g};const v=yield*(0,a.buildRootChain)(t,T);if(!v)return null;const x={assumptions:{}};v.options.forEach(e=>{(0,s.mergeOptions)(x,e)});const E=Object.assign({},x,{targets:(0,c.resolveTargets)(x,m),cloneInputAst:h,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:T.envName,cwd:T.cwd,root:T.root,rootMode:"root",filename:typeof T.filename==="string"?T.filename:undefined,plugins:v.plugins.map(e=>(0,i.createItemFromDescriptor)(e)),presets:v.presets.map(e=>(0,i.createItemFromDescriptor)(e))});return{options:E,context:T,fileHandling:v.fileHandling,ignore:v.ignore,babelrc:v.babelrc,config:v.config,files:v.files}}const p=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,["showIgnoredFiles"]);r}const s=yield*loadPrivatePartialConfig(e);if(!s)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:u,files:c}=s;if(u==="ignored"&&!t){return null}(i.plugins||[]).forEach(e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(i,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,u,c)});t.loadPartialConfig=p;class PartialConfig{constructor(e,t,r,n,s,i){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=s;this.files=i;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},30797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=r(85622);_path=function(){return e};return e}const n=`\\${_path().sep}`;const s=`(?:${n}|$)`;const i=`[^${n}]+`;const a=`(?:${i}${n})`;const o=`(?:${i}${s})`;const l=`${a}*?`;const u=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const r=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...r.map((e,t)=>{const c=t===r.length-1;if(e==="**")return c?u:l;if(e==="*")return c?o:a;if(e.indexOf("*.")===0){return i+escapeRegExp(e.slice(1))+(c?s:n)}return escapeRegExp(e)+(c?s:n)})].join(""))}},41681:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,r){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},82504:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n={Programmatic:0,Config:1};t.ChainFormatter=n;const s={title(e,t,r){let s="";if(e===n.Programmatic){s="programmatic options";if(t){s+=" from "+t}}else{s="config "+r}return s},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...yield*e.plugins()];if(r.length){t.plugins=r.map(e=>descriptorToConfig(e))}const n=[...yield*e.presets()];if(n.length){t.presets=[...n].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,s,i)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:s,envName:i})}}static*format(e){let t=s.title(e.type,e.callerName,e.filepath);const r=s.loc(e.index,e.envName);if(r)t+=` ${r}`;const n=yield*s.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},53316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=r(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=r(34487);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let r=e.targets;if(typeof r==="string"||Array.isArray(r)){r={browsers:r}}if(r&&r.esmodules){r=Object.assign({},r,{esmodules:"intersect"})}const{browserslistConfigFile:n}=e;let s;let i=false;if(typeof n==="string"){s=n}else{i=n===false}return(0,_helperCompilationTargets().default)(r,{ignoreBrowserslistConfig:i,configFile:s,configPath:t,browserslistEnv:e.browserslistEnv})}},83258:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const r of Object.keys(t)){if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){const n=t[r];const s=e[r]||(e[r]={});mergeDefaultFields(s,n)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},17741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=r(34487);_helperCompilationTargets=function(){return e};return e}var n=r(42958);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const s=r[t];if(s!=null&&typeof s!=="boolean"&&typeof s!=="string"&&typeof s!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertIgnoreItem(access(e,r),t))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertPluginItem(access(e,r),t))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const r=access(e,"browsers");const n=access(e,"esmodules");assertBrowsersList(r,t.browsers);assertBoolean(n,t.esmodules);for(const r of Object.keys(t)){const n=t[r];const s=access(e,r);if(r==="esmodules")assertBoolean(s,n);else if(r==="browsers")assertBrowsersList(s,n);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,r)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(s)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(s,n)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let r=e;do{r=r.parent}while(r.type!=="root");const s=r.source==="preset";for(const r of Object.keys(t)){const i=access(e,r);if(!n.assumptionsNames.has(r)){throw new Error(`${msg(i)} is not a supported assumption.`)}if(typeof t[r]!=="boolean"){throw new Error(`${msg(i)} must be a boolean.`)}if(s&&t[r]===false){throw new Error(`${msg(i)} cannot be set to 'false' inside presets.`)}}return t}},42958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var n=r(41681);var s=r(43013);var i=r(17741);const a={cwd:i.assertString,root:i.assertString,rootMode:i.assertRootMode,configFile:i.assertConfigFileSearch,caller:i.assertCallerMetadata,filename:i.assertString,filenameRelative:i.assertString,code:i.assertBoolean,ast:i.assertBoolean,cloneInputAst:i.assertBoolean,envName:i.assertString};const o={babelrc:i.assertBoolean,babelrcRoots:i.assertBabelrcSearch};const l={extends:i.assertString,ignore:i.assertIgnoreList,only:i.assertIgnoreList,targets:i.assertTargets,browserslistConfigFile:i.assertConfigFileSearch,browserslistEnv:i.assertString};const u={inputSourceMap:i.assertInputSourceMap,presets:i.assertPluginList,plugins:i.assertPluginList,passPerPreset:i.assertBoolean,assumptions:i.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:i.assertConfigApplicableTest,include:i.assertConfigApplicableTest,exclude:i.assertConfigApplicableTest,retainLines:i.assertBoolean,comments:i.assertBoolean,shouldPrintComment:i.assertFunction,compact:i.assertCompact,minified:i.assertBoolean,auxiliaryCommentBefore:i.assertString,auxiliaryCommentAfter:i.assertString,sourceType:i.assertSourceType,wrapPluginVisitorMethod:i.assertFunction,highlightCode:i.assertBoolean,sourceMaps:i.assertSourceMaps,sourceMap:i.assertSourceMaps,sourceFileName:i.assertString,sourceRoot:i.assertString,parserOpts:i.assertObject,generatorOpts:i.assertObject};{Object.assign(u,{getModuleId:i.assertFunction,moduleRoot:i.assertString,moduleIds:i.assertBoolean,moduleId:i.assertString})}const c=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=c;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(n=>{const s={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,i.msg)(s)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,i.msg)(s)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const c=u[n]||l[n]||o[n]||a[n]||throwUnknownError;c(s,t[n])});return t}function throwUnknownError(e){const t=e.name;if(s.default[t]){const{message:r,version:n=5}=s.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,i.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,i.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,i.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const s=(0,i.assertObject)((0,i.access)(e,t),n[t]);if(!s)continue;const a={type:"env",name:t,parent:r};validateNested(a,s)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,i.assertArray)(e,t);if(n){for(const[t,s]of n.entries()){const n=(0,i.access)(e,t);const a=(0,i.assertObject)(n,s);if(!a)throw new Error(`${(0,i.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const s=e[t-1];const i=e[t];if(s.file&&s.options===undefined&&typeof i.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}": [\n ["${s.file.request}", ${JSON.stringify(i.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}},82055:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(17741);const s={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach(e=>assertVisitorHandler(e,r[e]));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(r=>{const n=s[r];if(n){const s={type:"option",name:r,parent:t};n(s,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},43013:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=r},28419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=e=>e;const s=_gensync()(function*(e){return yield*e});const i=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=i;function maybeAsync(e,t){return _gensync()({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const r=_gensync()(e);return a(e=>{const n=r[e];return t(n)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return s.sync(e)},errback:function(e,t,r){let n=false;s.errback(e,(e,t)=>{n=true;r(e,t)});if(!n){t()}}});t.onFirstPause=o;const l=_gensync()({sync:n,async:n});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},60153:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=n;const s=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=s},85850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return u.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return u.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return u.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return c.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return c.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return c.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return p.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return p.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return p.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var n=r(13317);var s=r(75570);var i=r(21735);var a=r(67058);function _types(){const e=r(79584);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(58157);_parser=function(){return e};return e}function _traverse(){const e=r(58941);_traverse=function(){return e};return e}function _template(){const e=r(47202);_template=function(){return e};return e}var o=r(98534);var l=r(52101);var u=r(38126);var c=r(93063);var p=r(56413);const f="7.14.6";t.version=f;const d=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=d;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},56413:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(98534);var s=r(92798);var i=r(78593);const a=_gensync()(function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,s.default)(r.passes,(0,i.default)(r),e)});const o=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return a.sync(e,t);a.errback(e,t,r)};t.parse=o;const l=a.sync;t.parseSync=l;const u=a.async;t.parseAsync=u},92798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=r(58157);_parser=function(){return e};return e}function _codeFrame(){const e=r(16619);_codeFrame=function(){return e};return e}var n=r(94723);function*parser(e,{parserOpts:t,highlightCode:r=true,filename:s="unknown"},i){try{const a=[];for(const r of e){for(const e of r){const{parserOverride:r}=e;if(r){const e=r(i,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(i,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(i,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${s}: `+(0,n.default)(a[0],t,o)}else{e.message=`${s}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},94723:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const r={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};r.privateIn.syntax=r.privateIn.transform;const n=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,s){let i=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+s;const a=r[e];if(a){const{syntax:e,transform:t}=a;if(e){const r=n(e);if(t){const e=n(t);const s=t.name.startsWith("@babel/plugin")?"plugins":"presets";i+=`\n\nAdd ${e} to the '${s}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{i+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return i}},75570:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=_default;function helpers(){const e=n(56976);helpers=function(){return e};return e}function _generator(){const e=n(88157);_generator=function(){return e};return e}function _template(){const e=n(47202);_template=function(){return e};return e}function t(){const e=n(79584);t=function(){return e};return e}var s=n(13317);const i=e=>(0,_template().default)` +module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},65561:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"45","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},54039:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=54039;e.exports=webpackEmptyAsyncContext},2469:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},10078:e=>{"use strict";e.exports=JSON.parse('{"es6.array.copy-within":{"chrome":"45","opera":"32","edge":"12","firefox":"32","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.every":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.fill":{"chrome":"45","opera":"32","edge":"12","firefox":"31","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.filter":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.find":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.find-index":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es7.array.flat-map":{"chrome":"69","opera":"56","edge":"79","firefox":"62","safari":"12","node":"11","ios":"12","samsung":"10","electron":"4.0"},"es6.array.for-each":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.from":{"chrome":"51","opera":"38","edge":"15","firefox":"36","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.array.includes":{"chrome":"47","opera":"34","edge":"14","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.array.index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.is-array":{"chrome":"5","opera":"10.50","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.iterator":{"chrome":"66","opera":"53","edge":"12","firefox":"60","safari":"9","node":"10","ios":"9","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.array.last-index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.map":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.of":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.reduce":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.reduce-right":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.slice":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.some":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.sort":{"chrome":"63","opera":"50","edge":"12","firefox":"5","safari":"12","node":"10","ie":"9","ios":"12","samsung":"8","rhino":"1.7.13","electron":"3.0"},"es6.array.species":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.date.now":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-iso-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-json":{"chrome":"5","opera":"12.10","edge":"12","firefox":"4","safari":"10","node":"0.10","ie":"9","android":"4","ios":"10","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-primitive":{"chrome":"47","opera":"34","edge":"15","firefox":"44","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.date.to-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.bind":{"chrome":"7","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.has-instance":{"chrome":"51","opera":"38","edge":"15","firefox":"50","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.function.name":{"chrome":"5","opera":"10.50","edge":"14","firefox":"2","safari":"4","node":"0.10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.math.acosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.asinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.atanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cbrt":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.clz32":{"chrome":"38","opera":"25","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.expm1":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.fround":{"chrome":"38","opera":"25","edge":"12","firefox":"26","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.hypot":{"chrome":"38","opera":"25","edge":"12","firefox":"27","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.imul":{"chrome":"30","opera":"17","edge":"12","firefox":"23","safari":"7","node":"0.12","android":"4.4","ios":"7","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.math.log1p":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log10":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log2":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sign":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.tanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.trunc":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.number.constructor":{"chrome":"41","opera":"28","edge":"12","firefox":"36","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.number.epsilon":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.is-finite":{"chrome":"19","opera":"15","edge":"12","firefox":"16","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"16","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.is-nan":{"chrome":"19","opera":"15","edge":"12","firefox":"15","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"32","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.max-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.min-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.parse-float":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.parse-int":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.object.assign":{"chrome":"49","opera":"36","edge":"13","firefox":"36","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.object.create":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.define-getter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.define-setter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.define-property":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.object.define-properties":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.entries":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.freeze":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.get-own-property-descriptor":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.get-own-property-descriptors":{"chrome":"54","opera":"41","edge":"15","firefox":"50","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.get-own-property-names":{"chrome":"40","opera":"27","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.get-prototype-of":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.lookup-getter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.lookup-setter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.prevent-extensions":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.to-string":{"chrome":"57","opera":"44","edge":"15","firefox":"51","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.object.is":{"chrome":"19","opera":"15","edge":"12","firefox":"22","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.object.is-frozen":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-sealed":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-extensible":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.keys":{"chrome":"40","opera":"27","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.seal":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.set-prototype-of":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ie":"11","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es7.object.values":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.promise":{"chrome":"51","opera":"38","edge":"14","firefox":"45","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.promise.finally":{"chrome":"63","opera":"50","edge":"18","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"8","electron":"3.0"},"es6.reflect.apply":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.construct":{"chrome":"49","opera":"36","edge":"13","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.define-property":{"chrome":"49","opera":"36","edge":"13","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.delete-property":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-own-property-descriptor":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.has":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.is-extensible":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.own-keys":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.prevent-extensions":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.regexp.constructor":{"chrome":"50","opera":"37","edge":"79","firefox":"40","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.flags":{"chrome":"49","opera":"36","edge":"79","firefox":"37","safari":"9","node":"6","ios":"9","samsung":"5","electron":"0.37"},"es6.regexp.match":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.replace":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.split":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.search":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.to-string":{"chrome":"50","opera":"37","edge":"79","firefox":"39","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.symbol":{"chrome":"51","opera":"38","edge":"79","firefox":"51","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.symbol.async-iterator":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"es6.string.anchor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.big":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.blink":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.bold":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.code-point-at":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.ends-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.fixed":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontcolor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontsize":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.from-code-point":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.includes":{"chrome":"41","opera":"28","edge":"12","firefox":"40","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.italics":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.iterator":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.string.link":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es7.string.pad-start":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es7.string.pad-end":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es6.string.raw":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.repeat":{"chrome":"41","opera":"28","edge":"12","firefox":"24","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.small":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.starts-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.strike":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sub":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sup":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.trim":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.string.trim-left":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es7.string.trim-right":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.typed.array-buffer":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.data-view":{"chrome":"5","opera":"12","edge":"12","firefox":"15","safari":"5.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.typed.int8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-clamped-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float64-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.weak-map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"},"es6.weak-set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"}}')},71604:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},28640:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},78409:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=78409;e.exports=webpackEmptyAsyncContext},43323:e=>{"use strict";e.exports={version:"4.3.0"}},77591:e=>{"use strict";e.exports={i8:"5.1.1"}},35464:e=>{"use strict";e.exports={i8:"4.3.0"}},67589:e=>{"use strict";e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')},74986:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},66353:e=>{"use strict";e.exports=JSON.parse('{"es6.array.copy-within":{"chrome":"45","opera":"32","edge":"12","firefox":"32","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.every":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.fill":{"chrome":"45","opera":"32","edge":"12","firefox":"31","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.filter":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.find":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.find-index":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es7.array.flat-map":{"chrome":"69","opera":"56","edge":"79","firefox":"62","safari":"12","node":"11","ios":"12","samsung":"10","electron":"4.0"},"es6.array.for-each":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.from":{"chrome":"51","opera":"38","edge":"15","firefox":"36","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.array.includes":{"chrome":"47","opera":"34","edge":"14","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.array.index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.is-array":{"chrome":"5","opera":"10.50","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.iterator":{"chrome":"66","opera":"53","edge":"12","firefox":"60","safari":"9","node":"10","ios":"9","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.array.last-index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.map":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.of":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.reduce":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.reduce-right":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.slice":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.some":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.sort":{"chrome":"63","opera":"50","edge":"12","firefox":"5","safari":"12","node":"10","ie":"9","ios":"12","samsung":"8","rhino":"1.7.13","electron":"3.0"},"es6.array.species":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.date.now":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-iso-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-json":{"chrome":"5","opera":"12.10","edge":"12","firefox":"4","safari":"10","node":"0.10","ie":"9","android":"4","ios":"10","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-primitive":{"chrome":"47","opera":"34","edge":"15","firefox":"44","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.date.to-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.bind":{"chrome":"7","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.has-instance":{"chrome":"51","opera":"38","edge":"15","firefox":"50","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.function.name":{"chrome":"5","opera":"10.50","edge":"14","firefox":"2","safari":"4","node":"0.10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.math.acosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.asinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.atanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cbrt":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.clz32":{"chrome":"38","opera":"25","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.expm1":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.fround":{"chrome":"38","opera":"25","edge":"12","firefox":"26","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.hypot":{"chrome":"38","opera":"25","edge":"12","firefox":"27","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.imul":{"chrome":"30","opera":"17","edge":"12","firefox":"23","safari":"7","node":"0.12","android":"4.4","ios":"7","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.math.log1p":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log10":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log2":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sign":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.tanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.trunc":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.number.constructor":{"chrome":"41","opera":"28","edge":"12","firefox":"36","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.number.epsilon":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.is-finite":{"chrome":"19","opera":"15","edge":"12","firefox":"16","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"16","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.is-nan":{"chrome":"19","opera":"15","edge":"12","firefox":"15","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"32","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.max-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.min-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.parse-float":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.parse-int":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.object.assign":{"chrome":"49","opera":"36","edge":"13","firefox":"36","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.object.create":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.define-getter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.define-setter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.define-property":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.object.define-properties":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.entries":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.freeze":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.get-own-property-descriptor":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.get-own-property-descriptors":{"chrome":"54","opera":"41","edge":"15","firefox":"50","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.get-own-property-names":{"chrome":"40","opera":"27","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.get-prototype-of":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.lookup-getter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.lookup-setter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.prevent-extensions":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.to-string":{"chrome":"57","opera":"44","edge":"15","firefox":"51","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.object.is":{"chrome":"19","opera":"15","edge":"12","firefox":"22","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.object.is-frozen":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-sealed":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-extensible":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.keys":{"chrome":"40","opera":"27","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.seal":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.set-prototype-of":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ie":"11","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es7.object.values":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.promise":{"chrome":"51","opera":"38","edge":"14","firefox":"45","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.promise.finally":{"chrome":"63","opera":"50","edge":"18","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"8","electron":"3.0"},"es6.reflect.apply":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.construct":{"chrome":"49","opera":"36","edge":"13","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.define-property":{"chrome":"49","opera":"36","edge":"13","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.delete-property":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-own-property-descriptor":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.has":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.is-extensible":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.own-keys":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.prevent-extensions":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.regexp.constructor":{"chrome":"50","opera":"37","edge":"79","firefox":"40","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.flags":{"chrome":"49","opera":"36","edge":"79","firefox":"37","safari":"9","node":"6","ios":"9","samsung":"5","electron":"0.37"},"es6.regexp.match":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.replace":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.split":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.search":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.to-string":{"chrome":"50","opera":"37","edge":"79","firefox":"39","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.symbol":{"chrome":"51","opera":"38","edge":"79","firefox":"51","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.symbol.async-iterator":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"es6.string.anchor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.big":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.blink":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.bold":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.code-point-at":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.ends-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.fixed":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontcolor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontsize":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.from-code-point":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.includes":{"chrome":"41","opera":"28","edge":"12","firefox":"40","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.italics":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.iterator":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.string.link":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es7.string.pad-start":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es7.string.pad-end":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es6.string.raw":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.repeat":{"chrome":"41","opera":"28","edge":"12","firefox":"24","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.small":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.starts-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.strike":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sub":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sup":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.trim":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.string.trim-left":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es7.string.trim-right":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.typed.array-buffer":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.data-view":{"chrome":"5","opera":"12","edge":"12","firefox":"15","safari":"5.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.typed.int8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-clamped-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float64-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.weak-map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"},"es6.weak-set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"}}')},78575:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},93840:e=>{"use strict";e.exports=JSON.parse('{"transform-async-to-generator":["bugfix/transform-async-arrows-in-class"],"transform-parameters":["bugfix/transform-edge-default-parameters"],"transform-function-name":["bugfix/transform-edge-function-name"],"transform-block-scoping":["bugfix/transform-safari-block-shadowing","bugfix/transform-safari-for-shadowing"],"transform-template-literals":["bugfix/transform-tagged-template-caching"],"proposal-optional-chaining":["bugfix/transform-v8-spread-parameters-in-optional-chaining"]}')},42230:e=>{"use strict";e.exports=JSON.parse('{"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"10.1","node":"7.6","ios":"10.3","samsung":"6","electron":"1.6"},"bugfix/transform-async-arrows-in-class":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-parameters":{"chrome":"49","opera":"36","edge":"15","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"bugfix/transform-edge-default-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"52","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-function-name":{"chrome":"51","opera":"38","edge":"14","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"bugfix/transform-edge-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"bugfix/transform-safari-block-shadowing":{"chrome":"49","opera":"36","edge":"12","firefox":"44","safari":"11","node":"6","ie":"11","ios":"11","samsung":"5","electron":"0.37"},"bugfix/transform-safari-for-shadowing":{"chrome":"49","opera":"36","edge":"12","firefox":"4","safari":"11","node":"6","ie":"11","ios":"11","samsung":"5","rhino":"1.7.13","electron":"0.37"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"bugfix/transform-tagged-template-caching":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"proposal-optional-chaining":{"chrome":"80","opera":"67","edge":"80","firefox":"74","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"bugfix/transform-v8-spread-parameters-in-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"}}')},6834:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},74884:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=74884;e.exports=webpackEmptyAsyncContext},64172:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},13768:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"45","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},29513:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=29513;e.exports=webpackEmptyAsyncContext},36553:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=_interopRequireWildcard(r(39571));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var 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;if(s&&(s.get||s.set)){Object.defineProperty(r,i,s)}else{r[i]=e[i]}}}r.default=e;if(t){t.set(e,r)}return r}let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const s=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},n,e.end);const{linesAbove:s=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=i.line;const p=i.column;let c=Math.max(o-(s+1),0);let f=Math.min(t.length,u+a);if(o===-1){c=0}if(u===-1){f=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:c,end:f,markerLines:y}}function codeFrameColumns(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const u=e.split(s);const{start:p,end:c,markerLines:f}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(c).length;const h=i?(0,n.default)(e,r):e;let m=h.split(s).slice(p,c).map((e,t)=>{const n=p+1+t;const i=` ${n}`.slice(-y);const s=` ${i} | `;const a=f[n];const u=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,s.replace(/\d/g," ")),n,l(o.marker,"^").repeat(i)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,s),e,t].join("")}else{return` ${l(o.gutter,s)}${e}`}}).join("\n");if(r.message&&!d){m=`${" ".repeat(y+1)}${r.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}},1335:(e,t,r)=>{e.exports=r(99898)},72153:(e,t,r)=>{e.exports=r(65561)},61931:()=>{},6135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(28419);var i=r(83258);const s=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return s(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return s(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const s=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const u=l?s:r;const p=yield*getCachedValueOrWait(l,u,a,e,o);if(p.valid)return p.value;const c=new CacheConfigurator(o);const f=t(e,c);let d;let y;if((0,i.isIterableIterator)(f)){const t=f;y=yield*(0,n.onFirstPause)(t,()=>{d=setupAsyncLocks(c,a,e)})}else{y=f}updateFunctionCache(u,c,e,y);if(d){a.delete(e);d.release(y)}return y}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,i,s){const a=yield*getCachedValue(t,i,s);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,i,s);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let i=e.get(r);t.deactivate();switch(t.mode()){case"forever":i=[{value:n,valid:genTrue}];e.set(r,i);break;case"invalidate":i=[{value:n,valid:t.validator()}];e.set(r,i);break;case"valid":if(i){i.push({value:n,valid:t.validator()})}else{i=[{value:n,valid:t.validator()}];e.set(r,i)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then(e=>{this._pairs.push([e,r]);return e})}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},28422:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}var n=r(42958);var i=r(30797);var s=r(82504);var a=r(21735);var o=r(6135);var l=r(74299);const u=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*p(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>c(e),env:(e,t)=>f(e)(t),overrides:(e,t)=>d(e)(t),overridesEnv:(e,t,r)=>y(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const c=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const f=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const y=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,r))));function*buildRootChain(e,t){let r,n;const i=new s.ConfigPrinter;const o=yield*S({options:e,dirname:t.cwd},t,undefined,i);if(!o)return null;const l=yield*i.output();let u;if(typeof e.configFile==="string"){u=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){u=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:c}=e;let f=t.cwd;const d=emptyChain();const y=new s.ConfigPrinter;if(u){const e=h(u);const n=yield*loadFileChain(e,t,undefined,y);if(!n)return null;r=yield*y.output();if(p===undefined){p=e.options.babelrc}if(c===undefined){f=e.dirname;c=e.options.babelrcRoots}mergeChain(d,n)}let T,b;let E=false;const g=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,c,f)){({ignore:T,config:b}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(T){g.files.add(T.filepath)}if(T&&shouldIgnore(t,T.ignore,null,T.dirname)){E=true}if(b&&!E){const e=m(b);const r=new s.ConfigPrinter;const i=yield*loadFileChain(e,t,undefined,r);if(!i){E=true}else{n=yield*r.output();mergeChain(g,i)}}if(b&&E){g.files.add(b.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const x=mergeChain(mergeChain(mergeChain(emptyChain(),d),g),o);return{plugins:E?[]:dedupDescriptors(x.plugins),presets:E?[]:dedupDescriptors(x.presets),options:E?[]:x.options.map(e=>normalizeOptions(e)),fileHandling:E?"ignored":"transpile",ignore:T||undefined,babelrc:b||undefined,config:u||undefined,files:x.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const s=e.root;if(r===undefined){return t.directories.indexOf(s)!==-1}let a=r;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(n,e):e});if(a.length===1&&a[0]===s){return t.directories.indexOf(s)!==-1}return a.some(r=>{if(typeof r==="string"){r=(0,i.default)(r,n)}return t.directories.some(t=>{return matchPattern(r,n,t,e)})})}const h=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options)}));const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options)}));const T=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options)}));const S=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const b=makeChainWalker({root:e=>E(e),env:(e,t)=>g(e)(t),overrides:(e,t)=>x(e)(t),overridesEnv:(e,t,r)=>P(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const i=yield*b(e,t,r,n);if(i){i.files.add(e.filepath)}return i}const E=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const g=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const x=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,r))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,s.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,s.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,i){const s=t.env&&t.env[i];return s?n(e,s,`${r}.env["${i}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,i){const s=t.overrides&&t.overrides[i];if(!s)throw new Error("Assertion failure - missing override");return n(e,s,`${r}.overrides[${i}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,i,s){const a=t.overrides&&t.overrides[i];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[s];return o?n(e,o,`${r}.overrides[${i}].env["${s}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:i}){return function*(s,a,o=new Set,l){const{dirname:u}=s;const p=[];const c=e(s);if(configIsApplicable(c,u,a)){p.push({config:c,envName:undefined,index:undefined});const e=t(s,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,envName:a.envName,index:undefined})}(c.options.overrides||[]).forEach((e,t)=>{const i=r(s,t);if(configIsApplicable(i,u,a)){p.push({config:i,index:t,envName:undefined});const e=n(s,t,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,u))){return null}const f=emptyChain();const d=i(s,a,l);for(const{config:e,index:t,envName:r}of p){if(!(yield*mergeExtendsChain(f,e.options,u,a,o,l))){return null}d(e,t,r);yield*mergeChainOpts(f,e)}return f}}function*mergeExtendsChain(e,t,r,n,i,s){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,r,n.envName,n.caller);if(i.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(i,e=>` - ${e.filepath}`).join("\n"))}i.add(o);const l=yield*loadFileChain(T(o),n,i,s);i.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function*mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...yield*r());e.presets.push(...yield*n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let i=t.get(e);if(!i){i=new Map;t.set(e,i)}let s=i.get(n.name);if(!s){s={value:n};r.push(s);if(!n.ownPass)i.set(n.name,s)}else{s.value=n}}else{r.push({value:n})}}return r.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,r){return(e.test===undefined||configFieldIsApplicable(r,e.test,t))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t))}function configFieldIsApplicable(e,t,r){const n=Array.isArray(t)?t:[t];return matchesPatterns(e,n,r)}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var i;const r=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${n}"`;u(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var s;const t=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r)}\` from "${n}"`;u(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r){return t.some(t=>matchPattern(t,r,e.filename,e))}function matchPattern(e,t,r,n){if(typeof e==="function"){return!!e(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,i.default)(e,t)}return e.test(r)}},74299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(21735);var i=r(83486);var s=r(6135);var a=r(53316);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,r){const{plugins:n,presets:i,passPerPreset:s}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:n?()=>p(n,e)(r):()=>handlerOf([]),presets:i?()=>l(i,e)(r)(!!s):()=>handlerOf([])}}function createUncachedDescriptors(e,t,r){let n;let i;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!n){n=yield*createPluginDescriptors(t.plugins||[],e,r)}return n},*presets(){if(!i){i=yield*createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)}return i}}}const o=new WeakMap;const l=(0,s.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,s.makeStrongCacheSync)(t=>(0,s.makeStrongCache)(function*(n){const i=yield*createPresetDescriptors(e,r,t,n);return i.map(e=>loadCachedDescriptor(o,e))}))});const u=new WeakMap;const p=(0,s.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,s.makeStrongCache)(function*(t){const n=yield*createPluginDescriptors(e,r,t);return n.map(e=>loadCachedDescriptor(u,e))})});const c={};function loadCachedDescriptor(e,t){const{value:r,options:n=c}=t;if(n===false)return t;let i=e.get(r);if(!i){i=new WeakMap;e.set(r,i)}let s=i.get(n);if(!s){s=[];i.set(n,s)}if(s.indexOf(t)===-1){const e=s.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}s.push(t)}return t}function*createPresetDescriptors(e,t,r,n){return yield*createDescriptors("preset",e,t,r,n)}function*createPluginDescriptors(e,t,r){return yield*createDescriptors("plugin",e,t,r)}function*createDescriptors(e,t,r,n,i){const s=yield*_gensync().all(t.map((t,s)=>createDescriptor(t,r,{type:e,alias:`${n}$${s}`,ownPass:!!i})));assertNoDuplicates(s);return s}function*createDescriptor(e,t,{type:r,alias:s,ownPass:a}){const o=(0,i.getItemDescriptor)(e);if(o){return o}let l;let u;let p=e;if(Array.isArray(p)){if(p.length===3){[p,u,l]=p}else{[p,u]=p}}let c=undefined;let f=null;if(typeof p==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?n.loadPlugin:n.loadPreset;const i=p;({filepath:f,value:p}=yield*e(p,t));c={request:i,resolved:f}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(f!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${f}`)}return{name:l,alias:f||s,value:p,options:u,dirname:t,ownPass:a,file:c}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter(e=>e.value===r.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}},96995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _json(){const e=r(33170);_json=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(6135);var i=r(77021);var s=r(18193);var a=r(39117);var o=r(30797);var l=r(60153);function _module(){const e=r(32282);_module=function(){return e};return e}const u=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const c=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const f=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let i=null;const s=_path().dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(c,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?h(e.pkg):null)}if(!i){const e=_path().join(o,f);i=yield*T(e);if(i){u("Found ignore %o from %o.",i.filepath,s)}}}return{config:n,ignore:i}}function findRootConfig(e,t,r){return loadOneConfig(p,e,t,r)}function*loadOneConfig(e,t,r,n,i=null){const s=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),r,n)));const a=s.reduce((e,r)=>{if(r&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e},i);if(a){u("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,i){const s=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let i=n._findPath(e,n._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(e,{paths:[t]});const a=yield*readConfig(s,n,i);if(!a){throw new Error(`Config file ${s} contains no configuration data`)}u("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().extname(e);return n===".js"||n===".cjs"||n===".mjs"?y(e,{envName:t,caller:r}):m(e)}const d=new Set;const y=(0,n.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(d.has(e)){t.never();u("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let r;try{d.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{d.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=r((0,i.makeConfigAPI)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof r.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(n&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:r}});const h=(0,n.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const m=(0,s.makeStaticFileCache)((e,t)=>{let r;try{r=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}});const T=(0,s.makeStaticFileCache)((e,t)=>{const r=_path().dirname(e);const n=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of n){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:n.map(e=>(0,o.default)(e,r))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().resolve(e,t);const n=yield*l.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},96760:(e,t,r)=>{"use strict";var n;n={value:true};t.Z=import_;function import_(e){return r(54039)(e)}},21735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return i.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return i.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return i.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return i.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return i.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return i.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return s.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return s.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return s.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return s.loadPreset}});var n=r(66328);var i=r(96995);var s=r(89442);({})},39117:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var n=r(28419);function _path(){const e=r(85622);_path=function(){return e};return e}function _url(){const e=r(78835);_url=function(){return e};return e}function _module(){const e=r(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,i,s,a){try{var o=e[s](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,i)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var s=e.apply(t,r);function _next(e){asyncGeneratorStep(s,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(s,n,i,_next,_throw,"throw",e)}_next(undefined)})}}let i;try{i=r(96760).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,r=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,r);case"unknown":try{return loadCjsDefault(e,r)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const r=require(e);return r!=null&&r.__esModule?r.default||(t?r:undefined):r}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!i){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield i((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},66328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(18193);const i="package.json";function*findPackageData(e){let t=null;const r=[];let n=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){r.push(a);t=yield*s(_path().join(a,i));const e=_path().dirname(a);if(a===e){n=false;break}a=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}const s=(0,n.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}})},89442:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(39117);function _module(){const e=r(32282);_module=function(){return e};return e}const i=_debug()("babel:config:loading:files:plugins");const s=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const u=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const c=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const f=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const r=resolvePlugin(e,t);if(!r){throw new Error(`Plugin ${e} not found relative to ${t}`)}const n=yield*requireModule("plugin",r);i("Loaded plugin %o from %o.",e,t);return{filepath:r,value:n}}function*loadPreset(e,t){const r=resolvePreset(e,t);if(!r){throw new Error(`Preset ${e} not found relative to ${t}`)}const n=yield*requireModule("preset",r);i("Loaded preset %o from %o.",e,t);return{filepath:r,value:n}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const r=e==="preset";return t.replace(r?o:a,`babel-${e}-`).replace(r?u:l,`$1${e}-`).replace(r?c:p,`$1babel-${e}-`).replace(f,`$1/babel-${e}`).replace(s,"")}function resolveStandardizedName(e,t,n=process.cwd()){const i=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let i=n._findPath(e,n._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(i,{paths:[n]})}catch(s){if(s.code!=="MODULE_NOT_FOUND")throw s;if(i!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let i=n._findPath(e,n._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(t,{paths:[n]});e=true}catch(e){}if(e){s.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let i=n._findPath(e,n._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(e,"@babel/"+t),{paths:[n]});a=true}catch(e){}if(a){s.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let i=n._findPath(e,n._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(l,t),{paths:[n]});o=true}catch(e){}if(o){s.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw s}}const d=new Set;function*requireModule(e,t){if(d.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{d.add(t);return yield*(0,n.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{d.delete(t)}}},18193:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(6135);var i=r(60153);function _fs2(){const e=r(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,n.makeStrongCache)(function*(t,r){const n=r.invalidate(()=>fileMtime(t));if(n===null){return null}return e(t,yield*i.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},8566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(28419);var i=r(83258);var s=r(85850);var a=r(41681);var o=r(83486);var l=r(28422);function _traverse(){const e=r(58941);_traverse=function(){return e};return e}var u=r(6135);var p=r(42958);var c=r(82055);var f=r(77021);var d=r(59074);var y=r(61931);var h=_gensync()(function*loadFullConfig(e){var t;const r=yield*(0,d.default)(e);if(!r){return null}const{options:n,context:s,fileHandling:a}=r;if(a==="ignored"){return null}const l={};const{plugins:u,presets:c}=n;if(!u||!c){throw new Error("Assertion failure - plugins and presets exist")}const f=Object.assign({},s,{targets:n.targets});const y=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const h=c.map(y);const m=u.map(y);const T=[[]];const S=[];const b=yield*enhanceError(s,function*recursePresetDescriptors(e,t){const r=[];for(let n=0;n0){T.splice(1,0,...r.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach(e=>{(0,i.mergeOptions)(l,e)})}}})(h,T[0]);if(b)return null;const E=l;(0,i.mergeOptions)(E,n);const g=Object.assign({},f,{assumptions:(t=E.assumptions)!=null?t:{}});yield*enhanceError(s,function*loadPluginDescriptors(){T[0].unshift(...m);for(const e of T){const t=[];S.push(t);for(let r=0;re.length>0).map(e=>({plugins:e}));E.passPerPreset=E.presets.length>0;return{options:E,passes:S}});t.default=h;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const m=e=>(0,u.makeWeakCache)(function*({value:t,options:r,dirname:i,alias:a},o){if(r===false)throw new Error("Assertion failure");r=r||{};let l=t;if(typeof t==="function"){const u=(0,n.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},s,e(o));try{l=yield*u(p,r,i)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,n.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:r,dirname:i,alias:a}});const T=m(f.makePluginAPI);const S=m(f.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*b(yield*T(e,t),t)}const b=(0,u.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:i},s){const o=(0,c.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${i}$inherits`,value:l.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,t=>{return s.invalidate(r=>t(e,r))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,i)});const E=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const g=(e,t,r)=>{if(!t.filename){const{options:t}=e;E(t,r);if(t.overrides){t.overrides.forEach(e=>E(e,r))}}};function*loadPresetDescriptor(e,t){const r=x(yield*S(e,t));g(r,t,e);return yield*(0,l.buildPresetChain)(r,t)}const x=(0,u.makeWeakCacheSync)(({value:e,dirname:t,alias:r})=>{return{options:(0,p.validate)("preset",e),alias:r,dirname:t}});function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}},77021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=r(62519);_semver=function(){return e};return e}var n=r(85850);var i=r(6135);var s=r(61931);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,i.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const r=t=>e.using(e=>(0,i.assertSimpleType)(t(e.caller)));return{version:n.version,cache:e.simple(),env:t,async:()=>false,caller:r,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}},67058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},98534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(8566);var i=r(59074);var s=r(83486);const a=_gensync()(function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null});const o=_gensync()(s.createConfigItem);const l=e=>(t,r)=>{if(r===undefined&&typeof t==="function"){r=t;t=undefined}return r?e.errback(t,r):e.sync(t)};const u=l(i.loadPartialConfig);t.loadPartialConfig=u;const p=i.loadPartialConfig.sync;t.loadPartialConfigSync=p;const c=i.loadPartialConfig.async;t.loadPartialConfigAsync=c;const f=l(a);t.loadOptions=f;const d=a.sync;t.loadOptionsSync=d;const y=a.async;t.loadOptionsAsync=y;const h=o.sync;t.createConfigItemSync=h;const m=o.async;t.createConfigItemAsync=m;function createConfigItem(e,t,r){if(r!==undefined){return o.errback(e,t,r)}else if(typeof t==="function"){return o.errback(e,undefined,r)}else{return o.sync(e,t)}}},83486:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(74299);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:r}={}){const i=yield*(0,n.createDescriptor)(e,_path().resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(i)}function getItemDescriptor(e){if(e!=null&&e[i]){return e._descriptor}return undefined}const i=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[i]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,i,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},59074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(41681);var i=r(83258);var s=r(83486);var a=r(28422);var o=r(67058);var l=r(42958);var u=r(21735);var p=r(53316);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var i,s;for(s=0;s=0)continue;r[i]=e[i]}return r}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,u.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,u.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${u.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:c=".",rootMode:f="root",caller:d,cloneInputAst:y=true}=t;const h=_path().resolve(n);const m=resolveRootMode(_path().resolve(h,c),f);const T=typeof t.filename==="string"?_path().resolve(n,t.filename):undefined;const S=yield*(0,u.resolveShowConfigPath)(h);const b={filename:T,cwd:h,root:m,envName:r,caller:d,showConfig:S===T};const E=yield*(0,a.buildRootChain)(t,b);if(!E)return null;const g={assumptions:{}};E.options.forEach(e=>{(0,i.mergeOptions)(g,e)});const x=Object.assign({},g,{targets:(0,p.resolveTargets)(g,m),cloneInputAst:y,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:b.envName,cwd:b.cwd,root:b.root,rootMode:"root",filename:typeof b.filename==="string"?b.filename:undefined,plugins:E.plugins.map(e=>(0,s.createItemFromDescriptor)(e)),presets:E.presets.map(e=>(0,s.createItemFromDescriptor)(e))});return{options:x,context:b,fileHandling:E.fileHandling,ignore:E.ignore,babelrc:E.babelrc,config:E.config,files:E.files}}const c=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,["showIgnoredFiles"]);r}const i=yield*loadPrivatePartialConfig(e);if(!i)return null;const{options:s,babelrc:a,ignore:o,config:l,fileHandling:u,files:p}=i;if(u==="ignored"&&!t){return null}(s.plugins||[]).forEach(e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(s,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,u,p)});t.loadPartialConfig=c;class PartialConfig{constructor(e,t,r,n,i,s){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=i;this.files=s;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},30797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=r(85622);_path=function(){return e};return e}const n=`\\${_path().sep}`;const i=`(?:${n}|$)`;const s=`[^${n}]+`;const a=`(?:${s}${n})`;const o=`(?:${s}${i})`;const l=`${a}*?`;const u=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const r=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...r.map((e,t)=>{const p=t===r.length-1;if(e==="**")return p?u:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return s+escapeRegExp(e.slice(1))+(p?i:n)}return escapeRegExp(e)+(p?i:n)})].join(""))}},41681:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,r){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},82504:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n={Programmatic:0,Config:1};t.ChainFormatter=n;const i={title(e,t,r){let i="";if(e===n.Programmatic){i="programmatic options";if(t){i+=" from "+t}}else{i="config "+r}return i},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...yield*e.plugins()];if(r.length){t.plugins=r.map(e=>descriptorToConfig(e))}const n=[...yield*e.presets()];if(n.length){t.presets=[...n].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,i,s)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:i,envName:s})}}static*format(e){let t=i.title(e.type,e.callerName,e.filepath);const r=i.loc(e.index,e.envName);if(r)t+=` ${r}`;const n=yield*i.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},53316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=r(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=r(34487);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let r=e.targets;if(typeof r==="string"||Array.isArray(r)){r={browsers:r}}if(r&&r.esmodules){r=Object.assign({},r,{esmodules:"intersect"})}const{browserslistConfigFile:n}=e;let i;let s=false;if(typeof n==="string"){i=n}else{s=n===false}return(0,_helperCompilationTargets().default)(r,{ignoreBrowserslistConfig:s,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}},83258:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const r of Object.keys(t)){if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){const n=t[r];const i=e[r]||(e[r]={});mergeDefaultFields(i,n)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},17741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=r(34487);_helperCompilationTargets=function(){return e};return e}var n=r(42958);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const i=r[t];if(i!=null&&typeof i!=="boolean"&&typeof i!=="string"&&typeof i!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertIgnoreItem(access(e,r),t))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertPluginItem(access(e,r),t))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const r=access(e,"browsers");const n=access(e,"esmodules");assertBrowsersList(r,t.browsers);assertBoolean(n,t.esmodules);for(const r of Object.keys(t)){const n=t[r];const i=access(e,r);if(r==="esmodules")assertBoolean(i,n);else if(r==="browsers")assertBrowsersList(i,n);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,r)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(i)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(i,n)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let r=e;do{r=r.parent}while(r.type!=="root");const i=r.source==="preset";for(const r of Object.keys(t)){const s=access(e,r);if(!n.assumptionsNames.has(r)){throw new Error(`${msg(s)} is not a supported assumption.`)}if(typeof t[r]!=="boolean"){throw new Error(`${msg(s)} must be a boolean.`)}if(i&&t[r]===false){throw new Error(`${msg(s)} cannot be set to 'false' inside presets.`)}}return t}},42958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var n=r(41681);var i=r(43013);var s=r(17741);const a={cwd:s.assertString,root:s.assertString,rootMode:s.assertRootMode,configFile:s.assertConfigFileSearch,caller:s.assertCallerMetadata,filename:s.assertString,filenameRelative:s.assertString,code:s.assertBoolean,ast:s.assertBoolean,cloneInputAst:s.assertBoolean,envName:s.assertString};const o={babelrc:s.assertBoolean,babelrcRoots:s.assertBabelrcSearch};const l={extends:s.assertString,ignore:s.assertIgnoreList,only:s.assertIgnoreList,targets:s.assertTargets,browserslistConfigFile:s.assertConfigFileSearch,browserslistEnv:s.assertString};const u={inputSourceMap:s.assertInputSourceMap,presets:s.assertPluginList,plugins:s.assertPluginList,passPerPreset:s.assertBoolean,assumptions:s.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:s.assertConfigApplicableTest,include:s.assertConfigApplicableTest,exclude:s.assertConfigApplicableTest,retainLines:s.assertBoolean,comments:s.assertBoolean,shouldPrintComment:s.assertFunction,compact:s.assertCompact,minified:s.assertBoolean,auxiliaryCommentBefore:s.assertString,auxiliaryCommentAfter:s.assertString,sourceType:s.assertSourceType,wrapPluginVisitorMethod:s.assertFunction,highlightCode:s.assertBoolean,sourceMaps:s.assertSourceMaps,sourceMap:s.assertSourceMaps,sourceFileName:s.assertString,sourceRoot:s.assertString,parserOpts:s.assertObject,generatorOpts:s.assertObject};{Object.assign(u,{getModuleId:s.assertFunction,moduleRoot:s.assertString,moduleIds:s.assertBoolean,moduleId:s.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(n=>{const i={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,s.msg)(i)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,s.msg)(i)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,s.msg)(i)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,s.msg)(i)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=u[n]||l[n]||o[n]||a[n]||throwUnknownError;p(i,t[n])});return t}function throwUnknownError(e){const t=e.name;if(i.default[t]){const{message:r,version:n=5}=i.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,s.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,s.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,s.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,s.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const i=(0,s.assertObject)((0,s.access)(e,t),n[t]);if(!i)continue;const a={type:"env",name:t,parent:r};validateNested(a,i)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,s.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,s.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,s.assertArray)(e,t);if(n){for(const[t,i]of n.entries()){const n=(0,s.access)(e,t);const a=(0,s.assertObject)(n,i);if(!a)throw new Error(`${(0,s.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const i=e[t-1];const s=e[t];if(i.file&&i.options===undefined&&typeof s.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}": [\n ["${i.file.request}", ${JSON.stringify(s.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}},82055:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(17741);const i={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach(e=>assertVisitorHandler(e,r[e]));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(r=>{const n=i[r];if(n){const i={type:"option",name:r,parent:t};n(i,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},43013:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=r},28419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=e=>e;const i=_gensync()(function*(e){return yield*e});const s=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=s;function maybeAsync(e,t){return _gensync()({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const r=_gensync()(e);return a(e=>{const n=r[e];return t(n)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return i.sync(e)},errback:function(e,t,r){let n=false;i.errback(e,(e,t)=>{n=true;r(e,t)});if(!n){t()}}});t.onFirstPause=o;const l=_gensync()({sync:n,async:n});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},60153:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=n;const i=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=i},85850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return s.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return s.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return u.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return u.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return u.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return c.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return c.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return c.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var n=r(13317);var i=r(75570);var s=r(21735);var a=r(67058);function _types(){const e=r(79584);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(58157);_parser=function(){return e};return e}function _traverse(){const e=r(58941);_traverse=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}var o=r(98534);var l=r(52101);var u=r(38126);var p=r(4261);var c=r(56413);const f="7.14.6";t.version=f;const d=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=d;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},56413:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(98534);var i=r(92798);var s=r(78593);const a=_gensync()(function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,i.default)(r.passes,(0,s.default)(r),e)});const o=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return a.sync(e,t);a.errback(e,t,r)};t.parse=o;const l=a.sync;t.parseSync=l;const u=a.async;t.parseAsync=u},92798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=r(58157);_parser=function(){return e};return e}function _codeFrame(){const e=r(16619);_codeFrame=function(){return e};return e}var n=r(94723);function*parser(e,{parserOpts:t,highlightCode:r=true,filename:i="unknown"},s){try{const a=[];for(const r of e){for(const e of r){const{parserOverride:r}=e;if(r){const e=r(s,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(s,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(s,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${i}: `+(0,n.default)(a[0],t,o)}else{e.message=`${i}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},94723:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const r={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};r.privateIn.syntax=r.privateIn.transform;const n=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,i){let s=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+i;const a=r[e];if(a){const{syntax:e,transform:t}=a;if(e){const r=n(e);if(t){const e=n(t);const i=t.name.startsWith("@babel/plugin")?"plugins":"presets";s+=`\n\nAdd ${e} to the '${i}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{s+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return s}},75570:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=_default;function helpers(){const e=n(56976);helpers=function(){return e};return e}function _generator(){const e=n(88157);_generator=function(){return e};return e}function _template(){const e=n(36900);_template=function(){return e};return e}function t(){const e=n(79584);t=function(){return e};return e}var i=n(13317);const s=e=>(0,_template().default)` (function (root, factory) { if (typeof define === "function" && define.amd) { define(AMD_ARGUMENTS, factory); @@ -10,27 +10,27 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m })(UMD_ROOT, function (FACTORY_PARAMETERS) { FACTORY_BODY }); - `(e);function buildGlobal(e){const r=t().identifier("babelHelpers");const n=[];const s=t().functionExpression(null,[t().identifier("global")],t().blockStatement(n));const i=t().program([t().expressionStatement(t().callExpression(s,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),r),t().objectExpression([])))]));buildHelpers(n,r,e);return i}function buildModule(e){const r=[];const n=buildHelpers(r,null,e);r.unshift(t().exportNamedDeclaration(null,Object.keys(n).map(e=>{return t().exportSpecifier(t().cloneNode(n[e]),t().identifier(e))})));return t().program(r,[],"module")}function buildUmd(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().identifier("global"))]));buildHelpers(n,r,e);return t().program([i({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),r),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:n,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().objectExpression([]))]));const s=t().program(n);buildHelpers(n,r,e);n.push(t().expressionStatement(r));return s}function buildHelpers(e,r,n){const i=e=>{return r?t().memberExpression(r,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(n&&n.indexOf(t)<0)return;const r=a[t]=i(t);helpers().ensure(t,s.default);const{nodes:o}=helpers().get(t,i,r);e.push(...o)});return a}function _default(e,t="global"){let r;const n={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(n){r=n(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(r).code}},93063:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(98534);var s=r(58109);const i=_gensync()(function*(e,t,r){const i=yield*(0,n.default)(r);if(i===null)return null;if(!e)throw new Error("No AST given");return yield*(0,s.run)(i,t,e)});const a=function transformFromAst(e,t,r,n){if(typeof r==="function"){n=r;r=undefined}if(n===undefined){return i.sync(e,t,r)}i.errback(e,t,r,n)};t.transformFromAst=a;const o=i.sync;t.transformFromAstSync=o;const l=i.async;t.transformFromAstAsync=l},38126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(98534);var s=r(58109);var i=r(60153);({});const a=_gensync()(function*(e,t){const r=Object.assign({},t,{filename:e});const a=yield*(0,n.default)(r);if(a===null)return null;const o=yield*i.readFile(e,"utf8");return yield*(0,s.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const u=a.async;t.transformFileAsync=u},52101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(98534);var s=r(58109);const i=_gensync()(function*transform(e,t){const r=yield*(0,n.default)(t);if(r===null)return null;return yield*(0,s.run)(r,e)});const a=function transform(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return i.sync(e,t);i.errback(e,t,r)};t.transform=a;const o=i.sync;t.transformSync=o;const l=i.async;t.transformAsync=l},43733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=r(58941);_traverse=function(){return e};return e}var n=r(41681);let s;function loadBlockHoistPlugin(){if(!s){s=new n.default(Object.assign({},i,{visitor:_traverse().default.explode(i.visitor)}),{})}return s}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let r=0;r+e).sort((e,t)=>t-e);let n=0;for(const s of r){const r=t[s];for(const t of r){e[n++]=t}}return e}const i={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let r=Math.pow(2,30)-1;let n=false;for(let e=0;er){n=true;break}r=i}if(!n)return;e.body=stableSort(t.slice())}}}}},13317:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=void 0;function helpers(){const e=n(56976);helpers=function(){return e};return e}function _traverse(){const e=n(58941);_traverse=function(){return e};return e}function _codeFrame(){const e=n(16619);_codeFrame=function(){return e};return e}function t(){const e=n(79584);t=function(){return e};return e}function _helperModuleTransforms(){const e=n(83113);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=n(62519);_semver=function(){return e};return e}const s={enter(e,t){const r=e.node.loc;if(r){t.loc=r;e.stop()}}};class File{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=r;this.inputMap=n;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${r}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const r=this.declarations[e];if(r)return t().cloneNode(r);const n=this.get("helperGenerator");if(n){const t=n(e);if(t)return t}helpers().ensure(e,File);const s=this.declarations[e]=this.scope.generateUidIdentifier(e);const i={};for(const t of helpers().getDependencies(e)){i[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>i[e],s,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return s}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,_traverse().default)(e,s,this.scope,r);n=r.loc;let i="This is an error on an internal node. Probably an internal error.";if(n)i+=" Location has been estimated.";t+=` (${i})`}if(n){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:undefined},{highlightCode:e})}return new r(t)}}r.default=File},37151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=r(88157);_generator=function(){return e};return e}var n=r(10390);function generateCode(e,t){const{opts:r,ast:s,code:i,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(s,r.generatorOpts,i,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(s,r.generatorOpts,i)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:u,map:c}=l;if(c&&a){c=(0,n.default)(a.toObject(),c)}if(r.sourceMaps==="inline"||r.sourceMaps==="both"){u+="\n"+_convertSourceMap().fromObject(c).toComment()}if(r.sourceMaps==="inline"){c=null}return{outputCode:u,outputMap:c}}},10390:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=r(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const r=buildMappingData(e);const n=buildMappingData(t);const s=new(_sourceMap().SourceMapGenerator);for(const{source:e}of r.sources){if(typeof e.content==="string"){s.setSourceContent(e.path,e.content)}}if(n.sources.length===1){const e=n.sources[0];const t=new Map;eachInputGeneratedRange(r,(r,n,i)=>{eachOverlappingGeneratedOutputRange(e,r,e=>{const r=makeMappingKey(e);if(t.has(r))return;t.set(r,e);s.addMapping({source:i.path,original:{line:n.line,column:n.columnStart},generated:{line:e.line,column:e.columnStart},name:n.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const r={line:e.line,columnStart:e.columnEnd};const n=makeMappingKey(r);if(t.has(n)){continue}s.addMapping({generated:{line:r.line,column:r.columnStart}})}}const i=s.toJSON();if(typeof r.sourceRoot==="string"){i.sourceRoot=r.sourceRoot}return i}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,r){const n=filterApplicableOriginalRanges(e,t);for(const{generated:e}of n){for(const t of e){r(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:r,columnEnd:n}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(n<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:r,mappings:n}of e.sources){for(const{original:e,generated:s}of n){for(const n of s){t(n,e,r)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const r=new Map;const n=new Map;let s=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let i=r.get(e.source);if(!i){i={path:e.source,content:t.sourceContentFor(e.source,true)};r.set(e.source,i)}let a=n.get(i);if(!a){a={source:i,mappings:[]};n.set(i,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(s&&s.source===i&&s.mapping.line===e.originalLine){s.mapping.columnEnd=e.originalColumn}s={source:i,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(n.values())}}function findInsertionLocation(e,t){let r=0;let n=e.length;while(r=0){n=s}else{r=s+1}}let s=r;if(s=0&&t(e[s])>=0){s--}return s+1}return s}function filterSortedArray(e,t){const r=findInsertionLocation(e,t);const n=[];for(let s=r;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=r(58941);_traverse=function(){return e};return e}var n=r(84938);var s=r(43733);var i=r(78593);var a=r(19093);var o=r(37151);function*run(e,t,r){const n=yield*(0,a.default)(e.passes,(0,i.default)(e),t,r);const s=n.opts;try{yield*transformFile(n,e.passes)}catch(e){var l;e.message=`${(l=s.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let u,c;try{if(s.code!==false){({outputCode:u,outputMap:c}=(0,o.default)(e.passes,n))}}catch(e){var p;e.message=`${(p=s.filename)!=null?p:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:n.metadata,options:s,ast:s.ast===true?n.ast:null,code:u===undefined?null:u,map:c===undefined?null:c,sourceType:n.ast.program.sourceType}}function*transformFile(e,t){for(const r of t){const t=[];const i=[];const a=[];for(const o of r.concat([(0,s.default)()])){const r=new n.default(e,o.key,o.options);t.push([o,r]);i.push(r);a.push(o.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,i,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},19093:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=normalizeFile;function _fs(){const e=n(35747);_fs=function(){return e};return e}function _path(){const e=n(85622);_path=function(){return e};return e}function _debug(){const e=n(31185);_debug=function(){return e};return e}function t(){const e=n(79584);t=function(){return e};return e}function _convertSourceMap(){const e=n(36301);_convertSourceMap=function(){return e};return e}var s=n(13317);var i=n(92798);var a=n(65053);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,r,n,p){n=`${n||""}`;if(p){if(p.type==="Program"){p=t().file(p,[],[])}else if(p.type!=="File"){throw new Error("AST root must be a Program or File node")}if(r.cloneInputAst){p=(0,a.default)(p)}}else{p=yield*(0,i.default)(e,r,n)}let f=null;if(r.inputSourceMap!==false){if(typeof r.inputSourceMap==="object"){f=_convertSourceMap().fromObject(r.inputSourceMap)}if(!f){const e=extractComments(u,p);if(e){try{f=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!f){const e=extractComments(c,p);if(typeof r.filename==="string"&&e){try{const t=c.exec(e);const n=_fs().readFileSync(_path().resolve(_path().dirname(r.filename),t[1]));if(n.length>l){o("skip merging input map > 1 MB")}else{f=_convertSourceMap().fromJSON(n)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new s.default(r,{code:n,ast:p,inputMap:f})}const u=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const c=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,r){if(t){t=t.filter(({value:t})=>{if(e.test(t)){r=t;return false}return true})}return[t,r]}function extractComments(e,r){let n=null;t().traverseFast(r,t=>{[t.leadingComments,n]=extractCommentsFromList(e,t.leadingComments,n);[t.innerComments,n]=extractCommentsFromList(e,t.innerComments,n);[t.trailingComments,n]=extractCommentsFromList(e,t.trailingComments,n)});return n}},78593:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=r(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:r,filenameRelative:n=(typeof t==="string"?_path().relative(r,t):"unknown"),sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(n),comments:u=true,compact:c="auto"}=e.options;const p=e.options;const f=Object.assign({},p,{parserOpts:Object.assign({sourceType:_path().extname(n)===".mjs"?"module":s,sourceFileName:t,plugins:[]},p.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:p.auxiliaryCommentBefore,auxiliaryCommentAfter:p.auxiliaryCommentAfter,retainLines:p.retainLines,comments:u,shouldPrintComment:p.shouldPrintComment,compact:c,minified:p.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},p.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(f,f.parserOpts)}}}return f}},84938:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,r){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=r||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},93161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const r="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[r]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[r]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},65053:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=r(68987);_v=function(){return e};return e}var n=r(93161);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,n.default)(e)}},16619:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(94917);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=s.line;const c=s.column;let p=Math.max(o-(i+1),0);let f=Math.min(t.length,u+a);if(o===-1){p=0}if(u===-1){f=t.length}const d=u-o;const h={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){h[r]=true}else if(e===0){const e=t[r-1].length;h[r]=[l,e-l+1]}else if(e===d){h[r]=[0,c]}else{const n=t[r-e].length;h[r]=[0,n]}}}else{if(l===c){if(l){h[o]=[l,0]}else{h[o]=true}}else{h[o]=[l,c-l]}}return{start:p,end:f,markerLines:h}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return s?e(t):t};const u=e.split(i);const{start:c,end:p,markerLines:f}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const h=String(p).length;const y=s?(0,n.default)(e,r):e;let m=y.split(i).slice(c,p).map((e,t)=>{const n=c+1+t;const s=` ${n}`.slice(-h);const i=` ${s} |`;const a=f[n];const u=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",l(o.gutter,i.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(s)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,i)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){m=`${" ".repeat(h+1)}${r.message}\n${m}`}if(s){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},64059:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;const r=/^[ \t]+$/;class Buffer{constructor(e){this._map=null;this._buf=[];this._last="";this._queue=[];this._position={line:1,column:0};this._sourcePosition={identifierName:null,line:null,column:null,filename:null};this._disallowedPop=null;this._map=e}get(){this._flush();const e=this._map;const t={code:this._buf.join("").trimRight(),map:null,rawMappings:e==null?void 0:e.getRawMappings()};if(e){Object.defineProperty(t,"map",{configurable:true,enumerable:true,get(){return this.map=e.get()},set(e){Object.defineProperty(this,"map",{value:e,writable:true})}})}return t}append(e){this._flush();const{line:t,column:r,filename:n,identifierName:s,force:i}=this._sourcePosition;this._append(e,t,r,s,n,i)}queue(e){if(e==="\n"){while(this._queue.length>0&&r.test(this._queue[0][0])){this._queue.shift()}}const{line:t,column:n,filename:s,identifierName:i,force:a}=this._sourcePosition;this._queue.unshift([e,t,n,i,s,a])}_flush(){let e;while(e=this._queue.pop()){this._append(...e)}}_append(e,t,r,n,s,i){this._buf.push(e);this._last=e[e.length-1];let a=e.indexOf("\n");let o=0;if(a!==0){this._mark(t,r,n,s,i)}while(a!==-1){this._position.line++;this._position.column=0;o=a+1;if(o0&&this._queue[0][0]==="\n"){this._queue.shift()}}removeLastSemicolon(){if(this._queue.length>0&&this._queue[0][0]===";"){this._queue.shift()}}endsWith(e){if(e.length===1){let t;if(this._queue.length>0){const e=this._queue[0][0];t=e[e.length-1]}else{t=this._last}return t===e}const t=this._last+this._queue.reduce((e,t)=>t[0]+e,"");if(e.length<=t.length){return t.slice(-e.length)===e}return false}hasContent(){return this._queue.length>0||!!this._last}exactSource(e,t){this.source("start",e,true);t();this.source("end",e);this._disallowPop("start",e)}source(e,t,r){if(e&&!t)return;this._normalizePosition(e,t,this._sourcePosition,r)}withSource(e,t,r){if(!this._map)return r();const n=this._sourcePosition.line;const s=this._sourcePosition.column;const i=this._sourcePosition.filename;const a=this._sourcePosition.identifierName;this.source(e,t);r();if((!this._sourcePosition.force||this._sourcePosition.line!==n||this._sourcePosition.column!==s||this._sourcePosition.filename!==i)&&(!this._disallowedPop||this._disallowedPop.line!==n||this._disallowedPop.column!==s||this._disallowedPop.filename!==i)){this._sourcePosition.line=n;this._sourcePosition.column=s;this._sourcePosition.filename=i;this._sourcePosition.identifierName=a;this._sourcePosition.force=false;this._disallowedPop=null}}_disallowPop(e,t){if(e&&!t)return;this._disallowedPop=this._normalizePosition(e,t)}_normalizePosition(e,t,r,n){const s=t?t[e]:null;if(r===undefined){r={identifierName:null,line:null,column:null,filename:null,force:false}}const i=r.line;const a=r.column;const o=r.filename;r.identifierName=e==="start"&&(t==null?void 0:t.identifierName)||null;r.line=s==null?void 0:s.line;r.column=s==null?void 0:s.column;r.filename=t==null?void 0:t.filename;if(n||r.line!==i||r.column!==a||r.filename!==o){r.force=n}return r}getCurrentColumn(){const e=this._queue.reduce((e,t)=>t[0]+e,"");const t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t}getCurrentLine(){const e=this._queue.reduce((e,t)=>t[0]+e,"");let t=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.File=File;t.Program=Program;t.BlockStatement=BlockStatement;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;var n=r(79584);function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){this.printInnerComments(e,false);this.printSequence(e.directives,e);if(e.directives&&e.directives.length)this.newline();this.printSequence(e.body,e)}function BlockStatement(e){var t;this.token("{");this.printInnerComments(e);const r=(t=e.directives)==null?void 0:t.length;if(e.body.length||r){this.newline();this.printSequence(e.directives,e,{indent:true});if(r)this.newline();this.printSequence(e.body,e,{indent:true});this.removeTrailingNewline();this.source("end",e.loc);if(!this.endsWith("\n"))this.newline();this.rightBrace()}else{this.source("end",e.loc);this.token("}")}}function Directive(e){this.print(e.value,e);this.semicolon()}const s=/(?:^|[^\\])(?:\\\\)*'/;const i=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t);return}const{value:r}=e;if(!i.test(r)){this.token(`"${r}"`)}else if(!s.test(r)){this.token(`'${r}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}\n`)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},40062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassBody=ClassBody;t.ClassProperty=ClassProperty;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t._classMethodHead=_classMethodHead;t.StaticBlock=StaticBlock;var n=r(79584);function ClassDeclaration(e,t){if(!this.format.decoratorsBeforeExport||!n.isExportDefaultDeclaration(t)&&!n.isExportNamedDeclaration(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.token("{");this.printInnerComments(e);if(e.body.length===0){this.token("}")}else{this.newline();this.indent();this.printSequence(e.body,e);this.dedent();if(!this.endsWith("\n"))this.newline();this.rightBrace()}}function ClassProperty(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,true);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.token("?")}if(e.definite){this.token("!")}this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,false);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.token("{");if(e.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace()}}},30445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UnaryExpression=UnaryExpression;t.DoExpression=DoExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.UpdateExpression=UpdateExpression;t.ConditionalExpression=ConditionalExpression;t.NewExpression=NewExpression;t.SequenceExpression=SequenceExpression;t.ThisExpression=ThisExpression;t.Super=Super;t.Decorator=Decorator;t.OptionalMemberExpression=OptionalMemberExpression;t.OptionalCallExpression=OptionalCallExpression;t.CallExpression=CallExpression;t.Import=Import;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.AssignmentPattern=AssignmentPattern;t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.BindExpression=BindExpression;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.PrivateName=PrivateName;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.ModuleExpression=ModuleExpression;t.AwaitExpression=t.YieldExpression=void 0;var n=r(79584);var s=r(48735);function UnaryExpression(e){if(e.operator==="void"||e.operator==="delete"||e.operator==="typeof"||e.operator==="throw"){this.word(e.operator);this.space()}else{this.token(e.operator)}this.print(e.argument,e)}function DoExpression(e){if(e.async){this.word("async");this.space()}this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.token("(");this.print(e.expression,e);this.token(")")}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.startTerminatorless(true);this.print(e.argument,e);this.endTerminatorless();this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.token("?");this.space();this.print(e.consequent,e);this.space();this.token(":");this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!n.isCallExpression(t,{callee:e})&&!n.isMemberExpression(t)&&!n.isNewExpression(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function Decorator(e){this.token("@");this.print(e.expression,e);this.newline()}function OptionalMemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(e.optional){this.token("?.")}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{if(!e.optional){this.token(".")}this.print(e.property,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.token("(");this.printList(e.arguments,e);this.token(")")}function Import(){this.word("import")}function buildYieldAwait(e){return function(t){this.word(e);if(t.delegate){this.token("*")}if(t.argument){this.space();const e=this.startTerminatorless();this.print(t.argument,t);this.endTerminatorless(e)}}}const i=buildYieldAwait("yield");t.YieldExpression=i;const a=buildYieldAwait("await");t.AwaitExpression=a;function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.token("?");this.print(e.left.typeAnnotation,e);this.space();this.token("=");this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!s.needsParens(e,t);if(r){this.token("(")}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.token(")")}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{this.token(".");this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.token(".");this.print(e.property,e)}function PrivateName(e){this.token("#");this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.token("%");this.word(e.name)}function ModuleExpression(e){this.word("module");this.space();this.token("{");if(e.body.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body.body,e,{indent:true});this.rightBrace()}}},73467:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareFunction=DeclareFunction;t.InferredPredicate=InferredPredicate;t.DeclaredPredicate=DeclaredPredicate;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareVariable=DeclareVariable;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.EnumDeclaration=EnumDeclaration;t.EnumBooleanBody=EnumBooleanBody;t.EnumNumberBody=EnumNumberBody;t.EnumStringBody=EnumStringBody;t.EnumSymbolBody=EnumSymbolBody;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumBooleanMember=EnumBooleanMember;t.EnumNumberMember=EnumNumberMember;t.EnumStringMember=EnumStringMember;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t._interfaceish=_interfaceish;t._variance=_variance;t.InterfaceDeclaration=InterfaceDeclaration;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;t.NumberTypeAnnotation=NumberTypeAnnotation;t.StringTypeAnnotation=StringTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeParameter=TypeParameter;t.OpaqueType=OpaqueType;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;t.IndexedAccessType=IndexedAccessType;t.OptionalIndexedAccessType=OptionalIndexedAccessType;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return i.NumericLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return i.StringLiteral}});var n=r(79584);var s=r(6022);var i=r(44165);function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e);this.token("[");this.token("]")}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.token("%");this.word("checks")}function DeclaredPredicate(e){this.token("%");this.word("checks");this.token("(");this.print(e.value,e);this.token(")")}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.token(".");this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.apply(this,arguments)}function DeclareExportAllDeclaration(){this.word("declare");this.space();s.ExportAllDeclaration.apply(this,arguments)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}if(t.hasUnknownMembers){e.token("...");e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.token(",")}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{this.token("{");if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.token("}");if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.token("*")}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.token("(");if(e.this){this.word("this");this.token(":");this.space();this.print(e.this.typeAnnotation,e);if(e.params.length||e.rest){this.token(",");this.space()}}this.printList(e.params,e);if(e.rest){if(e.params.length){this.token(",");this.space()}this.token("...");this.print(e.rest,e)}this.token(")");if(t.type==="ObjectTypeCallProperty"||t.type==="DeclareFunction"||t.type==="ObjectTypeProperty"&&t.method){this.token(":")}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.token("?");if(e.name){this.token(":");this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e)}function _interfaceish(e){var t;this.print(e.id,e);this.print(e.typeParameters,e);if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.mixins&&e.mixins.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if(e.implements&&e.implements.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function _variance(e){if(e.variance){if(e.variance.kind==="plus"){this.token("+")}else if(e.variance.kind==="minus"){this.token("-")}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.token("&");this.space()}function InterfaceTypeAnnotation(e){this.word("interface");if(e.extends&&e.extends.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.token("?");this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.token("[");this.printList(e.types,e);this.token("]")}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.token("=");this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.token(":");this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.token("=");this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.token("{")}const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];if(t.length){this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.token(",");this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.token("}")}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.token("[");this.token("[");this.print(e.id,e);this.token("]");this.token("]");if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.token("[");if(e.id){this.print(e.id,e);this.token(":");this.space()}this.print(e.key,e);this.token("]");this.token(":");this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.token(".");this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.token("|");this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.token("(");this.print(e.expression,e);this.print(e.typeAnnotation,e);this.token(")")}function Variance(e){if(e.kind==="plus"){this.token("+")}else{this.token("-")}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function OptionalIndexedAccessType(e){this.print(e.objectType,e);if(e.optional){this.token("?.")}this.token("[");this.print(e.indexType,e);this.token("]")}},97266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(4689);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})});var s=r(30445);Object.keys(s).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})});var i=r(98933);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})});var a=r(40062);Object.keys(a).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})});var o=r(20502);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})});var l=r(6022);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(44165);Object.keys(u).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})});var c=r(73467);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var p=r(19545);Object.keys(p).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})});var f=r(83763);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(17816);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})})},83763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXIdentifier=JSXIdentifier;t.JSXNamespacedName=JSXNamespacedName;t.JSXMemberExpression=JSXMemberExpression;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;t.JSXElement=JSXElement;t.JSXOpeningElement=JSXOpeningElement;t.JSXClosingElement=JSXClosingElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXFragment=JSXFragment;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXClosingFragment=JSXClosingFragment;var n=r(79584);function JSXAttribute(e){this.print(e.name,e);if(e.value){this.token("=");this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.token(":");this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.token(".");this.print(e.property,e)}function JSXSpreadAttribute(e){this.token("{");this.token("...");this.print(e.argument,e);this.token("}")}function JSXExpressionContainer(e){this.token("{");this.print(e.expression,e);this.token("}")}function JSXSpreadChild(e){this.token("{");this.token("...");this.print(e.expression,e);this.token("}")}function JSXText(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t)}else{this.token(e.value)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.token("<");this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.token(">")}}function JSXClosingElement(e){this.token("")}function JSXEmptyExpression(e){this.printInnerComments(e)}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.token("<");this.token(">")}function JSXClosingFragment(){this.token("")}},20502:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._params=_params;t._parameters=_parameters;t._param=_param;t._methodHead=_methodHead;t._predicate=_predicate;t._functionHead=_functionHead;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;var n=r(79584);function _params(e){this.print(e.typeParameters,e);this.token("(");this._parameters(e.params,e);this.token(")");this.print(e.returnType,e)}function _parameters(e,t){for(let r=0;r");this.space();this.print(e.body,e)}function hasTypesOrComments(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}},6022:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImportSpecifier=ImportSpecifier;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportSpecifier=ExportSpecifier;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportAllDeclaration=ExportAllDeclaration;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ImportDeclaration=ImportDeclaration;t.ImportAttribute=ImportAttribute;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;var n=r(79584);function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.exported,e)}function ExportAllDeclaration(e){this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.token("*");this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e);this.semicolon()}function ExportNamedDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();this.word("default");this.space();ExportDeclaration.apply(this,arguments)}function ExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const t=e.specifiers.slice(0);let r=false;for(;;){const s=t[0];if(n.isExportDefaultSpecifier(s)||n.isExportNamespaceSpecifier(s)){r=true;this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length||!t.length&&!r){this.token("{");if(t.length){this.space();this.printList(t,e);this.space()}this.token("}")}if(e.source){this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e)}this.semicolon()}}function ImportDeclaration(e){this.word("import");this.space();if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}const t=e.specifiers.slice(0);if(t!=null&&t.length){for(;;){const r=t[0];if(n.isImportDefaultSpecifier(r)||n.isImportNamespaceSpecifier(r)){this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length){this.token("{");this.space();this.printList(t,e);this.space();this.token("}")}this.space();this.word("from");this.space()}this.print(e.source,e);this.printAssertions(e);{var r;if((r=e.attributes)!=null&&r.length){this.space();this.word("with");this.space();this.printList(e.attributes,e)}}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.token(":");this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.local,e)}},98933:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WithStatement=WithStatement;t.IfStatement=IfStatement;t.ForStatement=ForStatement;t.WhileStatement=WhileStatement;t.DoWhileStatement=DoWhileStatement;t.LabeledStatement=LabeledStatement;t.TryStatement=TryStatement;t.CatchClause=CatchClause;t.SwitchStatement=SwitchStatement;t.SwitchCase=SwitchCase;t.DebuggerStatement=DebuggerStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForOfStatement=t.ForInStatement=void 0;var n=r(79584);function WithStatement(e){this.word("with");this.space();this.token("(");this.print(e.object,e);this.token(")");this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.token("(");this.print(e.test,e);this.token(")");this.space();const t=e.alternate&&n.isIfStatement(getLastStatement(e.consequent));if(t){this.token("{");this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.token("}")}if(e.alternate){if(this.endsWith("}"))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){if(!n.isStatement(e.body))return e;return getLastStatement(e.body)}function ForStatement(e){this.word("for");this.space();this.token("(");this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.token(";");if(e.test){this.space();this.print(e.test,e)}this.token(";");if(e.update){this.space();this.print(e.update,e)}this.token(")");this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.printBlock(e)}const s=function(e){return function(t){this.word("for");this.space();if(e==="of"&&t.await){this.word("await");this.space()}this.token("(");this.print(t.left,t);this.space();this.word(e);this.space();this.print(t.right,t);this.token(")");this.printBlock(t)}};const i=s("in");t.ForInStatement=i;const a=s("of");t.ForOfStatement=a;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.semicolon()}function buildLabelStatement(e,t="label"){return function(r){this.word(e);const n=r[t];if(n){this.space();const e=t=="label";const s=this.startTerminatorless(e);this.print(n,r);this.endTerminatorless(s)}this.semicolon()}}const o=buildLabelStatement("continue");t.ContinueStatement=o;const l=buildLabelStatement("return","argument");t.ReturnStatement=l;const u=buildLabelStatement("break");t.BreakStatement=u;const c=buildLabelStatement("throw","argument");t.ThrowStatement=c;function LabeledStatement(e){this.print(e.label,e);this.token(":");this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.token("(");this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.token(")");this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.token("(");this.print(e.discriminant,e);this.token(")");this.space();this.token("{");this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.token("}")}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.token(":")}else{this.word("default");this.token(":")}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function variableDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<4;e++)this.space(true)}function constDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<6;e++)this.space(true)}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}this.word(e.kind);this.space();let r=false;if(!n.isFor(t)){for(const t of e.declarations){if(t.init){r=true}}}let s;if(r){s=e.kind==="const"?constDeclarationIndent:variableDeclarationIndent}this.printList(e.declarations,e,{separator:s});if(n.isFor(t)){if(n.isForStatement(t)){if(t.init===e)return}else{if(t.left===e)return}}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.token("!");this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.token("=");this.space();this.print(e.init,e)}}},4689:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;var n=r(79584);function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const s=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(s)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Identifier=Identifier;t.ArgumentPlaceholder=ArgumentPlaceholder;t.SpreadElement=t.RestElement=RestElement;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.RecordExpression=RecordExpression;t.TupleExpression=TupleExpression;t.RegExpLiteral=RegExpLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.StringLiteral=StringLiteral;t.BigIntLiteral=BigIntLiteral;t.DecimalLiteral=DecimalLiteral;t.PipelineTopicExpression=PipelineTopicExpression;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;var n=r(79584);var s=r(87504);function Identifier(e){this.exactSource(e.loc,()=>{this.word(e.name)})}function ArgumentPlaceholder(){this.token("?")}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.token("{");this.printInnerComments(e);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token("}")}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{if(n.isAssignmentPattern(e.value)&&n.isIdentifier(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&n.isIdentifier(e.key)&&n.isIdentifier(e.value)&&e.key.name===e.value.name){return}}this.token(":");this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.token("[");this.printInnerComments(e);for(let n=0;n0)this.space();this.print(s,e);if(n0)this.space();this.print(s,e);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypeParameter=TSTypeParameter;t.TSParameterProperty=TSParameterProperty;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSQualifiedName=TSQualifiedName;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSPropertySignature=TSPropertySignature;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.TSMethodSignature=TSMethodSignature;t.TSIndexSignature=TSIndexSignature;t.TSAnyKeyword=TSAnyKeyword;t.TSBigIntKeyword=TSBigIntKeyword;t.TSUnknownKeyword=TSUnknownKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSVoidKeyword=TSVoidKeyword;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSNullKeyword=TSNullKeyword;t.TSNeverKeyword=TSNeverKeyword;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSThisType=TSThisType;t.TSFunctionType=TSFunctionType;t.TSConstructorType=TSConstructorType;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.TSTypeReference=TSTypeReference;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeLiteral=TSTypeLiteral;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;t.tsPrintBraced=tsPrintBraced;t.TSArrayType=TSArrayType;t.TSTupleType=TSTupleType;t.TSOptionalType=TSOptionalType;t.TSRestType=TSRestType;t.TSNamedTupleMember=TSNamedTupleMember;t.TSUnionType=TSUnionType;t.TSIntersectionType=TSIntersectionType;t.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;t.TSConditionalType=TSConditionalType;t.TSInferType=TSInferType;t.TSParenthesizedType=TSParenthesizedType;t.TSTypeOperator=TSTypeOperator;t.TSIndexedAccessType=TSIndexedAccessType;t.TSMappedType=TSMappedType;t.TSLiteralType=TSLiteralType;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSInterfaceBody=TSInterfaceBody;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSModuleDeclaration=TSModuleDeclaration;t.TSModuleBlock=TSModuleBlock;t.TSImportType=TSImportType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSExternalModuleReference=TSExternalModuleReference;t.TSNonNullExpression=TSNonNullExpression;t.TSExportAssignment=TSExportAssignment;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;var n=r(79584);function TSTypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TSTypeParameter(e){this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e){if(e.declare){this.word("declare");this.space()}this._functionHead(e);this.token(";")}function TSDeclareMethod(e){this._classMethodHead(e);this.token(";")}function TSQualifiedName(e){this.print(e.left,e);this.token(".");this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(";")}function tsPrintPropertyOrMethodName(e){if(e.computed){this.token("[")}this.print(e.key,e);if(e.computed){this.token("]")}if(e.optional){this.token("?")}}function TSMethodSignature(e){const{kind:t}=e;if(t==="set"||t==="get"){this.word(t);this.space()}this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSIndexSignature(e){const{readonly:t,static:r}=e;if(r){this.word("static");this.space()}if(t){this.word("readonly");this.space()}this.token("[");this._parameters(e.parameters,e);this.token("]");this.print(e.typeAnnotation,e);this.token(";")}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){if(e.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.space();this.token("=>");this.space();this.print(e.typeAnnotation.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e);this.print(e.typeParameters,e)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName)}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){this.tsPrintBraced(e,t)}function tsPrintBraced(e,t){this.token("{");if(e.length){this.indent();this.newline();for(const r of e){this.print(r,t);this.newline()}this.dedent();this.rightBrace()}else{this.token("}")}}function TSArrayType(e){this.print(e.elementType,e);this.token("[]")}function TSTupleType(e){this.token("[");this.printList(e.elementTypes,e);this.token("]")}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.token("?")}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.token("?");this.token(":");this.space();this.print(e.elementType,e)}function TSUnionType(e){this.tsPrintUnionOrIntersectionType(e,"|")}function TSIntersectionType(e){this.tsPrintUnionOrIntersectionType(e,"&")}function tsPrintUnionOrIntersectionType(e,t){this.printJoin(e.types,e,{separator(){this.space();this.token(t);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.token("?");this.space();this.print(e.trueType);this.space();this.token(":");this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.token("(");this.print(e.typeAnnotation,e);this.token(")")}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:s}=e;this.token("{");this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.token("[");this.word(s.name);this.space();this.word("in");this.space();this.print(s.constraint,s);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.token("]");if(r){tokenIfPlusMinus(this,r);this.token("?")}this.token(":");this.space();this.print(e.typeAnnotation,e);this.space();this.token("}")}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:s,body:i}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(s!=null&&s.length){this.space();this.word("extends");this.space();this.printList(s,e)}this.space();this.print(i,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:s}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.token("=");this.space();this.print(s,e);this.token(";")}function TSAsExpression(e){const{expression:t,typeAnnotation:r}=e;this.print(t,e);this.space();this.word("as");this.space();this.print(r,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.token("<");this.print(t,e);this.token(">");this.space();this.print(r,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:s}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();this.tsPrintBraced(s,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(",")}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.token(";");return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.token(".");this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){this.tsPrintBraced(e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.token("(");this.print(t,e);this.token(")");if(r){this.token(".");this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.token("=");this.space();this.print(n,e);this.token(";")}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.token(")")}function TSNonNullExpression(e){this.print(e.expression,e);this.token("!")}function TSExportAssignment(e){this.word("export");this.space();this.token("=");this.space();this.print(e.expression,e);this.token(";")}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.print(e.typeAnnotation,e)}function tsPrintClassMemberModifiers(e,t){if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.override){this.word("override");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},88157:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generate;t.CodeGenerator=void 0;var n=r(25341);var s=r(13811);class Generator extends s.default{constructor(e,t={},r){const s=normalizeOptions(r,t);const i=t.sourceMaps?new n.default(t,r):null;super(s,i);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:true,minimal:false},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType};{r.jsonCompatibleStrings=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0)}if(r.compact==="auto"){r.compact=e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}return r}class CodeGenerator{constructor(e,t,r){this._generator=void 0;this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function generate(e,t,r){const n=new Generator(e,t,r);return n.generate()}},48735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsWhitespace=needsWhitespace;t.needsWhitespaceBefore=needsWhitespaceBefore;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsParens=needsParens;var n=r(66414);var s=r(19122);var i=r(79584);function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,s){const i=n(e,t,s);return i==null?r(e,t,s):i}:r}for(const t of Object.keys(e)){const r=i.FLIPPED_ALIAS_KEYS[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const a=expandAliases(s);const o=expandAliases(n.nodes);const l=expandAliases(n.list);function find(e,t,r,n){const s=e[t.type];return s?s(t,r,n):null}function isOrHasCallExpression(e){if(i.isCallExpression(e)){return true}return i.isMemberExpression(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return 0;if(i.isExpressionStatement(e)){e=e.expression}let n=find(o,e,t);if(!n){const s=find(l,e,t);if(s){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NullableTypeAnnotation=NullableTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.ObjectExpression=ObjectExpression;t.DoExpression=DoExpression;t.Binary=Binary;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.TSInferType=TSInferType;t.BinaryExpression=BinaryExpression;t.SequenceExpression=SequenceExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;t.ClassExpression=ClassExpression;t.UnaryLike=UnaryLike;t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;t.ConditionalExpression=ConditionalExpression;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.AssignmentExpression=AssignmentExpression;t.LogicalExpression=LogicalExpression;t.Identifier=Identifier;var n=r(79584);const s={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};const i=(e,t)=>(n.isClassDeclaration(t)||n.isClassExpression(t))&&t.superClass===e;const a=(e,t)=>(n.isMemberExpression(t)||n.isOptionalMemberExpression(t))&&t.object===e||(n.isCallExpression(t)||n.isOptionalCallExpression(t)||n.isNewExpression(t))&&t.callee===e||n.isTaggedTemplateExpression(t)&&t.tag===e||n.isTSNonNullExpression(t);function NullableTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)}function FunctionTypeAnnotation(e,t,r){return n.isUnionTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isArrayTypeAnnotation(t)||n.isTypeAnnotation(t)&&n.isArrowFunctionExpression(r[r.length-3])}function UpdateExpression(e,t){return a(e,t)||i(e,t)}function ObjectExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,arrowBody:true})}function DoExpression(e,t,r){return!e.async&&isFirstInContext(r,{expressionStatement:true})}function Binary(e,t){if(e.operator==="**"&&n.isBinaryExpression(t,{operator:"**"})){return t.left===e}if(i(e,t)){return true}if(a(e,t)||n.isUnaryLike(t)||n.isAwaitExpression(t)){return true}if(n.isBinary(t)){const r=t.operator;const i=s[r];const a=e.operator;const o=s[a];if(i===o&&t.right===e&&!n.isLogicalExpression(t)||i>o){return true}}}function UnionTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)||n.isNullableTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isUnionTypeAnnotation(t)}function OptionalIndexedAccessType(e,t){return n.isIndexedAccessType(t,{objectType:e})}function TSAsExpression(){return true}function TSTypeAssertion(){return true}function TSUnionType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)||n.isTSIntersectionType(t)||n.isTSUnionType(t)||n.isTSRestType(t)}function TSInferType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)}function BinaryExpression(e,t){return e.operator==="in"&&(n.isVariableDeclarator(t)||n.isFor(t))}function SequenceExpression(e,t){if(n.isForStatement(t)||n.isThrowStatement(t)||n.isReturnStatement(t)||n.isIfStatement(t)&&t.test===e||n.isWhileStatement(t)&&t.test===e||n.isForInStatement(t)&&t.right===e||n.isSwitchStatement(t)&&t.discriminant===e||n.isExpressionStatement(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return n.isBinary(t)||n.isUnaryLike(t)||a(e,t)||n.isAwaitExpression(t)&&n.isYieldExpression(e)||n.isConditionalExpression(t)&&e===t.test||i(e,t)}function ClassExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function UnaryLike(e,t){return a(e,t)||n.isBinaryExpression(t,{operator:"**",left:e})||i(e,t)}function FunctionExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function ArrowFunctionExpression(e,t){return n.isExportDeclaration(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(n.isUnaryLike(t)||n.isBinary(t)||n.isConditionalExpression(t,{test:e})||n.isAwaitExpression(t)||n.isTSTypeAssertion(t)||n.isTSAsExpression(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return n.isCallExpression(t,{callee:e})||n.isMemberExpression(t,{object:e})}function AssignmentExpression(e,t){if(n.isObjectPattern(e.left)){return true}else{return ConditionalExpression(e,t)}}function LogicalExpression(e,t){switch(e.operator){case"||":if(!n.isLogicalExpression(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return n.isLogicalExpression(t,{operator:"??"});case"??":return n.isLogicalExpression(t)&&t.operator!=="??"}}function Identifier(e,t,r){if(e.name==="let"){const s=n.isMemberExpression(t,{object:e,computed:true})||n.isOptionalMemberExpression(t,{object:e,computed:true,optional:false});return isFirstInContext(r,{expressionStatement:s,forHead:s,forInHead:s,forOfHead:true})}return e.name==="async"&&n.isForOfStatement(t)&&e===t.left}function isFirstInContext(e,{expressionStatement:t=false,arrowBody:r=false,exportDefault:s=false,forHead:i=false,forInHead:o=false,forOfHead:l=false}){let u=e.length-1;let c=e[u];u--;let p=e[u];while(u>=0){if(t&&n.isExpressionStatement(p,{expression:c})||s&&n.isExportDefaultDeclaration(p,{declaration:c})||r&&n.isArrowFunctionExpression(p,{body:c})||i&&n.isForStatement(p,{init:c})||o&&n.isForInStatement(p,{left:c})||l&&n.isForOfStatement(p,{left:c})){return true}if(a(c,p)&&!n.isNewExpression(p)||n.isSequenceExpression(p)&&p.expressions[0]===c||n.isConditional(p,{test:c})||n.isBinary(p,{left:c})||n.isAssignmentExpression(p,{left:c})){c=p;u--;p=e[u]}else{return false}}return false}},66414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.list=t.nodes=void 0;var n=r(79584);function crawl(e,t={}){if(n.isMemberExpression(e)||n.isOptionalMemberExpression(e)){crawl(e.object,t);if(e.computed)crawl(e.property,t)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){crawl(e.left,t);crawl(e.right,t)}else if(n.isCallExpression(e)||n.isOptionalCallExpression(e)){t.hasCall=true;crawl(e.callee,t)}else if(n.isFunction(e)){t.hasFunction=true}else if(n.isIdentifier(e)){t.hasHelper=t.hasHelper||isHelper(e.callee)}return t}function isHelper(e){if(n.isMemberExpression(e)){return isHelper(e.object)||isHelper(e.property)}else if(n.isIdentifier(e)){return e.name==="require"||e.name[0]==="_"}else if(n.isCallExpression(e)){return isHelper(e.callee)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){return n.isIdentifier(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return n.isLiteral(e)||n.isObjectExpression(e)||n.isArrayExpression(e)||n.isIdentifier(e)||n.isMemberExpression(e)}const s={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return{before:t.hasFunction,after:true}}},SwitchCase(e,t){return{before:!!e.consequent.length||t.cases[0]===e,after:!e.consequent.length&&t.cases[t.cases.length-1]===e}},LogicalExpression(e){if(n.isFunction(e.left)||n.isFunction(e.right)){return{after:true}}},Literal(e){if(n.isStringLiteral(e)&&e.value==="use strict"){return{after:true}}},CallExpression(e){if(n.isFunction(e.callee)||isHelper(e)){return{before:true,after:true}}},OptionalCallExpression(e){if(n.isFunction(e.callee)){return{before:true,after:true}}},VariableDeclaration(e){for(let t=0;te.init)},ArrayExpression(e){return e.elements},ObjectExpression(e){return e.properties}};t.list=i;[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach(function([e,t]){if(typeof t==="boolean"){t={after:t,before:t}}[e].concat(n.FLIPPED_ALIAS_KEYS[e]||[]).forEach(function(e){s[e]=function(){return t}})})},13811:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64059);var s=r(48735);var i=r(79584);var a=r(97266);const o=/e/i;const l=/\.0+$/;const u=/^0[box]/;const c=/^\s*[@#]__PURE__\s*$/;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._insideAux=false;this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new WeakSet;this._endsWithInteger=false;this._endsWithWord=false;this.format=e;this._buf=new n.default(t)}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();this._append(";",!e)}rightBrace(){if(this.format.minified){this._buf.removeLastSemicolon()}this.token("}")}space(e=false){if(this.format.compact)return;if(this._buf.hasContent()&&!this.endsWith(" ")&&!this.endsWith("\n")||e){this._space()}}word(e){if(this._endsWithWord||this.endsWith("/")&&e.indexOf("/")===0){this._space()}this._maybeAddAuxComment();this._append(e);this._endsWithWord=true}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!u.test(e)&&!o.test(e)&&!l.test(e)&&e[e.length-1]!=="."}token(e){if(e==="--"&&this.endsWith("!")||e[0]==="+"&&this.endsWith("+")||e[0]==="-"&&this.endsWith("-")||e[0]==="."&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e)}newline(e){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}if(this.endsWith("\n\n"))return;if(typeof e!=="number")e=1;e=Math.min(2,e);if(this.endsWith("{\n")||this.endsWith(":\n"))e--;if(e<=0)return;for(let t=0;t{n.call(this,e,t)});this._printTrailingComments(e);if(o)this.token(")");this._printStack.pop();this.format.concise=r;this._insideAux=a}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e})}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e})}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e!=null&&e.length))return;if(r.indent)this.indent();const n={addNewlines:r.addNewlines};for(let s=0;s0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(!i.isEmptyStatement(t)){this.space()}this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(false,e))}_printLeadingComments(e){this._printComments(this._getComments(true,e),true)}printInnerComments(e,t=true){var r;if(!((r=e.innerComments)!=null&&r.length))return;if(t)this.indent();this._printComments(e.innerComments);if(t)this.dedent()}printSequence(e,t,r={}){r.statement=true;return this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}return this.printJoin(e,t,r)}_printNewline(e,t,r,n){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}let i=0;if(this._buf.hasContent()){if(!e)i++;if(n.addNewlines)i+=n.addNewlines(e,t)||0;const a=e?s.needsWhitespaceBefore:s.needsWhitespaceAfter;if(a(t,r))i++}this.newline(i)}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e,t){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;this._printedComments.add(e);const r=e.type==="CommentBlock";const n=r&&!t&&!this._noLineTerminator;if(n&&this._buf.hasContent())this.newline(1);if(!this.endsWith("[")&&!this.endsWith("{"))this.space();let s=!r&&!this._noLineTerminator?`//${e.value}\n`:`/*${e.value}*/`;if(r&&this.format.indent.adjustMultilineComment){var i;const t=(i=e.loc)==null?void 0:i.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");s=s.replace(e,"\n")}const r=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());s=s.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}if(this.endsWith("/"))this._space();this.withSource("start",e.loc,()=>{this._append(s)});if(n)this.newline(1)}_printComments(e,t){if(!(e!=null&&e.length))return;if(t&&e.length===1&&c.test(e[0].value)){this._printComment(e[0],this._buf.hasContent()&&!this.endsWith("\n"))}else{for(const t of e){this._printComment(t)}}}printAssertions(e){var t;if((t=e.assertions)!=null&&t.length){this.space();this.word("assert");this.space();this.token("{");this.space();this.printList(e.assertions,e);this.space();this.token("}")}}}Object.assign(Printer.prototype,a);{Printer.prototype.Noop=function Noop(){}}var p=Printer;t.default=p;function commaSeparator(){this.token(",");this.space()}},25341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(96241);class SourceMap{constructor(e,t){this._cachedMap=void 0;this._code=void 0;this._opts=void 0;this._rawMappings=void 0;this._lastGenLine=void 0;this._lastSourceLine=void 0;this._lastSourceColumn=void 0;this._cachedMap=null;this._code=t;this._opts=e;this._rawMappings=[]}get(){if(!this._cachedMap){const e=this._cachedMap=new n.SourceMapGenerator({sourceRoot:this._opts.sourceRoot});const t=this._code;if(typeof t==="string"){e.setSourceContent(this._opts.sourceFileName.replace(/\\/g,"/"),t)}else if(typeof t==="object"){Object.keys(t).forEach(r=>{e.setSourceContent(r.replace(/\\/g,"/"),t[r])})}this._rawMappings.forEach(t=>e.addMapping(t),e)}return this._cachedMap.toJSON()}getRawMappings(){return this._rawMappings.slice()}mark(e,t,r,n,s,i,a){if(this._lastGenLine!==e&&r===null)return;if(!a&&this._lastGenLine===e&&this._lastSourceLine===r&&this._lastSourceColumn===n){return}this._cachedMap=null;this._lastGenLine=e;this._lastSourceLine=r;this._lastSourceColumn=n;this._rawMappings.push({name:s||undefined,generated:{line:e,column:t},source:r==null?undefined:(i||this._opts.sourceFileName).replace(/\\/g,"/"),original:r==null?undefined:{line:r,column:n}})}}t.default=SourceMap},45357:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(83112);var s=r(47202);var i=r(79584);const a=(0,s.default)(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const o=(0,s.default)(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const l={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const r=e.scope.getBindingIdentifier(t.name);if(r!==t.outerDeclar)return;t.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(i.isNullLiteral(e)){return"null"}if(i.isRegExpLiteral(e)){return`_${e.pattern}_${e.flags}`}if(i.isTemplateLiteral(e)){return e.quasis.map(e=>e.value.raw).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,t,r,s){if(e.selfReference){if(s.hasBinding(r.name)&&!s.hasGlobal(r.name)){s.rename(r.name)}else{if(!i.isFunction(t))return;let e=a;if(t.generator){e=o}const l=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:s.generateUidIdentifier(r.name)}).expression;const u=l.callee.body.body[0].params;for(let e=0,r=(0,n.default)(t);e{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(79584);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:true,get:function(){return e[r]}})}})}t["default"]=e;return Object.freeze(t)}var s=_interopNamespace(n);function willPathCastToBoolean(e){const t=e;const{node:r,parentPath:n}=t;if(n.isLogicalExpression()){const{operator:e,right:t}=n.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(n)}}if(n.isSequenceExpression()){const{expressions:e}=n.node;if(e[e.length-1]===r){return willPathCastToBoolean(n)}else{return true}}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:r}=t;t.count--;if(t.count===0){return s.assignmentExpression("=",r,e)}return r}set(e,t,r){return this._map.set(e,{count:r,value:t})}}function toNonOptional(e,t){const{node:r}=e;if(e.isOptionalMemberExpression()){return s.memberExpression(t,r.property,r.computed)}if(e.isOptionalCallExpression()){const n=e.get("callee");if(e.node.optional&&n.isOptionalMemberExpression()){const{object:i}=n.node;const a=e.scope.maybeGenerateMemoised(i)||i;n.get("object").replaceWith(s.assignmentExpression("=",a,i));return s.callExpression(s.memberExpression(t,s.identifier("call")),[a,...r.arguments])}return s.callExpression(t,r.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:r,listKey:n}=e;const s=t.node;if(n){if(r!==s[n])return true}else{if(r!==s)return true}e=t}return false}const i={memoise(){},handle(e,t){const{node:r,parent:n,parentPath:i,scope:a}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const o=e.find(({node:t,parent:r,parentPath:n})=>{if(n.isOptionalMemberExpression()){return r.optional||r.object!==t}if(n.isOptionalCallExpression()){return t!==e.node&&r.optional||r.callee!==t}return true});if(a.path.isPattern()){o.replaceWith(s.callExpression(s.arrowFunctionExpression([],o.node),[]));return}const l=willPathCastToBoolean(o);const u=o.parentPath;if(u.isUpdateExpression({argument:r})||u.isAssignmentExpression({left:r})){throw e.buildCodeFrameError(`can't handle assignment`)}const c=u.isUnaryExpression({operator:"delete"});if(c&&o.isOptionalMemberExpression()&&o.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let p=e;for(;;){if(p.isOptionalMemberExpression()){if(p.node.optional)break;p=p.get("object");continue}else if(p.isOptionalCallExpression()){if(p.node.optional)break;p=p.get("callee");continue}throw new Error(`Internal error: unexpected ${p.node.type}`)}const f=p.isOptionalMemberExpression()?"object":"callee";const d=p.node[f];const h=a.maybeGenerateMemoised(d);const y=h!=null?h:d;const m=i.isOptionalCallExpression({callee:r});const g=i.isCallExpression({callee:r});p.replaceWith(toNonOptional(p,y));if(m){if(n.optional){i.replaceWith(this.optionalCall(e,n.arguments))}else{i.replaceWith(this.call(e,n.arguments))}}else if(g){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let b=e.node;for(let t=e;t!==o;){const{parentPath:e}=t;if(e===o&&m&&n.optional){b=e.node;break}b=toNonOptional(e,b);t=e}let T;const v=o.parentPath;if(s.isMemberExpression(b)&&v.isOptionalCallExpression({callee:o.node,optional:true})){const{object:t}=b;T=e.scope.maybeGenerateMemoised(t);if(T){b.object=s.assignmentExpression("=",T,t)}}let x=o;if(c){x=v;b=v.node}const E=h?s.assignmentExpression("=",s.cloneNode(y),s.cloneNode(d)):s.cloneNode(y);if(l){let e;if(t){e=s.binaryExpression("!=",E,s.nullLiteral())}else{e=s.logicalExpression("&&",s.binaryExpression("!==",E,s.nullLiteral()),s.binaryExpression("!==",s.cloneNode(y),a.buildUndefinedNode()))}x.replaceWith(s.logicalExpression("&&",e,b))}else{let e;if(t){e=s.binaryExpression("==",E,s.nullLiteral())}else{e=s.logicalExpression("||",s.binaryExpression("===",E,s.nullLiteral()),s.binaryExpression("===",s.cloneNode(y),a.buildUndefinedNode()))}x.replaceWith(s.conditionalExpression(e,c?s.booleanLiteral(true):a.buildUndefinedNode(),b))}if(T){const e=v.node;v.replaceWith(s.optionalCallExpression(s.optionalMemberExpression(e.callee,s.identifier("call"),false,true),[s.cloneNode(T),...e.arguments],false))}return}if(i.isUpdateExpression({argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=n;this.memoise(e,2);const o=s.binaryExpression(t[0],s.unaryExpression("+",this.get(e)),s.numericLiteral(1));if(a){i.replaceWith(this.set(e,o))}else{const{scope:t}=e;const n=t.generateUidIdentifierBasedOnNode(r);t.push({id:n});o.left=s.assignmentExpression("=",s.cloneNode(n),o.left);i.replaceWith(s.sequenceExpression([this.set(e,o),s.cloneNode(n)]))}return}if(i.isAssignmentExpression({left:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:r}=n;if(t==="="){i.replaceWith(this.set(e,r))}else{const n=t.slice(0,-1);if(s.LOGICAL_OPERATORS.includes(n)){this.memoise(e,1);i.replaceWith(s.logicalExpression(n,this.get(e),this.set(e,r)))}else{this.memoise(e,2);i.replaceWith(this.set(e,s.binaryExpression(n,this.get(e),r)))}}return}if(i.isCallExpression({callee:r})){i.replaceWith(this.call(e,n.arguments));return}if(i.isOptionalCallExpression({callee:r})){if(a.path.isPattern()){i.replaceWith(s.callExpression(s.arrowFunctionExpression([],i.node),[]));return}i.replaceWith(this.optionalCall(e,n.arguments));return}if(i.isForXStatement({left:r})||i.isObjectProperty({value:r})&&i.parentPath.isObjectPattern()||i.isAssignmentPattern({left:r})&&i.parentPath.isObjectProperty({value:n})&&i.parentPath.parentPath.isObjectPattern()||i.isArrayPattern()||i.isAssignmentPattern({left:r})&&i.parentPath.isArrayPattern()||i.isRestElement()){e.replaceWith(this.destructureSet(e));return}e.replaceWith(this.get(e))}};function memberExpressionToFunctions(e,t,r){e.traverse(t,Object.assign({},i,r,{memoiser:new AssignmentMemoiser}))}t.default=memberExpressionToFunctions},59946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(79584);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(s.importDeclaration([],s.stringLiteral(this._importedSource)));return this}require(){this._statements.push(s.expressionStatement(s.callExpression(s.identifier("require"),[s.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importNamespaceSpecifier(t)];this._resultName=s.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[s.importDefaultSpecifier(e)];this._resultName=s.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importSpecifier(e,s.identifier(t))];this._resultName=s.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=s.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=s.variableDeclaration("var",[s.variableDeclarator(e,t.expression)]);this._resultName=s.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.memberExpression(t.expression,s.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.memberExpression(t.declarations[0].init,s.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=s.memberExpression(this._resultName,s.identifier(e))}}t.default=ImportBuilder},76980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(79584);var i=r(59946);var a=r(34595);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const s=[];if(typeof e==="string"){s.push({importedSource:e});s.push(t)}else{n(!t,"Unexpected secondary arguments.");s.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of s){if(!e)continue;Object.keys(i).forEach(t=>{if(e[t]!==undefined)i[t]=e[t]});if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:c,importingInterop:p,ensureLiveReference:f,ensureNoContext:d,nameHint:h,importPosition:y,blockHoist:m}=e;let g=h||t;const b=(0,a.default)(this._programPath);const T=b&&p==="node";const v=b&&p==="babel";if(y==="after"&&!b){throw new Error(`"importPosition": "after" is only supported in modules`)}const x=new i.default(l,this._programScope,this._hub);if(u==="es6"){if(!T&&!v){throw new Error("Cannot import an ES6 module from CommonJS")}x.import();if(o){x.namespace(h||l)}else if(r||n){x.named(g,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(c==="babel"){if(T){g=g!=="default"?g:l;const e=`${l}$es6Default`;x.import();if(o){x.default(e).var(g||l).wildcardInterop()}else if(r){if(f){x.default(e).var(g||l).defaultInterop().read("default")}else{x.default(e).var(g).defaultInterop().prop(t)}}else if(n){x.default(e).read(t)}}else if(v){x.import();if(o){x.namespace(g||l)}else if(r||n){x.named(g,t)}}else{x.require();if(o){x.var(g||l).wildcardInterop()}else if((r||n)&&f){if(r){g=g!=="default"?g:l;x.var(g).read(t);x.defaultInterop()}else{x.var(l).read(t)}}else if(r){x.var(g).defaultInterop().prop(t)}else if(n){x.var(g).prop(t)}}}else if(c==="compiled"){if(T){x.import();if(o){x.default(g||l)}else if(r||n){x.default(l).read(g)}}else if(v){x.import();if(o){x.namespace(g||l)}else if(r||n){x.named(g,t)}}else{x.require();if(o){x.var(g||l)}else if(r||n){if(f){x.var(l).read(g)}else{x.prop(t).var(g)}}}}else if(c==="uncompiled"){if(r&&f){throw new Error("No live reference for commonjs default")}if(T){x.import();if(o){x.default(g||l)}else if(r){x.default(g)}else if(n){x.default(l).read(g)}}else if(v){x.import();if(o){x.default(g||l)}else if(r){x.default(g)}else if(n){x.named(g,t)}}else{x.require();if(o){x.var(g||l)}else if(r){x.var(g)}else if(n){if(f){x.var(l).read(g)}else{x.var(g).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${c}".`)}const{statements:E,resultName:S}=x.done();this._insertStatements(E,y,m);if((r||n)&&d&&S.type!=="Identifier"){return s.sequenceExpression([s.numericLiteral(0),S])}return S}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},54539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=r(76980);var s=r(34595);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},34595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},56127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,s,i,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(s=r.moduleIds)!=null?s:t.moduleIds,getModuleId:(i=r.getModuleId)!=null?i:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e;const{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o){return i}let u=l!=null?l+"/":"";if(n){const e=s!=null?new RegExp("^"+s+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},83113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return c.default}});var n=r(42357);var s=r(79584);var i=r(47202);var a=r(54539);var o=r(84748);var l=r(65302);var u=r(37085);var c=r(56127);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:i,allowTopLevelThis:c,strictMode:p,noInterop:f,importInterop:d=(f?"none":"babel"),lazy:h,esNamespaceOnly:y,constantReexports:m=t,enumerableModuleMeta:g=t}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const b=(0,u.default)(e,r,{importInterop:d,initializeReexports:m,lazy:h,esNamespaceOnly:y});if(!c){(0,o.default)(e)}(0,l.default)(e,b);if(p!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",s.directive(s.directiveLiteral("use strict")))}}const T=[];if((0,u.hasExports)(b)&&!i){T.push(buildESModuleHeader(b,g))}const v=buildExportNameListDeclaration(e,b);if(v){b.exportNameListName=v.name;T.push(v.statement)}T.push(...buildExportInitializationStatements(e,b,m));return{meta:b,headers:T}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return s.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,s.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return s.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=s.identifier(t.name);if(t.lazy)a=s.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(i.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:s.cloneNode(a)}))}if(r){n.push(...f(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?i.default.statement` + `(e);function buildGlobal(e){const r=t().identifier("babelHelpers");const n=[];const i=t().functionExpression(null,[t().identifier("global")],t().blockStatement(n));const s=t().program([t().expressionStatement(t().callExpression(i,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),r),t().objectExpression([])))]));buildHelpers(n,r,e);return s}function buildModule(e){const r=[];const n=buildHelpers(r,null,e);r.unshift(t().exportNamedDeclaration(null,Object.keys(n).map(e=>{return t().exportSpecifier(t().cloneNode(n[e]),t().identifier(e))})));return t().program(r,[],"module")}function buildUmd(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().identifier("global"))]));buildHelpers(n,r,e);return t().program([s({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),r),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:n,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().objectExpression([]))]));const i=t().program(n);buildHelpers(n,r,e);n.push(t().expressionStatement(r));return i}function buildHelpers(e,r,n){const s=e=>{return r?t().memberExpression(r,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(n&&n.indexOf(t)<0)return;const r=a[t]=s(t);helpers().ensure(t,i.default);const{nodes:o}=helpers().get(t,s,r);e.push(...o)});return a}function _default(e,t="global"){let r;const n={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(n){r=n(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(r).code}},4261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(98534);var i=r(58109);const s=_gensync()(function*(e,t,r){const s=yield*(0,n.default)(r);if(s===null)return null;if(!e)throw new Error("No AST given");return yield*(0,i.run)(s,t,e)});const a=function transformFromAst(e,t,r,n){if(typeof r==="function"){n=r;r=undefined}if(n===undefined){return s.sync(e,t,r)}s.errback(e,t,r,n)};t.transformFromAst=a;const o=s.sync;t.transformFromAstSync=o;const l=s.async;t.transformFromAstAsync=l},38126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(98534);var i=r(58109);var s=r(60153);({});const a=_gensync()(function*(e,t){const r=Object.assign({},t,{filename:e});const a=yield*(0,n.default)(r);if(a===null)return null;const o=yield*s.readFile(e,"utf8");return yield*(0,i.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const u=a.async;t.transformFileAsync=u},52101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(98534);var i=r(58109);const s=_gensync()(function*transform(e,t){const r=yield*(0,n.default)(t);if(r===null)return null;return yield*(0,i.run)(r,e)});const a=function transform(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return s.sync(e,t);s.errback(e,t,r)};t.transform=a;const o=s.sync;t.transformSync=o;const l=s.async;t.transformAsync=l},43733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=r(58941);_traverse=function(){return e};return e}var n=r(41681);let i;function loadBlockHoistPlugin(){if(!i){i=new n.default(Object.assign({},s,{visitor:_traverse().default.explode(s.visitor)}),{})}return i}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let r=0;r+e).sort((e,t)=>t-e);let n=0;for(const i of r){const r=t[i];for(const t of r){e[n++]=t}}return e}const s={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let r=Math.pow(2,30)-1;let n=false;for(let e=0;er){n=true;break}r=s}if(!n)return;e.body=stableSort(t.slice())}}}}},13317:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=void 0;function helpers(){const e=n(56976);helpers=function(){return e};return e}function _traverse(){const e=n(58941);_traverse=function(){return e};return e}function _codeFrame(){const e=n(16619);_codeFrame=function(){return e};return e}function t(){const e=n(79584);t=function(){return e};return e}function _helperModuleTransforms(){const e=n(83113);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=n(62519);_semver=function(){return e};return e}const i={enter(e,t){const r=e.node.loc;if(r){t.loc=r;e.stop()}}};class File{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=r;this.inputMap=n;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${r}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const r=this.declarations[e];if(r)return t().cloneNode(r);const n=this.get("helperGenerator");if(n){const t=n(e);if(t)return t}helpers().ensure(e,File);const i=this.declarations[e]=this.scope.generateUidIdentifier(e);const s={};for(const t of helpers().getDependencies(e)){s[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>s[e],i,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return i}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,_traverse().default)(e,i,this.scope,r);n=r.loc;let s="This is an error on an internal node. Probably an internal error.";if(n)s+=" Location has been estimated.";t+=` (${s})`}if(n){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:undefined},{highlightCode:e})}return new r(t)}}r.default=File},37151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=r(88157);_generator=function(){return e};return e}var n=r(10390);function generateCode(e,t){const{opts:r,ast:i,code:s,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(i,r.generatorOpts,s,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(i,r.generatorOpts,s)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:u,map:p}=l;if(p&&a){p=(0,n.default)(a.toObject(),p)}if(r.sourceMaps==="inline"||r.sourceMaps==="both"){u+="\n"+_convertSourceMap().fromObject(p).toComment()}if(r.sourceMaps==="inline"){p=null}return{outputCode:u,outputMap:p}}},10390:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=r(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const r=buildMappingData(e);const n=buildMappingData(t);const i=new(_sourceMap().SourceMapGenerator);for(const{source:e}of r.sources){if(typeof e.content==="string"){i.setSourceContent(e.path,e.content)}}if(n.sources.length===1){const e=n.sources[0];const t=new Map;eachInputGeneratedRange(r,(r,n,s)=>{eachOverlappingGeneratedOutputRange(e,r,e=>{const r=makeMappingKey(e);if(t.has(r))return;t.set(r,e);i.addMapping({source:s.path,original:{line:n.line,column:n.columnStart},generated:{line:e.line,column:e.columnStart},name:n.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const r={line:e.line,columnStart:e.columnEnd};const n=makeMappingKey(r);if(t.has(n)){continue}i.addMapping({generated:{line:r.line,column:r.columnStart}})}}const s=i.toJSON();if(typeof r.sourceRoot==="string"){s.sourceRoot=r.sourceRoot}return s}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,r){const n=filterApplicableOriginalRanges(e,t);for(const{generated:e}of n){for(const t of e){r(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:r,columnEnd:n}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(n<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:r,mappings:n}of e.sources){for(const{original:e,generated:i}of n){for(const n of i){t(n,e,r)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const r=new Map;const n=new Map;let i=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let s=r.get(e.source);if(!s){s={path:e.source,content:t.sourceContentFor(e.source,true)};r.set(e.source,s)}let a=n.get(s);if(!a){a={source:s,mappings:[]};n.set(s,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(i&&i.source===s&&i.mapping.line===e.originalLine){i.mapping.columnEnd=e.originalColumn}i={source:s,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(n.values())}}function findInsertionLocation(e,t){let r=0;let n=e.length;while(r=0){n=i}else{r=i+1}}let i=r;if(i=0&&t(e[i])>=0){i--}return i+1}return i}function filterSortedArray(e,t){const r=findInsertionLocation(e,t);const n=[];for(let i=r;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=r(58941);_traverse=function(){return e};return e}var n=r(84938);var i=r(43733);var s=r(78593);var a=r(19093);var o=r(37151);function*run(e,t,r){const n=yield*(0,a.default)(e.passes,(0,s.default)(e),t,r);const i=n.opts;try{yield*transformFile(n,e.passes)}catch(e){var l;e.message=`${(l=i.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let u,p;try{if(i.code!==false){({outputCode:u,outputMap:p}=(0,o.default)(e.passes,n))}}catch(e){var c;e.message=`${(c=i.filename)!=null?c:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:n.metadata,options:i,ast:i.ast===true?n.ast:null,code:u===undefined?null:u,map:p===undefined?null:p,sourceType:n.ast.program.sourceType}}function*transformFile(e,t){for(const r of t){const t=[];const s=[];const a=[];for(const o of r.concat([(0,i.default)()])){const r=new n.default(e,o.key,o.options);t.push([o,r]);s.push(r);a.push(o.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,s,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},19093:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=normalizeFile;function _fs(){const e=n(35747);_fs=function(){return e};return e}function _path(){const e=n(85622);_path=function(){return e};return e}function _debug(){const e=n(31185);_debug=function(){return e};return e}function t(){const e=n(79584);t=function(){return e};return e}function _convertSourceMap(){const e=n(36301);_convertSourceMap=function(){return e};return e}var i=n(13317);var s=n(92798);var a=n(65053);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,r,n,c){n=`${n||""}`;if(c){if(c.type==="Program"){c=t().file(c,[],[])}else if(c.type!=="File"){throw new Error("AST root must be a Program or File node")}if(r.cloneInputAst){c=(0,a.default)(c)}}else{c=yield*(0,s.default)(e,r,n)}let f=null;if(r.inputSourceMap!==false){if(typeof r.inputSourceMap==="object"){f=_convertSourceMap().fromObject(r.inputSourceMap)}if(!f){const e=extractComments(u,c);if(e){try{f=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!f){const e=extractComments(p,c);if(typeof r.filename==="string"&&e){try{const t=p.exec(e);const n=_fs().readFileSync(_path().resolve(_path().dirname(r.filename),t[1]));if(n.length>l){o("skip merging input map > 1 MB")}else{f=_convertSourceMap().fromJSON(n)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new i.default(r,{code:n,ast:c,inputMap:f})}const u=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,r){if(t){t=t.filter(({value:t})=>{if(e.test(t)){r=t;return false}return true})}return[t,r]}function extractComments(e,r){let n=null;t().traverseFast(r,t=>{[t.leadingComments,n]=extractCommentsFromList(e,t.leadingComments,n);[t.innerComments,n]=extractCommentsFromList(e,t.innerComments,n);[t.trailingComments,n]=extractCommentsFromList(e,t.trailingComments,n)});return n}},78593:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=r(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:r,filenameRelative:n=(typeof t==="string"?_path().relative(r,t):"unknown"),sourceType:i="module",inputSourceMap:s,sourceMaps:a=!!s,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(n),comments:u=true,compact:p="auto"}=e.options;const c=e.options;const f=Object.assign({},c,{parserOpts:Object.assign({sourceType:_path().extname(n)===".mjs"?"module":i,sourceFileName:t,plugins:[]},c.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:c.auxiliaryCommentBefore,auxiliaryCommentAfter:c.auxiliaryCommentAfter,retainLines:c.retainLines,comments:u,shouldPrintComment:c.shouldPrintComment,compact:p,minified:c.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},c.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(f,f.parserOpts)}}}return f}},84938:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,r){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=r||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},93161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const r="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[r]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[r]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},65053:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=r(68987);_v=function(){return e};return e}var n=r(93161);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,n.default)(e)}},16619:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(94917);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const s=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},n,e.end);const{linesAbove:s=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=i.line;const p=i.column;let c=Math.max(o-(s+1),0);let f=Math.min(t.length,u+a);if(o===-1){c=0}if(u===-1){f=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:c,end:f,markerLines:y}}function codeFrameColumns(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const u=e.split(s);const{start:p,end:c,markerLines:f}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(c).length;const h=i?(0,n.default)(e,r):e;let m=h.split(s).slice(p,c).map((e,t)=>{const n=p+1+t;const i=` ${n}`.slice(-y);const s=` ${i} |`;const a=f[n];const u=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,s.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(i)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,s),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,s)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){m=`${" ".repeat(y+1)}${r.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}},64059:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;const r=/^[ \t]+$/;class Buffer{constructor(e){this._map=null;this._buf=[];this._last="";this._queue=[];this._position={line:1,column:0};this._sourcePosition={identifierName:null,line:null,column:null,filename:null};this._disallowedPop=null;this._map=e}get(){this._flush();const e=this._map;const t={code:this._buf.join("").trimRight(),map:null,rawMappings:e==null?void 0:e.getRawMappings()};if(e){Object.defineProperty(t,"map",{configurable:true,enumerable:true,get(){return this.map=e.get()},set(e){Object.defineProperty(this,"map",{value:e,writable:true})}})}return t}append(e){this._flush();const{line:t,column:r,filename:n,identifierName:i,force:s}=this._sourcePosition;this._append(e,t,r,i,n,s)}queue(e){if(e==="\n"){while(this._queue.length>0&&r.test(this._queue[0][0])){this._queue.shift()}}const{line:t,column:n,filename:i,identifierName:s,force:a}=this._sourcePosition;this._queue.unshift([e,t,n,s,i,a])}_flush(){let e;while(e=this._queue.pop()){this._append(...e)}}_append(e,t,r,n,i,s){this._buf.push(e);this._last=e[e.length-1];let a=e.indexOf("\n");let o=0;if(a!==0){this._mark(t,r,n,i,s)}while(a!==-1){this._position.line++;this._position.column=0;o=a+1;if(o0&&this._queue[0][0]==="\n"){this._queue.shift()}}removeLastSemicolon(){if(this._queue.length>0&&this._queue[0][0]===";"){this._queue.shift()}}endsWith(e){if(e.length===1){let t;if(this._queue.length>0){const e=this._queue[0][0];t=e[e.length-1]}else{t=this._last}return t===e}const t=this._last+this._queue.reduce((e,t)=>t[0]+e,"");if(e.length<=t.length){return t.slice(-e.length)===e}return false}hasContent(){return this._queue.length>0||!!this._last}exactSource(e,t){this.source("start",e,true);t();this.source("end",e);this._disallowPop("start",e)}source(e,t,r){if(e&&!t)return;this._normalizePosition(e,t,this._sourcePosition,r)}withSource(e,t,r){if(!this._map)return r();const n=this._sourcePosition.line;const i=this._sourcePosition.column;const s=this._sourcePosition.filename;const a=this._sourcePosition.identifierName;this.source(e,t);r();if((!this._sourcePosition.force||this._sourcePosition.line!==n||this._sourcePosition.column!==i||this._sourcePosition.filename!==s)&&(!this._disallowedPop||this._disallowedPop.line!==n||this._disallowedPop.column!==i||this._disallowedPop.filename!==s)){this._sourcePosition.line=n;this._sourcePosition.column=i;this._sourcePosition.filename=s;this._sourcePosition.identifierName=a;this._sourcePosition.force=false;this._disallowedPop=null}}_disallowPop(e,t){if(e&&!t)return;this._disallowedPop=this._normalizePosition(e,t)}_normalizePosition(e,t,r,n){const i=t?t[e]:null;if(r===undefined){r={identifierName:null,line:null,column:null,filename:null,force:false}}const s=r.line;const a=r.column;const o=r.filename;r.identifierName=e==="start"&&(t==null?void 0:t.identifierName)||null;r.line=i==null?void 0:i.line;r.column=i==null?void 0:i.column;r.filename=t==null?void 0:t.filename;if(n||r.line!==s||r.column!==a||r.filename!==o){r.force=n}return r}getCurrentColumn(){const e=this._queue.reduce((e,t)=>t[0]+e,"");const t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t}getCurrentLine(){const e=this._queue.reduce((e,t)=>t[0]+e,"");let t=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.File=File;t.Program=Program;t.BlockStatement=BlockStatement;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;var n=r(79584);function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){this.printInnerComments(e,false);this.printSequence(e.directives,e);if(e.directives&&e.directives.length)this.newline();this.printSequence(e.body,e)}function BlockStatement(e){var t;this.token("{");this.printInnerComments(e);const r=(t=e.directives)==null?void 0:t.length;if(e.body.length||r){this.newline();this.printSequence(e.directives,e,{indent:true});if(r)this.newline();this.printSequence(e.body,e,{indent:true});this.removeTrailingNewline();this.source("end",e.loc);if(!this.endsWith("\n"))this.newline();this.rightBrace()}else{this.source("end",e.loc);this.token("}")}}function Directive(e){this.print(e.value,e);this.semicolon()}const i=/(?:^|[^\\])(?:\\\\)*'/;const s=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t);return}const{value:r}=e;if(!s.test(r)){this.token(`"${r}"`)}else if(!i.test(r)){this.token(`'${r}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}\n`)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},40062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassBody=ClassBody;t.ClassProperty=ClassProperty;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t._classMethodHead=_classMethodHead;t.StaticBlock=StaticBlock;var n=r(79584);function ClassDeclaration(e,t){if(!this.format.decoratorsBeforeExport||!n.isExportDefaultDeclaration(t)&&!n.isExportNamedDeclaration(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.token("{");this.printInnerComments(e);if(e.body.length===0){this.token("}")}else{this.newline();this.indent();this.printSequence(e.body,e);this.dedent();if(!this.endsWith("\n"))this.newline();this.rightBrace()}}function ClassProperty(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,true);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.token("?")}if(e.definite){this.token("!")}this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,false);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.token("{");if(e.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace()}}},30445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UnaryExpression=UnaryExpression;t.DoExpression=DoExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.UpdateExpression=UpdateExpression;t.ConditionalExpression=ConditionalExpression;t.NewExpression=NewExpression;t.SequenceExpression=SequenceExpression;t.ThisExpression=ThisExpression;t.Super=Super;t.Decorator=Decorator;t.OptionalMemberExpression=OptionalMemberExpression;t.OptionalCallExpression=OptionalCallExpression;t.CallExpression=CallExpression;t.Import=Import;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.AssignmentPattern=AssignmentPattern;t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.BindExpression=BindExpression;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.PrivateName=PrivateName;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.ModuleExpression=ModuleExpression;t.AwaitExpression=t.YieldExpression=void 0;var n=r(79584);var i=r(48735);function UnaryExpression(e){if(e.operator==="void"||e.operator==="delete"||e.operator==="typeof"||e.operator==="throw"){this.word(e.operator);this.space()}else{this.token(e.operator)}this.print(e.argument,e)}function DoExpression(e){if(e.async){this.word("async");this.space()}this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.token("(");this.print(e.expression,e);this.token(")")}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.startTerminatorless(true);this.print(e.argument,e);this.endTerminatorless();this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.token("?");this.space();this.print(e.consequent,e);this.space();this.token(":");this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!n.isCallExpression(t,{callee:e})&&!n.isMemberExpression(t)&&!n.isNewExpression(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function Decorator(e){this.token("@");this.print(e.expression,e);this.newline()}function OptionalMemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(e.optional){this.token("?.")}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{if(!e.optional){this.token(".")}this.print(e.property,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.token("(");this.printList(e.arguments,e);this.token(")")}function Import(){this.word("import")}function buildYieldAwait(e){return function(t){this.word(e);if(t.delegate){this.token("*")}if(t.argument){this.space();const e=this.startTerminatorless();this.print(t.argument,t);this.endTerminatorless(e)}}}const s=buildYieldAwait("yield");t.YieldExpression=s;const a=buildYieldAwait("await");t.AwaitExpression=a;function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.token("?");this.print(e.left.typeAnnotation,e);this.space();this.token("=");this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!i.needsParens(e,t);if(r){this.token("(")}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.token(")")}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{this.token(".");this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.token(".");this.print(e.property,e)}function PrivateName(e){this.token("#");this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.token("%");this.word(e.name)}function ModuleExpression(e){this.word("module");this.space();this.token("{");if(e.body.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body.body,e,{indent:true});this.rightBrace()}}},73467:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareFunction=DeclareFunction;t.InferredPredicate=InferredPredicate;t.DeclaredPredicate=DeclaredPredicate;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareVariable=DeclareVariable;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.EnumDeclaration=EnumDeclaration;t.EnumBooleanBody=EnumBooleanBody;t.EnumNumberBody=EnumNumberBody;t.EnumStringBody=EnumStringBody;t.EnumSymbolBody=EnumSymbolBody;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumBooleanMember=EnumBooleanMember;t.EnumNumberMember=EnumNumberMember;t.EnumStringMember=EnumStringMember;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t._interfaceish=_interfaceish;t._variance=_variance;t.InterfaceDeclaration=InterfaceDeclaration;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;t.NumberTypeAnnotation=NumberTypeAnnotation;t.StringTypeAnnotation=StringTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeParameter=TypeParameter;t.OpaqueType=OpaqueType;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;t.IndexedAccessType=IndexedAccessType;t.OptionalIndexedAccessType=OptionalIndexedAccessType;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return s.NumericLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return s.StringLiteral}});var n=r(79584);var i=r(6022);var s=r(44165);function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e);this.token("[");this.token("]")}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.token("%");this.word("checks")}function DeclaredPredicate(e){this.token("%");this.word("checks");this.token("(");this.print(e.value,e);this.token(")")}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.token(".");this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.apply(this,arguments)}function DeclareExportAllDeclaration(){this.word("declare");this.space();i.ExportAllDeclaration.apply(this,arguments)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}if(t.hasUnknownMembers){e.token("...");e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.token(",")}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{this.token("{");if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.token("}");if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.token("*")}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.token("(");if(e.this){this.word("this");this.token(":");this.space();this.print(e.this.typeAnnotation,e);if(e.params.length||e.rest){this.token(",");this.space()}}this.printList(e.params,e);if(e.rest){if(e.params.length){this.token(",");this.space()}this.token("...");this.print(e.rest,e)}this.token(")");if(t.type==="ObjectTypeCallProperty"||t.type==="DeclareFunction"||t.type==="ObjectTypeProperty"&&t.method){this.token(":")}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.token("?");if(e.name){this.token(":");this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e)}function _interfaceish(e){var t;this.print(e.id,e);this.print(e.typeParameters,e);if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.mixins&&e.mixins.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if(e.implements&&e.implements.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function _variance(e){if(e.variance){if(e.variance.kind==="plus"){this.token("+")}else if(e.variance.kind==="minus"){this.token("-")}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.token("&");this.space()}function InterfaceTypeAnnotation(e){this.word("interface");if(e.extends&&e.extends.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.token("?");this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.token("[");this.printList(e.types,e);this.token("]")}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.token("=");this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.token(":");this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.token("=");this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.token("{")}const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];if(t.length){this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.token(",");this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.token("}")}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.token("[");this.token("[");this.print(e.id,e);this.token("]");this.token("]");if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.token("[");if(e.id){this.print(e.id,e);this.token(":");this.space()}this.print(e.key,e);this.token("]");this.token(":");this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.token(".");this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.token("|");this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.token("(");this.print(e.expression,e);this.print(e.typeAnnotation,e);this.token(")")}function Variance(e){if(e.kind==="plus"){this.token("+")}else{this.token("-")}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function OptionalIndexedAccessType(e){this.print(e.objectType,e);if(e.optional){this.token("?.")}this.token("[");this.print(e.indexType,e);this.token("]")}},97266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(4689);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})});var i=r(30445);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})});var s=r(98933);Object.keys(s).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})});var a=r(40062);Object.keys(a).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})});var o=r(20502);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})});var l=r(6022);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(44165);Object.keys(u).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})});var p=r(73467);Object.keys(p).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})});var c=r(19545);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var f=r(83763);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(17816);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})})},83763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXIdentifier=JSXIdentifier;t.JSXNamespacedName=JSXNamespacedName;t.JSXMemberExpression=JSXMemberExpression;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;t.JSXElement=JSXElement;t.JSXOpeningElement=JSXOpeningElement;t.JSXClosingElement=JSXClosingElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXFragment=JSXFragment;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXClosingFragment=JSXClosingFragment;var n=r(79584);function JSXAttribute(e){this.print(e.name,e);if(e.value){this.token("=");this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.token(":");this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.token(".");this.print(e.property,e)}function JSXSpreadAttribute(e){this.token("{");this.token("...");this.print(e.argument,e);this.token("}")}function JSXExpressionContainer(e){this.token("{");this.print(e.expression,e);this.token("}")}function JSXSpreadChild(e){this.token("{");this.token("...");this.print(e.expression,e);this.token("}")}function JSXText(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t)}else{this.token(e.value)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.token("<");this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.token(">")}}function JSXClosingElement(e){this.token("")}function JSXEmptyExpression(e){this.printInnerComments(e)}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.token("<");this.token(">")}function JSXClosingFragment(){this.token("")}},20502:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._params=_params;t._parameters=_parameters;t._param=_param;t._methodHead=_methodHead;t._predicate=_predicate;t._functionHead=_functionHead;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;var n=r(79584);function _params(e){this.print(e.typeParameters,e);this.token("(");this._parameters(e.params,e);this.token(")");this.print(e.returnType,e)}function _parameters(e,t){for(let r=0;r");this.space();this.print(e.body,e)}function hasTypesOrComments(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}},6022:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImportSpecifier=ImportSpecifier;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportSpecifier=ExportSpecifier;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportAllDeclaration=ExportAllDeclaration;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ImportDeclaration=ImportDeclaration;t.ImportAttribute=ImportAttribute;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;var n=r(79584);function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.exported,e)}function ExportAllDeclaration(e){this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.token("*");this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e);this.semicolon()}function ExportNamedDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();this.word("default");this.space();ExportDeclaration.apply(this,arguments)}function ExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const t=e.specifiers.slice(0);let r=false;for(;;){const i=t[0];if(n.isExportDefaultSpecifier(i)||n.isExportNamespaceSpecifier(i)){r=true;this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length||!t.length&&!r){this.token("{");if(t.length){this.space();this.printList(t,e);this.space()}this.token("}")}if(e.source){this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e)}this.semicolon()}}function ImportDeclaration(e){this.word("import");this.space();if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}const t=e.specifiers.slice(0);if(t!=null&&t.length){for(;;){const r=t[0];if(n.isImportDefaultSpecifier(r)||n.isImportNamespaceSpecifier(r)){this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length){this.token("{");this.space();this.printList(t,e);this.space();this.token("}")}this.space();this.word("from");this.space()}this.print(e.source,e);this.printAssertions(e);{var r;if((r=e.attributes)!=null&&r.length){this.space();this.word("with");this.space();this.printList(e.attributes,e)}}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.token(":");this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.local,e)}},98933:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WithStatement=WithStatement;t.IfStatement=IfStatement;t.ForStatement=ForStatement;t.WhileStatement=WhileStatement;t.DoWhileStatement=DoWhileStatement;t.LabeledStatement=LabeledStatement;t.TryStatement=TryStatement;t.CatchClause=CatchClause;t.SwitchStatement=SwitchStatement;t.SwitchCase=SwitchCase;t.DebuggerStatement=DebuggerStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForOfStatement=t.ForInStatement=void 0;var n=r(79584);function WithStatement(e){this.word("with");this.space();this.token("(");this.print(e.object,e);this.token(")");this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.token("(");this.print(e.test,e);this.token(")");this.space();const t=e.alternate&&n.isIfStatement(getLastStatement(e.consequent));if(t){this.token("{");this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.token("}")}if(e.alternate){if(this.endsWith("}"))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){if(!n.isStatement(e.body))return e;return getLastStatement(e.body)}function ForStatement(e){this.word("for");this.space();this.token("(");this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.token(";");if(e.test){this.space();this.print(e.test,e)}this.token(";");if(e.update){this.space();this.print(e.update,e)}this.token(")");this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.printBlock(e)}const i=function(e){return function(t){this.word("for");this.space();if(e==="of"&&t.await){this.word("await");this.space()}this.token("(");this.print(t.left,t);this.space();this.word(e);this.space();this.print(t.right,t);this.token(")");this.printBlock(t)}};const s=i("in");t.ForInStatement=s;const a=i("of");t.ForOfStatement=a;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.semicolon()}function buildLabelStatement(e,t="label"){return function(r){this.word(e);const n=r[t];if(n){this.space();const e=t=="label";const i=this.startTerminatorless(e);this.print(n,r);this.endTerminatorless(i)}this.semicolon()}}const o=buildLabelStatement("continue");t.ContinueStatement=o;const l=buildLabelStatement("return","argument");t.ReturnStatement=l;const u=buildLabelStatement("break");t.BreakStatement=u;const p=buildLabelStatement("throw","argument");t.ThrowStatement=p;function LabeledStatement(e){this.print(e.label,e);this.token(":");this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.token("(");this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.token(")");this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.token("(");this.print(e.discriminant,e);this.token(")");this.space();this.token("{");this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.token("}")}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.token(":")}else{this.word("default");this.token(":")}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function variableDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<4;e++)this.space(true)}function constDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<6;e++)this.space(true)}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}this.word(e.kind);this.space();let r=false;if(!n.isFor(t)){for(const t of e.declarations){if(t.init){r=true}}}let i;if(r){i=e.kind==="const"?constDeclarationIndent:variableDeclarationIndent}this.printList(e.declarations,e,{separator:i});if(n.isFor(t)){if(n.isForStatement(t)){if(t.init===e)return}else{if(t.left===e)return}}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.token("!");this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.token("=");this.space();this.print(e.init,e)}}},4689:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;var n=r(79584);function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const i=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(i)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Identifier=Identifier;t.ArgumentPlaceholder=ArgumentPlaceholder;t.SpreadElement=t.RestElement=RestElement;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.RecordExpression=RecordExpression;t.TupleExpression=TupleExpression;t.RegExpLiteral=RegExpLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.StringLiteral=StringLiteral;t.BigIntLiteral=BigIntLiteral;t.DecimalLiteral=DecimalLiteral;t.PipelineTopicExpression=PipelineTopicExpression;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;var n=r(79584);var i=r(87504);function Identifier(e){this.exactSource(e.loc,()=>{this.word(e.name)})}function ArgumentPlaceholder(){this.token("?")}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.token("{");this.printInnerComments(e);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token("}")}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{if(n.isAssignmentPattern(e.value)&&n.isIdentifier(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&n.isIdentifier(e.key)&&n.isIdentifier(e.value)&&e.key.name===e.value.name){return}}this.token(":");this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.token("[");this.printInnerComments(e);for(let n=0;n0)this.space();this.print(i,e);if(n0)this.space();this.print(i,e);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypeParameter=TSTypeParameter;t.TSParameterProperty=TSParameterProperty;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSQualifiedName=TSQualifiedName;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSPropertySignature=TSPropertySignature;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.TSMethodSignature=TSMethodSignature;t.TSIndexSignature=TSIndexSignature;t.TSAnyKeyword=TSAnyKeyword;t.TSBigIntKeyword=TSBigIntKeyword;t.TSUnknownKeyword=TSUnknownKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSVoidKeyword=TSVoidKeyword;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSNullKeyword=TSNullKeyword;t.TSNeverKeyword=TSNeverKeyword;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSThisType=TSThisType;t.TSFunctionType=TSFunctionType;t.TSConstructorType=TSConstructorType;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.TSTypeReference=TSTypeReference;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeLiteral=TSTypeLiteral;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;t.tsPrintBraced=tsPrintBraced;t.TSArrayType=TSArrayType;t.TSTupleType=TSTupleType;t.TSOptionalType=TSOptionalType;t.TSRestType=TSRestType;t.TSNamedTupleMember=TSNamedTupleMember;t.TSUnionType=TSUnionType;t.TSIntersectionType=TSIntersectionType;t.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;t.TSConditionalType=TSConditionalType;t.TSInferType=TSInferType;t.TSParenthesizedType=TSParenthesizedType;t.TSTypeOperator=TSTypeOperator;t.TSIndexedAccessType=TSIndexedAccessType;t.TSMappedType=TSMappedType;t.TSLiteralType=TSLiteralType;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSInterfaceBody=TSInterfaceBody;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSModuleDeclaration=TSModuleDeclaration;t.TSModuleBlock=TSModuleBlock;t.TSImportType=TSImportType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSExternalModuleReference=TSExternalModuleReference;t.TSNonNullExpression=TSNonNullExpression;t.TSExportAssignment=TSExportAssignment;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;var n=r(79584);function TSTypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TSTypeParameter(e){this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e){if(e.declare){this.word("declare");this.space()}this._functionHead(e);this.token(";")}function TSDeclareMethod(e){this._classMethodHead(e);this.token(";")}function TSQualifiedName(e){this.print(e.left,e);this.token(".");this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(";")}function tsPrintPropertyOrMethodName(e){if(e.computed){this.token("[")}this.print(e.key,e);if(e.computed){this.token("]")}if(e.optional){this.token("?")}}function TSMethodSignature(e){const{kind:t}=e;if(t==="set"||t==="get"){this.word(t);this.space()}this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSIndexSignature(e){const{readonly:t,static:r}=e;if(r){this.word("static");this.space()}if(t){this.word("readonly");this.space()}this.token("[");this._parameters(e.parameters,e);this.token("]");this.print(e.typeAnnotation,e);this.token(";")}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){if(e.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.space();this.token("=>");this.space();this.print(e.typeAnnotation.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e);this.print(e.typeParameters,e)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName)}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){this.tsPrintBraced(e,t)}function tsPrintBraced(e,t){this.token("{");if(e.length){this.indent();this.newline();for(const r of e){this.print(r,t);this.newline()}this.dedent();this.rightBrace()}else{this.token("}")}}function TSArrayType(e){this.print(e.elementType,e);this.token("[]")}function TSTupleType(e){this.token("[");this.printList(e.elementTypes,e);this.token("]")}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.token("?")}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.token("?");this.token(":");this.space();this.print(e.elementType,e)}function TSUnionType(e){this.tsPrintUnionOrIntersectionType(e,"|")}function TSIntersectionType(e){this.tsPrintUnionOrIntersectionType(e,"&")}function tsPrintUnionOrIntersectionType(e,t){this.printJoin(e.types,e,{separator(){this.space();this.token(t);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.token("?");this.space();this.print(e.trueType);this.space();this.token(":");this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.token("(");this.print(e.typeAnnotation,e);this.token(")")}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:i}=e;this.token("{");this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.token("[");this.word(i.name);this.space();this.word("in");this.space();this.print(i.constraint,i);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.token("]");if(r){tokenIfPlusMinus(this,r);this.token("?")}this.token(":");this.space();this.print(e.typeAnnotation,e);this.space();this.token("}")}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:i,body:s}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(i!=null&&i.length){this.space();this.word("extends");this.space();this.printList(i,e)}this.space();this.print(s,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:i}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.token("=");this.space();this.print(i,e);this.token(";")}function TSAsExpression(e){const{expression:t,typeAnnotation:r}=e;this.print(t,e);this.space();this.word("as");this.space();this.print(r,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.token("<");this.print(t,e);this.token(">");this.space();this.print(r,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:i}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();this.tsPrintBraced(i,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(",")}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.token(";");return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.token(".");this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){this.tsPrintBraced(e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.token("(");this.print(t,e);this.token(")");if(r){this.token(".");this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.token("=");this.space();this.print(n,e);this.token(";")}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.token(")")}function TSNonNullExpression(e){this.print(e.expression,e);this.token("!")}function TSExportAssignment(e){this.word("export");this.space();this.token("=");this.space();this.print(e.expression,e);this.token(";")}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.print(e.typeAnnotation,e)}function tsPrintClassMemberModifiers(e,t){if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.override){this.word("override");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},88157:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generate;t.CodeGenerator=void 0;var n=r(25341);var i=r(13811);class Generator extends i.default{constructor(e,t={},r){const i=normalizeOptions(r,t);const s=t.sourceMaps?new n.default(t,r):null;super(i,s);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:true,minimal:false},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType};{r.jsonCompatibleStrings=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0)}if(r.compact==="auto"){r.compact=e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}return r}class CodeGenerator{constructor(e,t,r){this._generator=void 0;this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function generate(e,t,r){const n=new Generator(e,t,r);return n.generate()}},48735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsWhitespace=needsWhitespace;t.needsWhitespaceBefore=needsWhitespaceBefore;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsParens=needsParens;var n=r(66414);var i=r(19122);var s=r(79584);function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,i){const s=n(e,t,i);return s==null?r(e,t,i):s}:r}for(const t of Object.keys(e)){const r=s.FLIPPED_ALIAS_KEYS[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const a=expandAliases(i);const o=expandAliases(n.nodes);const l=expandAliases(n.list);function find(e,t,r,n){const i=e[t.type];return i?i(t,r,n):null}function isOrHasCallExpression(e){if(s.isCallExpression(e)){return true}return s.isMemberExpression(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return 0;if(s.isExpressionStatement(e)){e=e.expression}let n=find(o,e,t);if(!n){const i=find(l,e,t);if(i){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NullableTypeAnnotation=NullableTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.ObjectExpression=ObjectExpression;t.DoExpression=DoExpression;t.Binary=Binary;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.TSInferType=TSInferType;t.BinaryExpression=BinaryExpression;t.SequenceExpression=SequenceExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;t.ClassExpression=ClassExpression;t.UnaryLike=UnaryLike;t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;t.ConditionalExpression=ConditionalExpression;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.AssignmentExpression=AssignmentExpression;t.LogicalExpression=LogicalExpression;t.Identifier=Identifier;var n=r(79584);const i={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};const s=(e,t)=>(n.isClassDeclaration(t)||n.isClassExpression(t))&&t.superClass===e;const a=(e,t)=>(n.isMemberExpression(t)||n.isOptionalMemberExpression(t))&&t.object===e||(n.isCallExpression(t)||n.isOptionalCallExpression(t)||n.isNewExpression(t))&&t.callee===e||n.isTaggedTemplateExpression(t)&&t.tag===e||n.isTSNonNullExpression(t);function NullableTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)}function FunctionTypeAnnotation(e,t,r){return n.isUnionTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isArrayTypeAnnotation(t)||n.isTypeAnnotation(t)&&n.isArrowFunctionExpression(r[r.length-3])}function UpdateExpression(e,t){return a(e,t)||s(e,t)}function ObjectExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,arrowBody:true})}function DoExpression(e,t,r){return!e.async&&isFirstInContext(r,{expressionStatement:true})}function Binary(e,t){if(e.operator==="**"&&n.isBinaryExpression(t,{operator:"**"})){return t.left===e}if(s(e,t)){return true}if(a(e,t)||n.isUnaryLike(t)||n.isAwaitExpression(t)){return true}if(n.isBinary(t)){const r=t.operator;const s=i[r];const a=e.operator;const o=i[a];if(s===o&&t.right===e&&!n.isLogicalExpression(t)||s>o){return true}}}function UnionTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)||n.isNullableTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isUnionTypeAnnotation(t)}function OptionalIndexedAccessType(e,t){return n.isIndexedAccessType(t,{objectType:e})}function TSAsExpression(){return true}function TSTypeAssertion(){return true}function TSUnionType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)||n.isTSIntersectionType(t)||n.isTSUnionType(t)||n.isTSRestType(t)}function TSInferType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)}function BinaryExpression(e,t){return e.operator==="in"&&(n.isVariableDeclarator(t)||n.isFor(t))}function SequenceExpression(e,t){if(n.isForStatement(t)||n.isThrowStatement(t)||n.isReturnStatement(t)||n.isIfStatement(t)&&t.test===e||n.isWhileStatement(t)&&t.test===e||n.isForInStatement(t)&&t.right===e||n.isSwitchStatement(t)&&t.discriminant===e||n.isExpressionStatement(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return n.isBinary(t)||n.isUnaryLike(t)||a(e,t)||n.isAwaitExpression(t)&&n.isYieldExpression(e)||n.isConditionalExpression(t)&&e===t.test||s(e,t)}function ClassExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function UnaryLike(e,t){return a(e,t)||n.isBinaryExpression(t,{operator:"**",left:e})||s(e,t)}function FunctionExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function ArrowFunctionExpression(e,t){return n.isExportDeclaration(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(n.isUnaryLike(t)||n.isBinary(t)||n.isConditionalExpression(t,{test:e})||n.isAwaitExpression(t)||n.isTSTypeAssertion(t)||n.isTSAsExpression(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return n.isCallExpression(t,{callee:e})||n.isMemberExpression(t,{object:e})}function AssignmentExpression(e,t){if(n.isObjectPattern(e.left)){return true}else{return ConditionalExpression(e,t)}}function LogicalExpression(e,t){switch(e.operator){case"||":if(!n.isLogicalExpression(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return n.isLogicalExpression(t,{operator:"??"});case"??":return n.isLogicalExpression(t)&&t.operator!=="??"}}function Identifier(e,t,r){if(e.name==="let"){const i=n.isMemberExpression(t,{object:e,computed:true})||n.isOptionalMemberExpression(t,{object:e,computed:true,optional:false});return isFirstInContext(r,{expressionStatement:i,forHead:i,forInHead:i,forOfHead:true})}return e.name==="async"&&n.isForOfStatement(t)&&e===t.left}function isFirstInContext(e,{expressionStatement:t=false,arrowBody:r=false,exportDefault:i=false,forHead:s=false,forInHead:o=false,forOfHead:l=false}){let u=e.length-1;let p=e[u];u--;let c=e[u];while(u>=0){if(t&&n.isExpressionStatement(c,{expression:p})||i&&n.isExportDefaultDeclaration(c,{declaration:p})||r&&n.isArrowFunctionExpression(c,{body:p})||s&&n.isForStatement(c,{init:p})||o&&n.isForInStatement(c,{left:p})||l&&n.isForOfStatement(c,{left:p})){return true}if(a(p,c)&&!n.isNewExpression(c)||n.isSequenceExpression(c)&&c.expressions[0]===p||n.isConditional(c,{test:p})||n.isBinary(c,{left:p})||n.isAssignmentExpression(c,{left:p})){p=c;u--;c=e[u]}else{return false}}return false}},66414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.list=t.nodes=void 0;var n=r(79584);function crawl(e,t={}){if(n.isMemberExpression(e)||n.isOptionalMemberExpression(e)){crawl(e.object,t);if(e.computed)crawl(e.property,t)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){crawl(e.left,t);crawl(e.right,t)}else if(n.isCallExpression(e)||n.isOptionalCallExpression(e)){t.hasCall=true;crawl(e.callee,t)}else if(n.isFunction(e)){t.hasFunction=true}else if(n.isIdentifier(e)){t.hasHelper=t.hasHelper||isHelper(e.callee)}return t}function isHelper(e){if(n.isMemberExpression(e)){return isHelper(e.object)||isHelper(e.property)}else if(n.isIdentifier(e)){return e.name==="require"||e.name[0]==="_"}else if(n.isCallExpression(e)){return isHelper(e.callee)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){return n.isIdentifier(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return n.isLiteral(e)||n.isObjectExpression(e)||n.isArrayExpression(e)||n.isIdentifier(e)||n.isMemberExpression(e)}const i={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return{before:t.hasFunction,after:true}}},SwitchCase(e,t){return{before:!!e.consequent.length||t.cases[0]===e,after:!e.consequent.length&&t.cases[t.cases.length-1]===e}},LogicalExpression(e){if(n.isFunction(e.left)||n.isFunction(e.right)){return{after:true}}},Literal(e){if(n.isStringLiteral(e)&&e.value==="use strict"){return{after:true}}},CallExpression(e){if(n.isFunction(e.callee)||isHelper(e)){return{before:true,after:true}}},OptionalCallExpression(e){if(n.isFunction(e.callee)){return{before:true,after:true}}},VariableDeclaration(e){for(let t=0;te.init)},ArrayExpression(e){return e.elements},ObjectExpression(e){return e.properties}};t.list=s;[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach(function([e,t]){if(typeof t==="boolean"){t={after:t,before:t}}[e].concat(n.FLIPPED_ALIAS_KEYS[e]||[]).forEach(function(e){i[e]=function(){return t}})})},13811:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64059);var i=r(48735);var s=r(79584);var a=r(97266);const o=/e/i;const l=/\.0+$/;const u=/^0[box]/;const p=/^\s*[@#]__PURE__\s*$/;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._insideAux=false;this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new WeakSet;this._endsWithInteger=false;this._endsWithWord=false;this.format=e;this._buf=new n.default(t)}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();this._append(";",!e)}rightBrace(){if(this.format.minified){this._buf.removeLastSemicolon()}this.token("}")}space(e=false){if(this.format.compact)return;if(this._buf.hasContent()&&!this.endsWith(" ")&&!this.endsWith("\n")||e){this._space()}}word(e){if(this._endsWithWord||this.endsWith("/")&&e.indexOf("/")===0){this._space()}this._maybeAddAuxComment();this._append(e);this._endsWithWord=true}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!u.test(e)&&!o.test(e)&&!l.test(e)&&e[e.length-1]!=="."}token(e){if(e==="--"&&this.endsWith("!")||e[0]==="+"&&this.endsWith("+")||e[0]==="-"&&this.endsWith("-")||e[0]==="."&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e)}newline(e){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}if(this.endsWith("\n\n"))return;if(typeof e!=="number")e=1;e=Math.min(2,e);if(this.endsWith("{\n")||this.endsWith(":\n"))e--;if(e<=0)return;for(let t=0;t{n.call(this,e,t)});this._printTrailingComments(e);if(o)this.token(")");this._printStack.pop();this.format.concise=r;this._insideAux=a}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e})}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e})}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e!=null&&e.length))return;if(r.indent)this.indent();const n={addNewlines:r.addNewlines};for(let i=0;i0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(!s.isEmptyStatement(t)){this.space()}this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(false,e))}_printLeadingComments(e){this._printComments(this._getComments(true,e),true)}printInnerComments(e,t=true){var r;if(!((r=e.innerComments)!=null&&r.length))return;if(t)this.indent();this._printComments(e.innerComments);if(t)this.dedent()}printSequence(e,t,r={}){r.statement=true;return this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}return this.printJoin(e,t,r)}_printNewline(e,t,r,n){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}let s=0;if(this._buf.hasContent()){if(!e)s++;if(n.addNewlines)s+=n.addNewlines(e,t)||0;const a=e?i.needsWhitespaceBefore:i.needsWhitespaceAfter;if(a(t,r))s++}this.newline(s)}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e,t){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;this._printedComments.add(e);const r=e.type==="CommentBlock";const n=r&&!t&&!this._noLineTerminator;if(n&&this._buf.hasContent())this.newline(1);if(!this.endsWith("[")&&!this.endsWith("{"))this.space();let i=!r&&!this._noLineTerminator?`//${e.value}\n`:`/*${e.value}*/`;if(r&&this.format.indent.adjustMultilineComment){var s;const t=(s=e.loc)==null?void 0:s.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");i=i.replace(e,"\n")}const r=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());i=i.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}if(this.endsWith("/"))this._space();this.withSource("start",e.loc,()=>{this._append(i)});if(n)this.newline(1)}_printComments(e,t){if(!(e!=null&&e.length))return;if(t&&e.length===1&&p.test(e[0].value)){this._printComment(e[0],this._buf.hasContent()&&!this.endsWith("\n"))}else{for(const t of e){this._printComment(t)}}}printAssertions(e){var t;if((t=e.assertions)!=null&&t.length){this.space();this.word("assert");this.space();this.token("{");this.space();this.printList(e.assertions,e);this.space();this.token("}")}}}Object.assign(Printer.prototype,a);{Printer.prototype.Noop=function Noop(){}}var c=Printer;t.default=c;function commaSeparator(){this.token(",");this.space()}},25341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(96241);class SourceMap{constructor(e,t){this._cachedMap=void 0;this._code=void 0;this._opts=void 0;this._rawMappings=void 0;this._lastGenLine=void 0;this._lastSourceLine=void 0;this._lastSourceColumn=void 0;this._cachedMap=null;this._code=t;this._opts=e;this._rawMappings=[]}get(){if(!this._cachedMap){const e=this._cachedMap=new n.SourceMapGenerator({sourceRoot:this._opts.sourceRoot});const t=this._code;if(typeof t==="string"){e.setSourceContent(this._opts.sourceFileName.replace(/\\/g,"/"),t)}else if(typeof t==="object"){Object.keys(t).forEach(r=>{e.setSourceContent(r.replace(/\\/g,"/"),t[r])})}this._rawMappings.forEach(t=>e.addMapping(t),e)}return this._cachedMap.toJSON()}getRawMappings(){return this._rawMappings.slice()}mark(e,t,r,n,i,s,a){if(this._lastGenLine!==e&&r===null)return;if(!a&&this._lastGenLine===e&&this._lastSourceLine===r&&this._lastSourceColumn===n){return}this._cachedMap=null;this._lastGenLine=e;this._lastSourceLine=r;this._lastSourceColumn=n;this._rawMappings.push({name:i||undefined,generated:{line:e,column:t},source:r==null?undefined:(s||this._opts.sourceFileName).replace(/\\/g,"/"),original:r==null?undefined:{line:r,column:n}})}}t.default=SourceMap},59946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(79584);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},76980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(79584);var s=r(59946);var a=r(34595);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{n(!t,"Unexpected secondary arguments.");i.push(e)}const s=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(s).forEach(t=>{if(e[t]!==undefined)s[t]=e[t]});if(!r){if(e.nameHint!==undefined)s.nameHint=e.nameHint;if(e.blockHoist!==undefined)s.blockHoist=e.blockHoist}}return s}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:c,ensureLiveReference:f,ensureNoContext:d,nameHint:y,importPosition:h,blockHoist:m}=e;let T=y||t;const S=(0,a.default)(this._programPath);const b=S&&c==="node";const E=S&&c==="babel";if(h==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new s.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(T,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){T=T!=="default"?T:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(T||l).wildcardInterop()}else if(r){if(f){g.default(e).var(T||l).defaultInterop().read("default")}else{g.default(e).var(T).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l).wildcardInterop()}else if((r||n)&&f){if(r){T=T!=="default"?T:l;g.var(T).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(T).defaultInterop().prop(t)}else if(n){g.var(T).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(T||l)}else if(r||n){g.default(l).read(T)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r||n){if(f){g.var(l).read(T)}else{g.prop(t).var(T)}}}}else if(p==="uncompiled"){if(r&&f){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.default(l).read(T)}}else if(E){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r){g.var(T)}else if(n){if(f){g.var(l).read(T)}else{g.var(T).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:x,resultName:P}=g.done();this._insertStatements(x,h,m);if((r||n)&&d&&P.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),P])}return P}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},54539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var n=r(76980);var i=r(34595);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,i){return new n.default(e).addNamed(t,r,i)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},34595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},56127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,i,s,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(i=r.moduleIds)!=null?i:t.moduleIds,getModuleId:(s=r.getModuleId)!=null?s:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:i=t.moduleRoot}=e;const{moduleId:s,moduleIds:a=!!s,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(s!=null&&!o){return s}let u=l!=null?l+"/":"";if(n){const e=i!=null?new RegExp("^"+i+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},83113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var i=r(79584);var s=r(36900);var a=r(54539);var o=r(84748);var l=r(65302);var u=r(37085);var p=r(56127);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:s,allowTopLevelThis:p,strictMode:c,noInterop:f,importInterop:d=(f?"none":"babel"),lazy:y,esNamespaceOnly:h,constantReexports:m=t,enumerableModuleMeta:T=t}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const S=(0,u.default)(e,r,{importInterop:d,initializeReexports:m,lazy:y,esNamespaceOnly:h});if(!p){(0,o.default)(e)}(0,l.default)(e,S);if(c!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const b=[];if((0,u.hasExports)(S)&&!s){b.push(buildESModuleHeader(S,T))}const E=buildExportNameListDeclaration(e,S);if(E){S.exportNameListName=E.name;b.push(E.statement)}b.push(...buildExportInitializationStatements(e,S,m));return{meta:S,headers:b}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return i.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(s.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(r){n.push(...f(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?s.default.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); - `:i.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:s.cloneNode(a)}))}if(t.reexportAll){const i=buildNamespaceReexport(e,s.cloneNode(a),r);i.loc=t.reexportAll.loc;n.push(i)}return n}const p={constant:i.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:i.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,i.default)` + `:s.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const s=buildNamespaceReexport(e,i.cloneNode(a),r);s.loc=t.reexportAll.loc;n.push(s)}return n}const c={constant:s.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:s.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,s.default)` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); - `};const f=(e,t,r)=>{const n=t.lazy?s.callExpression(s.identifier(t.name),[]):s.identifier(t.name);const{stringSpecifiers:i}=e;return Array.from(t.reexports,([a,o])=>{let l=s.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(i.has(o)){l=s.memberExpression(l,s.stringLiteral(o),true)}else{l=s.memberExpression(l,s.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||s.isIdentifier(l)){if(i.has(a)){return p.constantComputed(u)}else{return p.constant(u)}}else{return p.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?i.default.statement` + `};const f=(e,t,r)=>{const n=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:s}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(s.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||i.isIdentifier(l)){if(s.has(a)){return c.constantComputed(u)}else{return c.constant(u)}}else{return c.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?s.default.statement` EXPORTS.__esModule = true; - `:i.default.statement` + `:s.default.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?i.default.statement` + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?s.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -38,7 +38,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m EXPORTS[key] = NAMESPACE[key]; }); - `:i.default.statement` + `:s.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -51,60 +51,88 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }, }); }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,i.default)` + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,s.default)` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const i=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:i.name,statement:s.variableDeclaration("var",[s.variableDeclarator(i,s.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false){const n=[];const i=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){n.push(buildInitStatement(t,r.names,s.identifier(e)))}else{i.push(...r.names)}}for(const e of t.source.values()){if(!r){n.push(...f(t,e,false))}for(const t of e.reexportNamespace){i.push(t)}}n.push(...chunk(i,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}));return n}const d={computed:i.default.expression`EXPORTS["NAME"] = VALUE`,default:i.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:i}=e;return s.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:i,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var s=r(85531);var i=r(55919);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:s=false,esNamespaceOnly:i=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:s},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(i&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},s){const i=getLocalExportMetadata(e,r,s);const a=new Map;const o=t=>{const r=t.value;let s=a.get(r);if(!s){s={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,s)}return s};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:i,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const s=new Map;const i=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}i(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const s=i(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){i(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return s}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},65302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var s=r(79584);var i=r(47202);var a=r(63535);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const i=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,s]of n.imports){r.set(t,[e,s,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:i,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],i)=>{const a=t.source.get(e);if(n){if(a.lazy)i=s.callExpression(i,[]);return i}let o=s.identifier(a.name);if(a.lazy)o=s.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return s.memberExpression(o,l?s.stringLiteral(r):s.identifier(r),l)}};e.traverse(c,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:i}=e.node;if(!i)throw new Error("Expected class to have a name");const a=i.name;const o=r.get(a)||[];if(o.length>0){const r=s.expressionStatement(l(n,o,s.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(i=>{const a=r.get(i)||[];if(a.length>0){const r=s.expressionStatement(l(n,a,s.identifier(i)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const i=n.has(r);return s.assignmentExpression("=",s.memberExpression(s.identifier(e.exportName),i?s.stringLiteral(r):s.identifier(r),i),t)},r)};const u=e=>{return i.default.expression.ast` + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const s=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:s.name,statement:i.variableDeclaration("var",[i.variableDeclarator(s,i.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false){const n=[];const s=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){n.push(buildInitStatement(t,r.names,i.identifier(e)))}else{s.push(...r.names)}}for(const e of t.source.values()){if(!r){n.push(...f(t,e,false))}for(const t of e.reexportNamespace){s.push(t)}}n.push(...chunk(s,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}));return n}const d={computed:s.default.expression`EXPORTS["NAME"] = VALUE`,default:s.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:s}=e;return i.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:s,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var i=r(85531);var s=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:i=false,esNamespaceOnly:s=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(s&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,i.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},i){const s=getLocalExportMetadata(e,r,i);const a=new Map;const o=t=>{const r=t.value;let i=a.get(r);if(!i){i={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=s.get(r);if(n){s.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=s.get(r);if(n){s.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),i);const n=e.get("local").node.name;t.imports.set(n,r);const a=s.get(n);if(a){s.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),i);const n=getExportSpecifierName(e.get("exported"),i);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:s,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const i=new Map;const s=e=>{const t=e.node.name;let r=i.get(t);if(!r){const s=n.get(t);if(s===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:s};i.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}s(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const i=s(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){s(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,s.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},65302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var i=r(79584);var s=r(36900);var a=r(63535);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const s=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,i]of n.imports){r.set(t,[e,i,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:s,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:s,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],s)=>{const a=t.source.get(e);if(n){if(a.lazy)s=i.callExpression(s,[]);return s}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return i.memberExpression(o,l?i.stringLiteral(r):i.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:s}=e.node;if(!s)throw new Error("Expected class to have a name");const a=s.name;const o=r.get(a)||[];if(o.length>0){const r=i.expressionStatement(l(n,o,i.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(s=>{const a=r.get(s)||[];if(a.length>0){const r=i.expressionStatement(l(n,a,i.identifier(s)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const s=n.has(r);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),s?i.stringLiteral(r):i.identifier(r),s),t)},r)};const u=e=>{return s.default.expression.ast` (function() { throw new Error('"' + '${e}' + '" is read-only.'); })() - `};const c={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:i,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=i.get(o);if(l){const t=e.scope.getBinding(o);const i=n.getBinding(o);if(i!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&s.isMemberExpression(u)){e.replaceWith(s.sequenceExpression([s.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&s.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(s.jsxMemberExpression(s.jsxIdentifier(t.name),s.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:i,exported:a,requeueInParent:o,buildImportReference:c}=this;if(r.has(e.node))return;r.add(e.node);const p=e.get("left");if(p.isMemberExpression())return;if(p.isIdentifier()){const r=p.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const f=a.get(r);const d=i.get(r);if((f==null?void 0:f.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=c(d,t.left);t.right=s.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,f,t));o(e)}}else{const r=p.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const c=n.find(e=>i.has(e));if(c){e.node.right=s.sequenceExpression([e.node.right,u(c)])}const f=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){f.push(l(this.metadata,t,s.identifier(e)))}});if(f.length>0){let t=s.sequenceExpression(f);if(e.parentPath.isExpressionStatement()){t=s.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:i,scope:a}=this;if(!s.isVariableDeclaration(n)){let r=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(s.getOuterBindingIdentifiers(n))){if(i.get(e)&&a.getBinding(e)===t.getBinding(e)){r=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!r){return}const u=t.generateUidIdentifierBasedOnNode(n);o.unshiftContainer("body",s.expressionStatement(s.assignmentExpression("=",n,u)));e.get("left").replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.cloneNode(u))]));t.registerDeclaration(e.get("left"))}}}},84748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(78862);var s=r(58941);var i=r(79584);function rewriteThis(e){(0,s.default)(e.node,Object.assign({},a,{noScope:true}))}const a=s.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(i.unaryExpression("void",i.numericLiteral(0),true))}}])},27158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=optimiseCallExpression;var n=r(79584);function optimiseCallExpression(e,t,r,s){if(r.length===1&&n.isSpreadElement(r[0])&&n.isIdentifier(r[0].argument,{name:"arguments"})){if(s){return n.optionalCallExpression(n.optionalMemberExpression(e,n.identifier("apply"),false,true),[t,r[0].argument],false)}return n.callExpression(n.memberExpression(e,n.identifier("apply")),[t,r[0].argument])}else{if(s){return n.optionalCallExpression(n.optionalMemberExpression(e,n.identifier("call"),false,true),[t,...r],false)}return n.callExpression(n.memberExpression(e,n.identifier("call")),[t,...r])}}},78862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.skipAllButComputedKey=skipAllButComputedKey;t.default=t.environmentVisitor=void 0;var n=r(58941);var s=r(55254);var i=r(27158);var a=r(79584);function getPrototypeOfExpression(e,t,r,n){e=a.cloneNode(e);const s=t||n?e:a.memberExpression(e,a.identifier("prototype"));return a.callExpression(r.addHelper("getPrototypeOf"),[s])}function skipAllButComputedKey(e){if(!e.node.computed){e.skip();return}const t=a.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}const o={[`${a.staticBlock?"StaticBlock|":""}ClassPrivateProperty|TypeAnnotation`](e){e.skip()},Function(e){if(e.isMethod())return;if(e.isArrowFunctionExpression())return;e.skip()},"Method|ClassProperty"(e){skipAllButComputedKey(e)}};t.environmentVisitor=o;const l=n.default.visitors.merge([o,{Super(e,t){const{node:r,parentPath:n}=e;if(!n.isMemberExpression({object:r}))return;t.handle(n)}}]);const u=n.default.visitors.merge([o,{Scopable(e,{refName:t}){const r=e.scope.getOwnBinding(t);if(r&&r.identifier.name===t){e.scope.rename(t)}}}]);const c={memoise(e,t){const{scope:r,node:n}=e;const{computed:s,property:i}=n;if(!s){return}const a=r.maybeGenerateMemoised(i);if(!a){return}this.memoiser.set(i,a,t)},prop(e){const{computed:t,property:r}=e.node;if(this.memoiser.has(r)){return a.cloneNode(this.memoiser.get(r))}if(t){return a.cloneNode(r)}return a.stringLiteral(r.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("get"),[t.memo?a.sequenceExpression([t.memo,r]):r,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:a.thisExpression()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:a.assignmentExpression("=",e,a.thisExpression()),this:a.cloneNode(e)}},set(e,t){const r=this._getThisRefs();const n=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("set"),[r.memo?a.sequenceExpression([r.memo,n]):n,this.prop(e),t,r.this,a.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),a.cloneNode(r.this),t,false)},optionalCall(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),a.cloneNode(r.this),t,true)}};const p=Object.assign({},c,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return a.cloneNode(this.memoiser.get(t))}return a.cloneNode(t)},get(e){const{isStatic:t,getSuperRef:r}=this;const{computed:n}=e.node;const s=this.prop(e);let i;if(t){var o;i=(o=r())!=null?o:a.memberExpression(a.identifier("Function"),a.identifier("prototype"))}else{var l;i=a.memberExpression((l=r())!=null?l:a.identifier("Object"),a.identifier("prototype"))}return a.memberExpression(i,s,n)},set(e,t){const{computed:r}=e.node;const n=this.prop(e);return a.assignmentExpression("=",a.memberExpression(a.thisExpression(),n,r),t)},destructureSet(e){const{computed:t}=e.node;const r=this.prop(e);return a.memberExpression(a.thisExpression(),r,t)},call(e,t){return(0,i.default)(this.get(e),a.thisExpression(),t,false)},optionalCall(e,t){return(0,i.default)(this.get(e),a.thisExpression(),t,true)}});class ReplaceSupers{constructor(e){var t;const r=e.methodPath;this.methodPath=r;this.isDerivedConstructor=r.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=r.isObjectMethod()||r.node.static||(r.isStaticBlock==null?void 0:r.isStaticBlock());this.isPrivateMethod=r.isPrivate()&&r.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return a.cloneNode(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return a.cloneNode(this.opts.superRef);if(this.opts.getSuperRef)return a.cloneNode(this.opts.getSuperRef())}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(u,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?p:c;(0,s.default)(this.methodPath,l,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this)},e))}}t.default=ReplaceSupers},63535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(79584);function simplifyAccess(e,t){e.traverse(s,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const s={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const s=e.get("argument");if(!s.isIdentifier())return;const i=s.node.name;if(!r.has(i))return;if(t.getBinding(i)!==e.scope.getBinding(i)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,s.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(i),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",s.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const r=t.name;e.scope.push({id:t});const i=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",s.node)),n.assignmentExpression("=",n.cloneNode(s.node),i),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:s}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const i=e.get("left");if(!i.isIdentifier())return;const a=i.node.name;if(!s.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=n.binaryExpression(e.node.operator.slice(0,-1),n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},55919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=splitExportDeclaration;var n=r(79584);function splitExportDeclaration(e){if(!e.isExportDeclaration()){throw new Error("Only export declarations can be split.")}const t=e.isExportDefaultDeclaration();const r=e.get("declaration");const s=r.isClassDeclaration();if(t){const t=r.isFunctionDeclaration()||s;const i=r.isScope()?r.scope.parent:r.scope;let a=r.node.id;let o=false;if(!a){o=true;a=i.generateUidIdentifier("default");if(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)]);const u=n.exportNamedDeclaration(null,[n.exportSpecifier(n.cloneNode(a),n.identifier("default"))]);e.insertAfter(u);e.replaceWith(l);if(o){i.registerDeclaration(e)}return e}if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const i=r.getOuterBindingIdentifiers();const a=Object.keys(i).map(e=>{return n.exportSpecifier(n.identifier(e),n.identifier(e))});const o=n.exportNamedDeclaration(null,a);e.insertAfter(o);e.replaceWith(r.node);return e}},63880:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(63880);var s=r(44730)},44730:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},94917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var s=r(85531);var i=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,s.isKeyword)(t.value)||(0,s.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=s}}return r}function shouldHighlight(e){return!!i.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new i.constructor({enabled:true,level:1}):i}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},58157:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const s=true;const i=true;const a=true;const o=true;class TokenType{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=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:i}),assign:new TokenType("_=",{beforeExpr:r,isAssign:i}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:i}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:s,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:s}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:s}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const c=/\r\n?|[\n\u2028\u2029]/;const p=new RegExp(c.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const f=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(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 true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{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}}function getLineInfo(e,t){let r=1;let n=0;let s;p.lastIndex=0;while((s=p.exec(e))&&s.index0){n=t[--s]}if(n===null){return}for(let e=0;e0){n.trailingComments=i}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,s,i,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){s=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){s=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(n.leadingComments).end<=e.start){e.leadingComments=n.leadingComments;delete n.leadingComments}else{for(i=n.leadingComments.length-2;i>=0;--i){if(n.leadingComments[i].end<=e.start){e.leadingComments=n.leadingComments.splice(0,i+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(a=0;a0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(i=0;ie.start){break}}const t=this.state.leadingComments.slice(0,i);if(t.length){e.leadingComments=t}s=this.state.leadingComments.slice(i);if(s.length===0){s=null}}}this.state.commentPreviousNode=e;if(s){if(s.length&&s[0].start>=e.start&&last(s).end<=e.end){e.innerComments=s}else{const t=s.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=s.slice(0,t);e.trailingComments=s.slice(t)}else{e.trailingComments=s}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const h=makeErrorTemplates({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."},d.SyntaxError);const y=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...s){return this.raiseWithData(e,{code:t,reasonCode:r},n,...s)}raiseOverwrite(e,{code:t,template:r},...n){const s=this.getLocationForPosition(e);const i=r.replace(/%(\d+)/g,(e,t)=>n[t])+` (${s.line}:${s.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:i})}else if(n.posn[t])+` (${s.line}:${s.column})`;return this._raise(Object.assign({loc:s,pos:e},t),i)}_raise(e,t){const r=new SyntaxError(t);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);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);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return 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,s,i){this.parseMethod(t,r,n,s,i,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,s,i,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,s,i,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(i==="ClassPrivateMethod"){e.computed=false}i="MethodDefinition";return this.finishNode(e,i)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,s){const i=super.parseObjectMethod(e,t,r,n,s);if(i){i.type="Property";if(i.kind==="method")i.kind="init";i.shorthand=false}return i}parseObjectProperty(e,t,r,n,s){const i=super.parseObjectProperty(e,t,r,n,s);if(i){i.kind="init";i.type="Property"}return i}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,h.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,h.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,s){const i=super.parseSubscript(e,t,r,n,s);if(s.optionalChainMember){if(i.type==="OptionalMemberExpression"||i.type==="OptionalCallExpression"){i.type=i.type.substring(8)}if(s.stop){const e=this.startNodeAtNode(i);e.expression=i;return this.finishNode(e,"ChainExpression")}}else if(i.type==="MemberExpression"||i.type==="CallExpression"){i.optional=false}return i}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const g={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(g.brace)});u.dollarBraceL.updateContext=(e=>{e.push(g.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===g.template){e.pop()}else{e.push(g.template)}});let b="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let T="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const v=new RegExp("["+b+"]");const x=new RegExp("["+b+T+"]");b=T=null;const E=[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];const S=[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 isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&v.test(String.fromCharCode(e))}return isInAstralSet(e,E)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&x.test(String.fromCharCode(e))}return isInAstralSet(e,E)||isInAstralSet(e,S)}const P={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const w=new Set(P.keyword);const A=new Set(P.strict);const O=new Set(P.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||A.has(e)}function isStrictBindOnlyReservedWord(e){return O.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return w.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const _=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return _.has(e)}const C=0,j=1,D=2,I=4,k=8,N=16,M=32,R=64,F=128,L=256,B=j|D|L;const q=1,W=2,U=4,K=8,V=16,$=64,J=128,Y=256,X=512,H=1024,z=2048;const G=q|W|K|J,Q=q|0|K|0,Z=q|0|U|0,ee=q|0|V|0,te=0|W|0|J,re=0|W|0|0,ne=q|W|K|Y,se=0|0|0|H,ie=0|0|0|$,ae=q|0|0|$,oe=ne|X,le=0|0|0|H,ue=z;const ce=4,pe=2,fe=1,de=pe|fe;const he=pe|ce,ye=fe|ce,me=pe,ge=fe,be=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&D)>0}get allowSuper(){return(this.currentThisScopeFlags()&N)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&M)>0}get inClass(){return(this.currentThisScopeFlags()&R)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&R)>0&&(e&D)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&F)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&D)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&D||!this.inModule&&e.flags&j)}declareName(e,t,r){let n=this.currentScope();if(t&K||t&V){this.checkRedeclarationInScope(n,e,t,r);if(t&V){n.functions.add(e)}else{n.lexical.add(e)}if(t&K){this.maybeExportDefined(n,e)}}else if(t&U){for(let s=this.scopeStack.length-1;s>=0;--s){n=this.scopeStack[s];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&B)break}}if(this.inModule&&n.flags&j){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&j){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,h.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&q))return false;if(r&K){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&V){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&k&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&B){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(B|R)&&!(t&I)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&z){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&z){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const Te=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const ve=makeErrorTemplates({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."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const xe={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let s=0;s(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Ee.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,ve.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const s=this.flowParseFunctionTypeParams();r.params=s.params;r.rest=s.rest;r.this=s._this;this.expect(u.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,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,ve.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(C);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,ve.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",ve.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let s=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(s){this.raise(e.start,ve.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}n="CommonJS";s=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=xe[e];throw this.raise(this.state.start,ve.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,ve.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!Te.has(e))return;this.raise(t,r?ve.AssignReservedType:ve.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const s=this.flowParseTypeAnnotatableIdentifier();r.name=s.name;r.variance=n;r.bound=s.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,ve.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:s}){const i=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let c=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let i=null;let o=null;const p=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();i=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const f=this.flowParseVariance();if(this.eat(u.bracketL)){if(i!=null){this.unexpected(i)}if(this.eat(u.bracketL)){if(f){this.unexpected(f.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(p,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(p,t,f))}}else if(this.match(u.parenL)||this.isRelational("<")){if(i!=null){this.unexpected(i)}if(f){this.unexpected(f.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(p,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(p,t,i,f,e,r,s!=null?s:!l);if(n===null){c=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,ve.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=c}const p=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=i;return p}flowParseObjectTypeProperty(e,t,r,n,s,i,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!i){this.raise(this.state.lastTokStart,ve.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,ve.InexactInsideExact)}if(n){this.raise(n.start,ve.InexactVariance)}return null}if(!i){this.raise(this.state.lastTokStart,ve.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,ve.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=s;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(s==="get"||s==="set"){this.flowCheckGetterSetterParams(e)}if(!i&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,ve.ThisParamBannedInConstructor)}}else{if(s!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?ve.GetterMayNotHaveThisParam:ve.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,h.BadGetterArity)}else{this.raise(r,h.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,h.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.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(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}this.expect(u.question);const s=this.state.clone();const i=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[c,p]=this.getArrowLikeExpressions(o);if(l||p.length>0){const e=[...i];if(p.length>0){this.state=s;this.state.noArrowAt=e;for(let t=0;t1){this.raise(s.start,ve.AmbiguousConditionalArrow)}if(l&&c.length===1){this.state=s;this.state.noArrowAt=e.concat(c[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=i;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(D|I);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(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=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,ve.DeclareClassElement)}else if(t.value){this.raise(t.value.start,ve.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,h.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&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 false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(s.typeAnnotation.start,ve.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(s.elements)}return s}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,s,i){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,s,i);if(t.params&&s){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&s&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,ve.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,ve.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,s,i,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,s,i,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,ve.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,ve.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),s);if(!i.error)return i.node;const{context:n}=this.state;if(n[n.length-1]===g.j_oTag){n.length-=2}else if(n[n.length-1]===g.j_expr){n.length-=1}}if((n=i)!=null&&n.error||this.isRelational("<")){var a,o;s=s||this.state.clone();let n;const l=this.tryParse(s=>{var i;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const s=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(s,n);return s});if(a.type!=="ArrowFunctionExpression"&&(i=a.extra)!=null&&i.parenthesized){s()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},s);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,ve.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=i)!=null&&a.node){this.state=i.failState;return i.node}if(u){this.state=l.failState;return u}if((o=i)!=null&&o.thrown)throw i.error;if(l.thrown)throw l.error;throw this.raise(n.start,ve.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(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(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,ve.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const s=this.state.clone();const i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,r)||e(),s);if(!i.error&&!i.aborted)return i.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,r,n),s);if(a.node&&!a.error)return a.node;if(i.node){this.state=i.failState;return i.node}if(a.node){this.state=a.failState;return a.node}throw i.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,s){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){s.optionalChainMember=true;if(n){s.stop=true;return e}this.next();const i=this.startNodeAt(t,r);i.callee=e;i.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);i.arguments=this.parseCallExpressionArguments(u.parenR,false);i.optional=true;return this.finishCallExpression(i,true)}else if(!n&&this.shouldParseTypes()&&this.isRelational("<")){const n=this.startNodeAt(t,r);n.callee=e;const i=this.tryParse(()=>{n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(s.optionalChainMember)n.optional=false;return this.finishCallExpression(n,s.optionalChainMember)});if(i.node){if(i.error)this.state=i.failState;return i.node}}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){let t=null;if(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);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,ve.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,ve.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,h.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,h.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,ve.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,ve.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,ve.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,ve.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?ve.EnumInvalidExplicitTypeUnknownSupplied:ve.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let s=null;switch(r){case"boolean":case"number":case"string":s=ve.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":s=ve.EnumInvalidMemberInitializerSymbolType;break;default:s=ve.EnumInvalidMemberInitializerUnknownType}return this.raise(e,s,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,ve.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,ve.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let s=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){s=true;break}const i=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const c={enumName:e,explicitType:t,memberName:l};i.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,c,"boolean");i.init=o.value;n.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,c,"number");i.init=o.value;n.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,c,"string");i.init=o.value;n.stringMembers.push(this.finishNode(i,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,c)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,c);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,c);break;default:n.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:s}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:s,hasUnknownMembers:i}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=i;switch(n){case"boolean":e.explicitType=true;e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=s.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const i=s.booleanMembers.length;const a=s.numberMembers.length;const o=s.stringMembers.length;const l=s.defaultedMembers.length;if(!i&&!a&&!o&&!l){return n()}else if(!i&&!a){e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&i>=l){for(const e of s.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!i&&!o&&a>=l){for(const e of s.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Pe={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:"♦"};class State{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=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[g.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,s=r.length;n.",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 <>...?"},d.SyntaxError);g.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(g.j_expr);e.push(g.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var _e=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Oe.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,h.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const s=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&je)>0}get hasReturn(){return(this.currentFlags()&Ie)>0}get hasIn(){return(this.currentFlags()&ke)>0}}function functionFlags(e,t){return(e?De:0)|(t?je:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const Ne=makeErrorTemplates({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."},d.SyntaxError);function keywordTypeFromName(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 undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var Me=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const s=(t,r,n,s)=>{if(r===n&&e[s]){this.raise(t,Ne.InvalidModifiersOrder,n,s)}};const i=(t,r,n,s)=>{if(e[n]&&r===s||e[s]&&r===n){this.raise(t,Ne.IncompatibleModifiers,n,s)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Ne.DuplicateAccessibilityModifier)}else{s(a,o,o,"override");s(a,o,o,"static");s(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Ne.DuplicateModifier,o)}else{s(a,o,"static","readonly");s(a,o,"static","override");s(a,o,"override","readonly");s(a,o,"abstract","override");i(a,o,"declare","override");i(a,o,"static","abstract")}e[o]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const s=t();if(s==null){return undefined}n.push(s);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const s=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return s}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Ne.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.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();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Ne.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Ne.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Ne.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,Ne.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,h.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,Ne.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,h.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Ne.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Ne.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Ne.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,Ne.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Ne.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:s}=e;if(t&&s!=="TSRestType"&&s!=="TSOptionalType"&&!(s==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Ne.OptionalTypeBeforeRequired)}t=t||s==="TSNamedTupleMember"&&e.optional||s==="TSOptionalType";if(s==="TSRestType"){e=e.typeAnnotation;s=e.type}const i=s==="TSNamedTupleMember";r=(n=r)!=null?n:i;if(r!==i){this.raise(e.start,Ne.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const s=this.eat(u.question);const i=this.eat(u.colon);if(i){const e=this.startNodeAtNode(n);e.optional=s;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Ne.InvalidTupleMemberLabel);e.label=n}e.elementType=this.tsParseType();n=this.finishNode(e,"TSNamedTupleMember")}else if(s){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();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Ne.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return 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();const s=this.eat(r);const i=[];do{i.push(t())}while(this.eat(r));if(i.length===1&&!s){return i[0]}n.types=i;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsParseTypeAnnotation(false);r.parameterName=s;r.typeAnnotation=i;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,h.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Ne.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return 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=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(C);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(L);this.prodParam.enter(Ce);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(L);this.prodParam.enter(Ce);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,Ne.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(L);this.prodParam.enter(Ce);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Ne.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let s;let i=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);s=t.accessibility;a=t.override;i=t.readonly;if(e===false&&(s||i||a)){this.raise(r,Ne.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(s||i||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(s)e.accessibility=s;if(i)e.readonly=i;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Ne.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Ne.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",se)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Ne.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,s){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return this.finishNode(n,"TSNonNullExpression")}if(this.isRelational("<")){const i=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e){return e}}const i=this.startNodeAt(t,r);i.callee=e;const a=this.tsParseTypeArguments();if(a){if(!n&&this.eat(u.parenL)){i.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(i.arguments);i.typeParameters=a;if(s.optionalChainMember){i.optional=false}return this.finishCallExpression(i,s.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,s);n.typeParameters=a;return n}}this.unexpected()});if(i)return i}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const s=this.startNodeAt(t,r);s.expression=e;const i=this.tsTryNextParseConstantContext();if(i){s.typeAnnotation=i}else{s.typeAnnotation=this.tsNextThenParseType()}this.finishNode(s,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(s,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Ne.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,n.concat(["static"]));const s=()=>{const s=!!t.static;if(s&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,Ne.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,s)}};if(t.declare){this.tsInAmbientContext(s)}else{s()}}parseClassMemberWithIsStatic(e,t,r,n){const s=this.tsTryParseIndexSignature(t);if(s){e.body.push(s);if(t.abstract){this.raise(t.start,Ne.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Ne.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Ne.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Ne.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Ne.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,Ne.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Ne.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Ne.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Ne.ExpectedAmbientAfterExportDeclare)}let s;if(this.match(u.name)){s=this.tsTryParseExportDeclaration()}if(!s){s=super.parseExportDeclaration(e)}if(s&&(s.type==="TSInterfaceDeclaration"||s.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(s&&n){this.resetStartLocation(s,t,r);s.declare=true}return s}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?se:G);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,Ne.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Ne.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Ne.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,s,i){const a=this.tsTryParseTypeParameters();if(a&&s){this.raise(a.start,Ne.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Ne.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){const s=this.tsTryParseTypeParameters();if(s)t.typeParameters=s;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,s,i,a,o;let l;let c;let p;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();c=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!c.error)return c.node;const{context:t}=this.state;if(t[t.length-1]===g.j_oTag){t.length-=2}else if(t[t.length-1]===g.j_expr){t.length-=1}}if(!((t=c)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let f;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;f=this.tsParseTypeParameters();const s=super.parseMaybeAssign(...e);if(s.type!=="ArrowFunctionExpression"||(r=s.extra)!=null&&r.parenthesized){t()}if(((n=f)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(s,f)}s.typeParameters=f;return s},l);if(!d.error&&!d.aborted)return d.node;if(!c){assert(!this.hasPlugin("jsx"));p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node}if((r=c)!=null&&r.node){this.state=c.failState;return c.node}if(d.node){this.state=d.failState;return d.node}if((n=p)!=null&&n.node){this.state=p.failState;return p.node}if((s=c)!=null&&s.thrown)throw c.error;if(d.thrown)throw d.error;if((i=p)!=null&&i.thrown)throw p.error;throw((a=c)==null?void 0:a.error)||d.error||((o=p)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Ne.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,h.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const s=n&&this.isThisParam(n);return s?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;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(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Ne.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Ne.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Re=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Fe=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return 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 s=this.state.strict;const i=this.parsePlaceholder("Identifier");if(i){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=i}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(i,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Re.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,s);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Le=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Be=["minimal","smart","fsharp"];const qe=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){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'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Be.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Be.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!qe.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+qe.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const We={estree:m,jsx:_e,flow:Se,typescript:Me,v8intrinsic:Le,placeholders:Fe};const Ue=Object.keys(We);const Ke={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Ke)){t[r]=e&&e[r]!=null?e[r]:Ke[r]}return t}var Ve=function isDigit(e){return e>=48&&e<=57};const $e=new Set([103,109,115,105,121,117,100]);const Je={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const Ye={};Ye.bin=[48,49];Ye.oct=[...Ye.bin,50,51,52,53,54,55];Ye.dec=[...Ye.oct,56,57];Ye.hex=[...Ye.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(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){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){f.lastIndex=e;const t=f.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===g.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}pushComment(e,t,r,n,s,i){const a={type:e?"CommentBlock":"CommentLine",value:t,start:r,end:n,loc:new SourceLocation(s,i)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,h.UnterminatedComment);this.state.pos=r+2;p.lastIndex=t;let n;while((n=p.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,h.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?h.RecordExpressionHashIncorrectStartSyntaxType:h.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,h.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,h.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,h.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.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,h.UnterminatedRegExp)}const s=this.input.charCodeAt(n);if(isNewLine(s)){throw this.raise(e,h.UnterminatedRegExp)}if(t){t=false}else{if(s===91){r=true}else if(s===93&&r){r=false}else if(s===47&&!r){break}t=s===92}}const s=this.input.slice(e,n);++n;let i="";while(n-1||i.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,h.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,h.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Ve(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+s+2,h.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===s||t!=null&&this.state.pos-s!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,h.InvalidDigit,e)}const s=this.input.charCodeAt(this.state.pos);if(s===110){++this.state.pos;r=true}else if(s===109){throw this.raise(t,h.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,h.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let s=false;let i=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,h.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,h.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,h.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,h.InvalidOrMissingExponent)}r=true;i=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,h.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(i||o){this.raise(t,h.InvalidDecimal)}++this.state.pos;s=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,h.NumberIdentifier)}const c=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,c);return}if(s){this.finishToken(u.decimal,c);return}const p=a?parseInt(c,8):parseFloat(c);this.finishToken(u.num,p)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,h.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,h.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,h.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,h.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++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}else{this.recordStrictModeErrors(this.state.pos-1,h.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let s=parseInt(n,8);if(s>255){n=n.slice(0,-1);s=parseInt(n,8)}this.state.pos+=n.length-1;const i=this.input.charCodeAt(this.state.pos);if(n!=="0"||i===56||i===57){if(e){return null}else{this.recordStrictModeErrors(t,h.StrictNumericEscape)}}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const s=this.readInt(16,e,t,false);if(s===null){if(r){this.raise(n,h.InvalidEscapeSequence)}else{this.state.pos=n-1}}return s}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let s=e[n];while(s.canBeArrowParameterDeclaration()){s.clearDeclarationError(r);s=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope(Ge)}function newArrowHeadScope(){return new ArrowHeadParsingScope(He)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(ze)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return c.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return c.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,h.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?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)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,h.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const s=this.scope;const i=this.getScopeHandler();this.scope=new i(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=s;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=Ce;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=De}this.scope.enter(j);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{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 SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let s=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){s=Qe(e);if(t){if(s.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,h.InvalidParenthesizedAssignment)}else if(s.type!=="MemberExpression"){this.raise(e.start,h.InvalidParenthesizedAssignment)}}else{this.raise(e.start,h.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,s=n-1;rthis.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const s=this.startNodeAt(t,r);s.expressions=[n];while(this.eat(u.comma)){s.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(s.expressions);return this.finishNode(s,"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;const s=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,s)}return e}}let i;if(e){i=false}else{e=new ExpressionErrors;i=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,s)}if(this.state.type.isAssign){const t=this.startNodeAt(n,s);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(i){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.state.potentialArrowAt;const i=this.parseExprOps(e);if(this.shouldExitDescending(i,s)){return i}return this.parseConditional(i,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseMaybeUnary(e);if(this.shouldExitDescending(s,n)){return s}return this.parseExprOp(s,t,r,-1)}parseExprOp(e,t,r,n){let s=this.state.type.binop;if(s!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(s>n){const i=this.state.type;if(i===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=i===u.logicalOR||i===u.logicalAND;const l=i===u.nullishCoalescing;if(l){s=u.logicalAND.binop}this.next();if(i===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,h.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(i,s);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const c=this.state.type;if(l&&(c===u.logicalOR||c===u.logicalAND)||o&&c===u.nullishCoalescing){throw this.raise(this.state.start,h.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,h.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.isContextual("await");if(s&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const i=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,h.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,h.DeletePrivateField)}}if(!i){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,i,e);if(s){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?h.AwaitNotInAsyncContext:h.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const s=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return i;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,s);e.operator=this.state.value;e.prefix=false;e.argument=i;this.checkLVal(i,"postfix operation");this.next();i=this.finishNode(e,"UpdateExpression")}return i}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprAtom(e);if(this.shouldExitDescending(s,n)){return s}return this.parseSubscripts(s,t,r)}parseSubscripts(e,t,r,n){const s={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,s);s.maybeAsyncArrow=false}while(!s.stop);return e}parseSubscript(e,t,r,n,s){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,s)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,s)}let i=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){s.stop=true;return e}s.optionalChainMember=i=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,s,i)}else if(i||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,s,i)}else{s.stop=true;return e}}parseMember(e,t,r,n,s){const i=this.startNodeAt(t,r);const a=this.eat(u.bracketL);i.object=e;i.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(i.object.type==="Super"){this.raise(t,h.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}i.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){i.optional=s;return this.finishNode(i,"OptionalMemberExpression")}else{return this.finishNode(i,"MemberExpression")}}parseBind(e,t,r,n,s){const i=this.startNodeAt(t,r);i.object=e;i.callee=this.parseNoCallExpr();s.stop=true;return this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,s){const i=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=s}if(s){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!s){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=i;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const s=this.startNodeAt(t,r);s.tag=e;s.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,h.OptionalChainingNoTemplate)}return this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,h.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,h.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,s){const i=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,h.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}i.push(this.parseExprListItem(false,s,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return i}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,h.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,h.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,h.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,h.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,h.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,h.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(De);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,h.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,h.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,h.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,h.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,h.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,y.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const s=this.state.maybeInArrowParameters;const i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const c=new ExpressionErrors;const p={start:0};let f=true;let d;let h;while(!this.match(u.parenR)){if(f){f=false}else{this.expect(u.comma,p.start||null);if(this.match(u.parenR)){h=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(c,this.parseParenItem,p))}}const y=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=s;this.state.inFSharpPipelineDirectBody=i;let g=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(g=this.parseArrow(g))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(g,l,false);return g}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(h)this.unexpected(h);if(d)this.unexpected(d);this.checkExpressionErrors(c,true);if(p.start)this.unexpected(p.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",y,m)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const b=this.startNodeAt(t,r);b.expression=n;this.finishNode(b,"ParenthesizedExpression");return b}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,h.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,h.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,h.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,h.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,h.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(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const s=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(s,r,i,n)}if(r&&!this.isObjectProperty(s)&&s.type!=="SpreadElement"){this.raise(s.start,h.InvalidRecordProperty)}if(s.shorthand){this.addExtra(s,"shorthand",true)}o.properties.push(s)}this.next();this.state.inFSharpPipelineDirectBody=s;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,h.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let s=false;let i=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){s=this.eat(u.star)}const c=this.state.containsEsc;const p=this.parsePropertyName(n,false);if(!e&&!s&&!c&&this.maybeAsyncOrAccessorProp(n)){const e=p.name;if(e==="async"&&!this.hasPrecedingLineBreak()){i=true;s=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){s=true;this.raise(this.state.pos,h.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,s,i,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const s=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(s,h.BadGetterArity)}else{this.raise(s,h.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(s,h.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,s){if(s){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,s){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(s);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&s){if(s.shorthandAssign===-1){s.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,s,i,a,o){const l=this.parseObjectMethod(e,n,s,i,a)||this.parseObjectProperty(e,t,r,i,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,s,i,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(D|N|(a?R:0)|(s?M:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,i,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=this.startNode();this.next();i.elements=this.parseExprList(e,!r,n,i);this.state.inFSharpPipelineDirectBody=s;return this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(D|I);let s=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){s|=ke}this.prodParam.enter(s);this.initFunction(e,r);const i=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=i;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const s=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|Ie);e.body=this.parseBlock(true,false,s=>{const i=!this.isSimpleParamList(e.params);if(s&&i){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,h.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!i,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=s}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,h.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,h.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,h.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,h.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,h.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,h.UnexpectedKeyword,e);return}const s=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(s(e,this.inModule)){this.raise(t,h.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,h.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,h.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,h.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,h.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,h.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,h.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const s=this.isSimpleReference(e);if(s){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,h.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,s?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=ke&~t;if(r){this.prodParam.enter(t|ke);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=ke&t;if(r){this.prodParam.enter(t&~ke);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const s=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return s}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,st=4;const it=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(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,h.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const s=this.input.slice(t.start,t.end);const i=r.value=s.slice(1,-1);this.addExtra(r,"raw",s);this.addExtra(r,"rawValue",i);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let s;if(this.isLet(e)){r=u._var;s="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,h.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,h.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:s=s||this.state.value;if(e&&s!=="var"){this.raise(this.state.start,h.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,s);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,h.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,h.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const i=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,i,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,y.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,h.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,h.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;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(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(C);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const s=n?"let":this.state.value;this.next();this.parseVar(r,true,s);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const s=this.match(u.name)&&!this.state.containsEsc;const i=new ExpressionErrors;const a=this.parseExpression(true,i);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,h.ForOfLet)}else if(t===-1&&s&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,h.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(i,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,h.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(C);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,h.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,h.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?k:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(C)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,h.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,h.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,h.LabelRedeclaration,t)}}const s=this.state.type.isLoop?"loop":this.match(u._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){r.statementStart=this.state.start;r.kind=s}else{break}}this.state.labels.push({name:t,kind:s,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(C)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,s){const i=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:undefined,r,n,s)}parseBlockOrModuleBlockBody(e,t,r,n,s){const i=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(s){s.call(this,a)}if(!i){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,h.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,h.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const s=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!s){this.raise(this.state.lastTokEnd,h.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,h.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const s=t&nt;const i=!!n&&!(t&st);this.initFunction(e,r);if(this.match(u.star)&&s){this.raise(this.state.start,h.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(i)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(D);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!s){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const s=this.startNode();s.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,h.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(s,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,h.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,h.TrailingDecorator)}this.classScope.exit();return this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const s=t;const i=t;const a=t;const o=t;const l=s;const c=s;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,i,true,false);return}if(this.isNonstaticConstructor(s)){this.raise(s.key.start,h.ConstructorIsGenerator)}this.pushClassMethod(e,s,true,false,false,false);return}const p=this.state.containsEsc;const f=this.match(u.privateName);const d=this.parseClassElementName(t);const y=d.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(c);if(this.isClassMethod()){l.kind="method";if(f){this.pushClassPrivateMethod(e,i,false,false);return}const n=this.isNonstaticConstructor(s);let a=false;if(n){s.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,h.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,h.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,s,false,false,n,a)}else if(this.isClassProperty()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(y&&d.name==="async"&&!p&&!this.isLineTerminator()){const t=this.eat(u.star);if(c.optional){this.unexpected(m)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(c);if(r){this.pushClassPrivateMethod(e,i,t,true)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,h.ConstructorIsAsync)}this.pushClassMethod(e,s,t,true,false,false)}}else if(y&&(d.name==="get"||d.name==="set")&&!p&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(s);if(t){this.pushClassPrivateMethod(e,i,false,false)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,h.ConstructorIsAccessor)}this.pushClassMethod(e,s,false,false,false,false)}this.checkGetterSetterParams(s)}else if(this.isLineTerminator()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,h.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,h.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(R|F|N);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(Ce);const s=t.body=[];this.parseBlockOrModuleBlockBody(s,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,h.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,h.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),be,r.key.start)}pushClassMethod(e,t,r,n,s,i){e.body.push(this.parseMethod(t,r,n,s,i,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const s=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(s);const i=s.kind==="get"?s.static?he:me:s.kind==="set"?s.static?ye:ge:be;this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),i,s.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(R|N);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(Ce);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=G){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,h.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const s=n&&this.maybeParseExportNamespaceSpecifier(e);const i=r&&(!s||this.eat(u.comma));const a=t||n;if(n&&!s){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||s&&i&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!c.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|st,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,h.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,h.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,h.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var s;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((s=t.extra)!=null&&s.parenthesized)){this.raise(t.start,h.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,h.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const i=this.state.decoratorStack[this.state.decoratorStack.length-1];if(i.length){throw this.raise(e.start,h.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?h.DuplicateDefaultExport:h.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.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(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(it);if(t){this.raise(e.start,h.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,h.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,h.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,h.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,h.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,h.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,h.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,h.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Ue.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=We[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},66309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTemplateBuilder;var n=r(72831);var s=r(70893);var i=r(71776);const a=(0,n.validate)({placeholderPattern:false});function createTemplateBuilder(e,t){const r=new WeakMap;const o=new WeakMap;const l=t||(0,n.validate)(null);return Object.assign((t,...a)=>{if(typeof t==="string"){if(a.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,s.default)(e,t,(0,n.merge)(l,(0,n.validate)(a[0]))))}else if(Array.isArray(t)){let n=r.get(t);if(!n){n=(0,i.default)(e,t,l);r.set(t,n)}return extendedTrace(n(a))}else if(typeof t==="object"&&t){if(a.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,n.merge)(l,(0,n.validate)(t)))}throw new Error(`Unexpected template param ${typeof t}`)},{ast:(t,...r)=>{if(typeof t==="string"){if(r.length>1)throw new Error("Unexpected extra params.");return(0,s.default)(e,t,(0,n.merge)((0,n.merge)(l,(0,n.validate)(r[0])),a))()}else if(Array.isArray(t)){let s=o.get(t);if(!s){s=(0,i.default)(e,t,(0,n.merge)(l,a));o.set(t,s)}return s(r)()}throw new Error(`Unexpected template param ${typeof t}`)}})}function extendedTrace(e){let t="";try{throw new Error}catch(e){if(e.stack){t=e.stack.split("\n").slice(3).join("\n")}}return r=>{try{return e(r)}catch(e){e.stack+=`\n =============\n${t}`;throw e}}}},52240:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.program=t.expression=t.statement=t.statements=t.smart=void 0;var n=r(79584);function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>{return e(t.program.body.slice(1))}}}const s=makeStatementFormatter(e=>{if(e.length>1){return e}else{return e[0]}});t.smart=s;const i=makeStatementFormatter(e=>e);t.statements=i;const a=makeStatementFormatter(e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]});t.statement=a;const o={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(o.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[t]=e.body;n.assertExpressionStatement(t);return t.expression}};t.expression=o;const l={code:e=>e,validate:()=>{},unwrap:e=>e.program};t.program=l},47202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.program=t.expression=t.statements=t.statement=t.smart=void 0;var n=r(52240);var s=r(66309);const i=(0,s.default)(n.smart);t.smart=i;const a=(0,s.default)(n.statement);t.statement=a;const o=(0,s.default)(n.statements);t.statements=o;const l=(0,s.default)(n.expression);t.expression=l;const u=(0,s.default)(n.program);t.program=u;var c=Object.assign(i.bind(undefined),{smart:i,statement:a,statements:o,expression:l,program:u,ast:i.ast});t.default=c},71776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=literalTemplate;var n=r(72831);var s=r(73217);var i=r(6756);function literalTemplate(e,t,r){const{metadata:s,names:a}=buildLiteralData(e,t,r);return t=>{const r={};t.forEach((e,t)=>{r[a[t]]=e});return t=>{const a=(0,n.normalizeReplacements)(t);if(a){Object.keys(a).forEach(e=>{if(Object.prototype.hasOwnProperty.call(r,e)){throw new Error("Unexpected replacement overlap.")}})}return e.unwrap((0,i.default)(s,a?Object.assign(a,r):r))}}}function buildLiteralData(e,t,r){let n;let i;let a;let o="";do{o+="$";const l=buildTemplateCode(t,o);n=l.names;i=new Set(n);a=(0,s.default)(e,e.code(l.code),{parser:r.parser,placeholderWhitelist:new Set(l.names.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders})}while(a.placeholders.some(e=>e.isDuplicate&&i.has(e.name)));return{metadata:a,names:n}}function buildTemplateCode(e,t){const r=[];let n=e[0];for(let s=1;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.merge=merge;t.validate=validate;t.normalizeReplacements=normalizeReplacements;function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}function merge(e,t){const{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:s=e.preserveComments,syntacticPlaceholders:i=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const t=e||{},{placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}=t,a=_objectWithoutPropertiesLoose(t,["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]);if(r!=null&&!(r instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(n!=null&&!(n instanceof RegExp)&&n!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(s!=null&&typeof s!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(i!=null&&typeof i!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(i===true&&(r!=null||n!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:a,placeholderWhitelist:r||undefined,placeholderPattern:n==null?undefined:n,preserveComments:s==null?undefined:s,syntacticPlaceholders:i==null?undefined:i}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce((e,t,r)=>{e["$"+r]=t;return e},{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},73217:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parseAndBuildMetadata;var n=r(79584);var s=r(58157);var i=r(16619);const a=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,t,r){const{placeholderWhitelist:s,placeholderPattern:i,preserveComments:a,syntacticPlaceholders:o}=r;const l=parseWithCodeFrame(t,r.parser,o);n.removePropertiesDeep(l,{preserveComments:a});e.validate(l);const u={placeholders:[],placeholderNames:new Set};const c={placeholders:[],placeholderNames:new Set};const p={value:undefined};n.traverse(l,placeholderVisitorHandler,{syntactic:u,legacy:c,isLegacyRef:p,placeholderWhitelist:s,placeholderPattern:i,syntacticPlaceholders:o});return Object.assign({ast:l},p.value?c:u)}function placeholderVisitorHandler(e,t,r){var s;let i;if(n.isPlaceholder(e)){if(r.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}else{i=e.name.name;r.isLegacyRef.value=false}}else if(r.isLegacyRef.value===false||r.syntacticPlaceholders){return}else if(n.isIdentifier(e)||n.isJSXIdentifier(e)){i=e.name;r.isLegacyRef.value=true}else if(n.isStringLiteral(e)){i=e.value;r.isLegacyRef.value=true}else{return}if(!r.isLegacyRef.value&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(r.isLegacyRef.value&&(r.placeholderPattern===false||!(r.placeholderPattern||a).test(i))&&!((s=r.placeholderWhitelist)!=null&&s.has(i))){return}t=t.slice();const{node:o,key:l}=t[t.length-1];let u;if(n.isStringLiteral(e)||n.isPlaceholder(e,{expectedNode:"StringLiteral"})){u="string"}else if(n.isNewExpression(o)&&l==="arguments"||n.isCallExpression(o)&&l==="arguments"||n.isFunction(o)&&l==="params"){u="param"}else if(n.isExpressionStatement(o)&&!n.isPlaceholder(e)){u="statement";t=t.slice(0,-1)}else if(n.isStatement(e)&&n.isPlaceholder(e)){u="statement"}else{u="other"}const{placeholders:c,placeholderNames:p}=r.isLegacyRef.value?r.legacy:r.syntactic;c.push({name:i,type:u,resolve:e=>resolveAncestors(e,t),isDuplicate:p.has(i)});p.add(i)}function resolveAncestors(e,t){let r=e;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=populatePlaceholders;var n=r(79584);function populatePlaceholders(e,t){const r=n.cloneNode(e.ast);if(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{applyReplacement(e,r,t&&t[e.name]||null)}catch(t){t.message=`@babel/template placeholder "${e.name}": ${t.message}`;throw t}});return r}function applyReplacement(e,t,r){if(e.isDuplicate){if(Array.isArray(r)){r=r.map(e=>n.cloneNode(e))}else if(typeof r==="object"){r=n.cloneNode(r)}}const{parent:s,key:i,index:a}=e.resolve(t);if(e.type==="string"){if(typeof r==="string"){r=n.stringLiteral(r)}if(!r||!n.isStringLiteral(r)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(a===undefined){if(!r){r=n.emptyStatement()}else if(Array.isArray(r)){r=n.blockStatement(r)}else if(typeof r==="string"){r=n.expressionStatement(n.identifier(r))}else if(!n.isStatement(r)){r=n.expressionStatement(r)}}else{if(r&&!Array.isArray(r)){if(typeof r==="string"){r=n.identifier(r)}if(!n.isStatement(r)){r=n.expressionStatement(r)}}}}else if(e.type==="param"){if(typeof r==="string"){r=n.identifier(r)}if(a===undefined)throw new Error("Assertion failure.")}else{if(typeof r==="string"){r=n.identifier(r)}if(Array.isArray(r)){throw new Error("Cannot replace single expression with an array.")}}if(a===undefined){n.validate(s,i,r);s[i]=r}else{const t=s[i].slice();if(e.type==="statement"||e.type==="param"){if(r==null){t.splice(a,1)}else if(Array.isArray(r)){t.splice(a,1,...r)}else{t[a]=r}}else{t[a]=r}n.validate(s,i,t);s[i]=t}}},70893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=stringTemplate;var n=r(72831);var s=r(73217);var i=r(6756);function stringTemplate(e,t,r){t=e.code(t);let a;return o=>{const l=(0,n.normalizeReplacements)(o);if(!a)a=(0,s.default)(e,t,r);return e.unwrap((0,i.default)(a,l))}}},90356:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.scope=t.path=void 0;let r=new WeakMap;t.path=r;let n=new WeakMap;t.scope=n;function clear(){clearPath();clearScope()}function clearPath(){t.path=r=new WeakMap}function clearScope(){t.scope=n=new WeakMap}},46586:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(10904);var s=r(79584);const i=process.env.NODE_ENV==="test";class TraversalContext{constructor(e,t,r,n){this.queue=null;this.priorityQueue=null;this.parentPath=n;this.scope=e;this.state=r;this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return true;if(t[e.type])return true;const r=s.VISITOR_KEYS[e.type];if(!(r!=null&&r.length))return false;for(const t of r){if(e[t])return true}return false}create(e,t,r,s){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:s})}maybeQueue(e,t){if(this.trap){throw new Error("Infinite cycle detected")}if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,r){if(e.length===0)return false;const n=[];for(let s=0;s=1e4){this.trap=true}const{node:s}=n;if(t.has(s))continue;if(s)t.add(s);if(n.visit()){r=true;break}if(this.priorityQueue.length){r=this.visitQueue(this.priorityQueue);this.priorityQueue=[];this.queue=e;if(r)break}}for(const t of e){t.popContext()}this.queue=null;return r}visit(e,t){const r=e[t];if(!r)return false;if(Array.isArray(r)){return this.visitMultiple(r,e,t)}else{return this.visitSingle(e,t)}}}t.default=TraversalContext},20476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}t.default=Hub},58941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"Hub",{enumerable:true,get:function(){return u.default}});t.visitors=t.default=void 0;var n=r(46586);var s=r(56485);t.visitors=s;var i=r(79584);var a=r(90356);var o=r(10904);var l=r(16049);var u=r(20476);function traverse(e,t={},r,n,a){if(!e)return;if(!t.noScope&&!r){if(e.type!=="Program"&&e.type!=="File"){throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+"passing scope and parentPath.")}}if(!i.VISITOR_KEYS[e.type]){return}s.explode(t);traverse.node(e,t,r,n,a)}var c=traverse;t.default=c;traverse.visitors=s;traverse.verify=s.verify;traverse.explode=s.explode;traverse.cheap=function(e,t){return i.traverseFast(e,t)};traverse.node=function(e,t,r,s,a,o){const l=i.VISITOR_KEYS[e.type];if(!l)return;const u=new n.default(r,t,s,a);for(const t of l){if(o&&o[t])continue;if(u.visit(e,t))return}};traverse.clearNode=function(e,t){i.removeProperties(e,t);a.path.delete(e)};traverse.removeProperties=function(e,t){i.traverseFast(e,traverse.clearNode,t);return e};function hasDenylistedType(e,t){if(e.node.type===t.type){t.has=true;e.stop()}}traverse.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return false;if(e.type===t)return true;const n={has:false,type:t};traverse(e,{noScope:true,denylist:r,enter:hasDenylistedType},null,n);return n.has};traverse.cache=a},15429:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findParent=findParent;t.find=find;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getAncestry=getAncestry;t.isAncestor=isAncestor;t.isDescendant=isDescendant;t.inType=inType;var n=r(79584);var s=r(10904);function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent(e=>e.isFunction())}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{e=e.parentPath}}while(e);if(e&&(e.isProgram()||e.isFile())){throw new Error("File/Program node, we can't possibly find a statement parent to this")}return e}function getEarliestCommonAncestorFrom(e){return this.getDeepestCommonAncestorFrom(e,function(e,t,r){let s;const i=n.VISITOR_KEYS[e.type];for(const e of r){const r=e[t+1];if(!s){s=r;continue}if(r.listKey&&s.listKey===r.listKey){if(r.keya){s=r}}return s})}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let r=Infinity;let n,s;const i=e.map(e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.lengtht===e)}function inType(...e){let t=this;while(t){for(const r of e){if(t.node.type===r)return true}t=t.parentPath}return false}},22336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shareCommentsWithSiblings=shareCommentsWithSiblings;t.addComment=addComment;t.addComments=addComments;var n=r(79584);function shareCommentsWithSiblings(){if(typeof this.key==="string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1);const s=this.getSibling(this.key+1);const i=Boolean(n.node);const a=Boolean(s.node);if(i&&!a){n.addComments("trailing",t)}else if(a&&!i){s.addComments("leading",r)}}function addComment(e,t,r){n.addComment(this.node,e,t,r)}function addComments(e,t){n.addComments(this.node,e,t)}},40565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.call=call;t._call=_call;t.isBlacklisted=t.isDenylisted=isDenylisted;t.visit=visit;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.setScope=setScope;t.setContext=setContext;t.resync=resync;t._resyncParent=_resyncParent;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncRemoved=_resyncRemoved;t.popContext=popContext;t.pushContext=pushContext;t.setup=setup;t.setKey=setKey;t.requeue=requeue;t._getQueueContexts=_getQueueContexts;var n=r(58941);var s=r(10904);function call(e){const t=this.opts;this.debug(e);if(this.node){if(this._call(t[e]))return true}if(this.node){return this._call(t[this.node.type]&&t[this.node.type][e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const r=t.call(this.state,this,this.state);if(r&&typeof r==="object"&&typeof r.then==="function"){throw new Error(`You appear to be using a plugin with an async traversal visitor, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}if(r){throw new Error(`Unexpected return value from visitor method ${t}`)}if(this.node!==e)return true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function visit(){if(!this.node){return false}if(this.isDenylisted()){return false}if(this.opts.shouldSkip&&this.opts.shouldSkip(this)){return false}if(this.shouldSkip||this.call("enter")||this.shouldSkip){this.debug("Skip...");return this.shouldStop}this.debug("Recursing into...");n.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys);this.call("exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=s.SHOULD_SKIP|s.SHOULD_STOP}function setScope(){if(this.opts&&this.opts.noScope)return;let e=this.parentPath;if(this.key==="key"&&e.isMethod())e=e.parentPath;let t;while(e&&!t){if(e.opts&&e.opts.noScope)return;t=e.scope;e=e.parentPath}this.scope=this.getScope(t);if(this.scope)this.scope.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}this.setScope();return this}function resync(){if(this.removed)return;this._resyncParent();this._resyncList();this._resyncKey()}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let e=0;e0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,r,n){this.listKey=r;this.container=t;this.parentPath=e||this.parentPath;this.setKey(n)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const r of t){r.maybeQueue(e)}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},43061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toComputedKey=toComputedKey;t.ensureBlock=ensureBlock;t.arrowFunctionToShadowed=arrowFunctionToShadowed;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;t.arrowFunctionToExpression=arrowFunctionToExpression;var n=r(79584);var s=r(45357);function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(n.isIdentifier(e))e=n.stringLiteral(e.name)}return e}function ensureBlock(){const e=this.get("body");const t=e.node;if(Array.isArray(e)){throw new Error("Can't convert array path to a block statement")}if(!t){throw new Error("Can't convert node without a body")}if(e.isBlockStatement()){return t}const r=[];let s="body";let i;let a;if(e.isStatement()){a="body";i=0;r.push(e.node)}else{s+=".body.0";if(this.isFunction()){i="argument";r.push(n.returnStatement(e.node))}else{i="expression";r.push(n.expressionStatement(e.node))}}this.node.body=n.blockStatement(r);const o=this.get(s);e.setup(o,a?o.node[a]:o.node,a,i);return this.node}function arrowFunctionToShadowed(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function arrowFunctionToExpression({allowInsertArrow:e=true,specCompliant:t=false,noNewArrows:r=!t}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}const i=hoistFunctionEnvironment(this,r,e);this.ensureBlock();this.node.type="FunctionExpression";if(!r){const e=i?null:this.parentPath.scope.generateUidIdentifier("arrowCheckId");if(e){this.parentPath.scope.push({id:e,init:n.objectExpression([])})}this.get("body").unshiftContainer("body",n.expressionStatement(n.callExpression(this.hub.addHelper("newArrowCheck"),[n.thisExpression(),e?n.identifier(e.name):n.identifier(i)])));this.replaceWith(n.callExpression(n.memberExpression((0,s.default)(this,true)||this.node,n.identifier("bind")),[e?n.identifier(e.name):n.thisExpression()]))}}function hoistFunctionEnvironment(e,t=true,r=true){const s=e.findParent(e=>{return e.isFunction()&&!e.isArrowFunctionExpression()||e.isProgram()||e.isClassProperty({static:false})});const i=(s==null?void 0:s.node.kind)==="constructor";if(s.isClassProperty()){throw e.buildCodeFrameError("Unable to transform arrow inside class property")}const{thisPaths:a,argumentsPaths:o,newTargetPaths:l,superProps:u,superCalls:c}=getScopeInformation(e);if(i&&c.length>0){if(!r){throw c[0].buildCodeFrameError("Unable to handle nested super() usage in arrow")}const e=[];s.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(t){if(!t.get("callee").isSuper())return;e.push(t)}});const t=getSuperBinding(s);e.forEach(e=>{const r=n.identifier(t);r.loc=e.node.callee.loc;e.get("callee").replaceWith(r)})}if(o.length>0){const e=getBinding(s,"arguments",()=>n.identifier("arguments"));o.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(l.length>0){const e=getBinding(s,"newtarget",()=>n.metaProperty(n.identifier("new"),n.identifier("target")));l.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(u.length>0){if(!r){throw u[0].buildCodeFrameError("Unable to handle nested super.prop usage")}const e=u.reduce((e,t)=>e.concat(standardizeSuperProperty(t)),[]);e.forEach(e=>{const t=e.node.computed?"":e.get("property").node.name;const r=e.parentPath.isAssignmentExpression({left:e.node});const i=e.parentPath.isCallExpression({callee:e.node});const o=getSuperPropBinding(s,r,t);const l=[];if(e.node.computed){l.push(e.get("property").node)}if(r){const t=e.parentPath.node.right;l.push(t)}const u=n.callExpression(n.identifier(o),l);if(i){e.parentPath.unshiftContainer("arguments",n.thisExpression());e.replaceWith(n.memberExpression(u,n.identifier("call")));a.push(e.parentPath.get("arguments.0"))}else if(r){e.parentPath.replaceWith(u)}else{e.replaceWith(u)}})}let p;if(a.length>0||!t){p=getThisBinding(s,i);if(t||i&&hasSuperClass(s)){a.forEach(e=>{const t=e.isJSX()?n.jsxIdentifier(p):n.identifier(p);t.loc=e.node.loc;e.replaceWith(t)});if(!t)p=null}}return p}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){const t=e.parentPath;const r=t.node.operator.slice(0,-1);const s=t.node.right;t.node.operator="=";if(e.node.computed){const i=e.scope.generateDeclaredUidIdentifier("tmp");t.get("left").replaceWith(n.memberExpression(e.node.object,n.assignmentExpression("=",i,e.node.property),true));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(i.name),true),s))}else{t.get("left").replaceWith(n.memberExpression(e.node.object,e.node.property));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(e.node.property.name)),s))}return[t.get("left"),t.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const r=e.scope.generateDeclaredUidIdentifier("tmp");const s=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null;const i=[n.assignmentExpression("=",r,n.memberExpression(e.node.object,s?n.assignmentExpression("=",s,e.node.property):e.node.property,e.node.computed)),n.assignmentExpression("=",n.memberExpression(e.node.object,s?n.identifier(s.name):e.node.property,e.node.computed),n.binaryExpression("+",n.identifier(r.name),n.numericLiteral(1)))];if(!e.parentPath.node.prefix){i.push(n.identifier(r.name))}t.replaceWith(n.sequenceExpression(i));const a=t.get("expressions.0.right");const o=t.get("expressions.1.left");return[a,o]}return[e]}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}function getThisBinding(e,t){return getBinding(e,"this",r=>{if(!t||!hasSuperClass(e))return n.thisExpression();const s=new WeakSet;e.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(e){if(!e.get("callee").isSuper())return;if(s.has(e.node))return;s.add(e.node);e.replaceWithMultiple([e.node,n.assignmentExpression("=",n.identifier(r),n.identifier("this"))])}})})}function getSuperBinding(e){return getBinding(e,"supercall",()=>{const t=e.scope.generateUidIdentifier("args");return n.arrowFunctionExpression([n.restElement(t)],n.callExpression(n.super(),[n.spreadElement(n.identifier(t.name))]))})}function getSuperPropBinding(e,t,r){const s=t?"set":"get";return getBinding(e,`superprop_${s}:${r||""}`,()=>{const s=[];let i;if(r){i=n.memberExpression(n.super(),n.identifier(r))}else{const t=e.scope.generateUidIdentifier("prop");s.unshift(t);i=n.memberExpression(n.super(),n.identifier(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("value");s.push(t);i=n.assignmentExpression("=",i,n.identifier(t.name))}return n.arrowFunctionExpression(s,i)})}function getBinding(e,t,r){const n="binding:"+t;let s=e.getData(n);if(!s){const i=e.scope.generateUidIdentifier(t);s=i.name;e.setData(n,s);e.scope.push({id:i,init:r(s)})}return s}function getScopeInformation(e){const t=[];const r=[];const n=[];const s=[];const i=[];e.traverse({ClassProperty(e){e.skip()},Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ThisExpression(e){t.push(e)},JSXIdentifier(e){if(e.node.name!=="this")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e){if(e.get("callee").isSuper())i.push(e)},MemberExpression(e){if(e.get("object").isSuper())s.push(e)},ReferencedIdentifier(e){if(e.node.name!=="arguments")return;r.push(e)},MetaProperty(e){if(!e.get("meta").isIdentifier({name:"new"}))return;if(!e.get("property").isIdentifier({name:"target"}))return;n.push(e)}});return{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i}}},29081:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluateTruthy=evaluateTruthy;t.evaluate=evaluate;const r=["String","Number","Math"];const n=["random"];function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}function evaluateCached(e,t){const{node:r}=e;const{seen:n}=t;if(n.has(r)){const s=n.get(r);if(s.resolved){return s.value}else{deopt(e,t);return}}else{const s={resolved:false};n.set(r,s);const i=_evaluate(e,t);if(t.confident){s.resolved=true;s.value=i}return i}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const r=e.get("expressions");return evaluateCached(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral()){return e.node.value}if(e.isNullLiteral()){return null}if(e.isTemplateLiteral()){return evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const r=e.get("tag.object");const{node:{name:n}}=r;const s=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&s.isIdentifier()&&s.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const r=evaluateCached(e.get("test"),t);if(!t.confident)return;if(r){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const t=e.get("property");const r=e.get("object");if(r.isLiteral()&&t.isIdentifier()){const e=r.node.value;const n=typeof e;if(n==="number"||n==="string"){return e[t.node.name]}}}if(e.isReferencedIdentifier()){const r=e.scope.getBinding(e.node.name);if(r&&r.constantViolations.length>0){return deopt(r.path,t)}if(r&&e.node.start":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){const s=e.get("callee");let i;let a;if(s.isIdentifier()&&!e.scope.getBinding(s.node.name)&&r.indexOf(s.node.name)>=0){a=global[s.node.name]}if(s.isMemberExpression()){const e=s.get("object");const t=s.get("property");if(e.isIdentifier()&&t.isIdentifier()&&r.indexOf(e.node.name)>=0&&n.indexOf(t.node.name)<0){i=global[e.node.name];a=i[t.node.name]}if(e.isLiteral()&&t.isIdentifier()){const r=typeof e.node.value;if(r==="string"||r==="number"){i=e.node.value;a=i[t.node.name]}}}if(a){const r=e.get("arguments").map(e=>evaluateCached(e,t));if(!t.confident)return;return a.apply(i,r)}}deopt(e,t)}function evaluateQuasis(e,t,r,n=false){let s="";let i=0;const a=e.get("expressions");for(const e of t){if(!r.confident)break;s+=n?e.value.raw:e.value.cooked;const t=a[i++];if(t)s+=String(evaluateCached(t,r))}if(!r.confident)return;return s}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},37834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOpposite=getOpposite;t.getCompletionRecords=getCompletionRecords;t.getSibling=getSibling;t.getPrevSibling=getPrevSibling;t.getNextSibling=getNextSibling;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.get=get;t._getKey=_getKey;t._getPattern=_getPattern;t.getBindingIdentifiers=getBindingIdentifiers;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;var n=r(10904);var s=r(79584);const i=0;const a=1;function NormalCompletion(e){return{type:i,path:e}}function BreakCompletion(e){return{type:a,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,r){if(e)return t.concat(_getCompletionRecords(e,r));return t}function completionRecordForSwitch(e,t,r){let n=[];for(let s=0;s{e.type=a})}function replaceBreakStatementInBreakCompletion(e,t){e.forEach(e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(s.unaryExpression("void",s.numericLiteral(0)))}else{e.path.remove()}}})}function getStatementListCompletion(e,t){let r=[];if(t.canHaveBreak){let n=[];for(let s=0;s0&&u.every(e=>e.type===a)){if(n.length>0&&u.every(e=>e.path.isBreakStatement({label:null}))){normalCompletionToBreak(n);r=r.concat(n);if(n.some(e=>e.path.isDeclaration())){r=r.concat(u);replaceBreakStatementInBreakCompletion(u,true)}replaceBreakStatementInBreakCompletion(u,false)}else{r=r.concat(u);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(u,true)}}break}if(s===e.length-1){r=r.concat(u)}else{r=r.concat(u.filter(e=>e.type===a));n=u.filter(e=>e.type===i)}}}else if(e.length){r=r.concat(_getCompletionRecords(e[e.length-1],t))}return r}function _getCompletionRecords(e,t){let r=[];if(e.isIfStatement()){r=addCompletionRecords(e.get("consequent"),r,t);r=addCompletionRecords(e.get("alternate"),r,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isProgram()||e.isBlockStatement()){r=r.concat(getStatementListCompletion(e.get("body"),t))}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){r=addCompletionRecords(e.get("block"),r,t);r=addCompletionRecords(e.get("handler"),r,t)}else if(e.isCatchClause()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isSwitchStatement()){r=completionRecordForSwitch(e.get("cases"),r,t)}else if(e.isSwitchCase()){r=r.concat(getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true}))}else if(e.isBreakStatement()){r.push(BreakCompletion(e))}else{r.push(NormalCompletion(e))}return r}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map(e=>e.path)}function getSibling(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const r=[];while(t.node){r.push(t);t=this.getSibling(++e)}return r}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const r=[];while(t.node){r.push(t);t=this.getSibling(--e)}return r}function get(e,t=true){if(t===true)t=this.context;const r=e.split(".");if(r.length===1){return this._getKey(e,t)}else{return this._getPattern(r,t)}}function _getKey(e,t){const r=this.node;const s=r[e];if(Array.isArray(s)){return s.map((i,a)=>{return n.default.get({listKey:e,parentPath:this,parent:r,container:s,key:a}).setContext(t)})}else{return n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}}function _getPattern(e,t){let r=this;for(const n of e){if(n==="."){r=r.parentPath}else{if(Array.isArray(r)){r=r[n]}else{r=r.get(n,t)}}}return r}function getBindingIdentifiers(e){return s.getBindingIdentifiers(this.node,e)}function getOuterBindingIdentifiers(e){return s.getOuterBindingIdentifiers(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const r=this;let n=[].concat(r);const i=Object.create(null);while(n.length){const r=n.shift();if(!r)continue;if(!r.node)continue;const a=s.getBindingIdentifiers.keys[r.node.type];if(r.isIdentifier()){if(e){const e=i[r.node.name]=i[r.node.name]||[];e.push(r)}else{i[r.node.name]=r}continue}if(r.isExportDeclaration()){const e=r.get("declaration");if(e.isDeclaration()){n.push(e)}continue}if(t){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression()){continue}}if(a){for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.SHOULD_SKIP=t.SHOULD_STOP=t.REMOVED=void 0;var n=r(26266);var s=r(31185);var i=r(58941);var a=r(16049);var o=r(79584);var l=r(90356);var u=r(88157);var c=r(15429);var p=r(96763);var f=r(79002);var d=r(29081);var h=r(43061);var y=r(64358);var m=r(40565);var g=r(35793);var b=r(38186);var T=r(37834);var v=r(22336);const x=s("babel");const E=1<<0;t.REMOVED=E;const S=1<<1;t.SHOULD_STOP=S;const P=1<<2;t.SHOULD_SKIP=P;class NodePath{constructor(e,t){this.contexts=[];this.state=null;this.opts=null;this._traverseFlags=0;this.skipKeys=null;this.parentPath=null;this.container=null;this.listKey=null;this.key=null;this.node=null;this.type=null;this.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:s,key:i}){if(!e&&t){e=t.hub}if(!r){throw new Error("To get a node path the parent needs to exist")}const a=n[i];let o=l.path.get(r);if(!o){o=new Map;l.path.set(r,o)}let u=o.get(a);if(!u){u=new NodePath(e,r);if(a)o.set(a,u)}u.setup(t,n,s,i);return u}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let r=this.data[e];if(r===undefined&&t!==undefined)r=this.data[e]=t;return r}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,i.default)(this.node,e,this.scope,t,this)}set(e,t){o.validate(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;if(t.inList)r=`${t.listKey}[${r}]`;e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){if(!x.enabled)return;x(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&P)}set shouldSkip(e){if(e){this._traverseFlags|=P}else{this._traverseFlags&=~P}}get shouldStop(){return!!(this._traverseFlags&S)}set shouldStop(e){if(e){this._traverseFlags|=S}else{this._traverseFlags&=~S}}get removed(){return!!(this._traverseFlags&E)}set removed(e){if(e){this._traverseFlags|=E}else{this._traverseFlags&=~E}}}Object.assign(NodePath.prototype,c,p,f,d,h,y,m,g,b,T,v);for(const e of o.TYPES){const t=`is${e}`;const r=o[t];NodePath.prototype[t]=function(e){return r(this.node,e)};NodePath.prototype[`assert${e}`]=function(t){if(!r(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}for(const e of Object.keys(n)){if(e[0]==="_")continue;if(o.TYPES.indexOf(e)<0)o.TYPES.push(e);const t=n[e];NodePath.prototype[`is${e}`]=function(e){return t.checkPath(this,e)}}var w=NodePath;t.default=w},96763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getTypeAnnotation=getTypeAnnotation;t._getTypeAnnotation=_getTypeAnnotation;t.isBaseType=isBaseType;t.couldBeBaseType=couldBeBaseType;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.isGenericType=isGenericType;var n=r(96207);var s=r(79584);function getTypeAnnotation(){if(this.typeAnnotation)return this.typeAnnotation;let e=this._getTypeAnnotation()||s.anyTypeAnnotation();if(s.isTypeAnnotation(e))e=e.typeAnnotation;return this.typeAnnotation=e}const i=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return s.stringTypeAnnotation()}if(e.key==="left"&&t.isForOfStatement()){return s.anyTypeAnnotation()}return s.voidTypeAnnotation()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(i.has(e)){return}i.add(e);try{var t;let r=n[e.type];if(r){return r.call(this,e)}r=n[this.parentPath.type];if((t=r)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{i.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,r){if(e==="string"){return s.isStringTypeAnnotation(t)}else if(e==="number"){return s.isNumberTypeAnnotation(t)}else if(e==="boolean"){return s.isBooleanTypeAnnotation(t)}else if(e==="any"){return s.isAnyTypeAnnotation(t)}else if(e==="mixed"){return s.isMixedTypeAnnotation(t)}else if(e==="empty"){return s.isEmptyTypeAnnotation(t)}else if(e==="void"){return s.isVoidTypeAnnotation(t)}else{if(r){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(s.isAnyTypeAnnotation(t))return true;if(s.isUnionTypeAnnotation(t)){for(const r of t.types){if(s.isAnyTypeAnnotation(r)||_isBaseType(e,r,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const r=e.getTypeAnnotation();if(!s.isAnyTypeAnnotation(t)&&s.isFlowBaseAnnotation(t)){return r.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();return s.isGenericTypeAnnotation(t)&&s.isIdentifier(t.id,{name:e})}},42985:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(79584);function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return n.voidTypeAnnotation()}else if(e.name==="NaN"||e.name==="Infinity"){return n.numberTypeAnnotation()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,r){const s=[];const i=[];let a=getConstantViolationsBefore(e,t,i);const o=getConditionalAnnotation(e,t,r);if(o){const t=getConstantViolationsBefore(e,o.ifStatement);a=a.filter(e=>t.indexOf(e)<0);s.push(o.typeAnnotation)}if(a.length){a=a.concat(i);for(const e of a){s.push(e.getTypeAnnotation())}}if(!s.length){return}if(n.isTSTypeAnnotation(s[0])&&n.createTSUnionType){return n.createTSUnionType(s)}if(n.createFlowUnionType){return n.createFlowUnionType(s)}return n.createUnionTypeAnnotation(s)}function getConstantViolationsBefore(e,t,r){const n=e.constantViolations.slice();n.unshift(e.path);return n.filter(e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);if(r&&n==="unknown")r.push(e);return n==="before"})}function inferAnnotationFromBinaryExpression(e,t){const r=t.node.operator;const s=t.get("right").resolve();const i=t.get("left").resolve();let a;if(i.isIdentifier({name:e})){a=s}else if(s.isIdentifier({name:e})){a=i}if(a){if(r==="==="){return a.getTypeAnnotation()}if(n.BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(r)>=0){return n.numberTypeAnnotation()}return}if(r!=="==="&&r!=="==")return;let o;let l;if(i.isUnaryExpression({operator:"typeof"})){o=i;l=s}else if(s.isUnaryExpression({operator:"typeof"})){o=s;l=i}if(!o)return;if(!o.get("argument").isIdentifier({name:e}))return;l=l.resolve();if(!l.isLiteral())return;const u=l.node.value;if(typeof u!=="string")return;return n.createTypeAnnotationBasedOnTypeof(u)}function getParentConditionalPath(e,t,r){let n;while(n=t.parentPath){if(n.isIfStatement()||n.isConditionalExpression()){if(t.key==="test"){return}return n}if(n.isFunction()){if(n.parentPath.scope.getBinding(r)!==e)return}t=n}}function getConditionalAnnotation(e,t,r){const s=getParentConditionalPath(e,t,r);if(!s)return;const i=s.get("test");const a=[i];const o=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VariableDeclarator=VariableDeclarator;t.TypeCastExpression=TypeCastExpression;t.NewExpression=NewExpression;t.TemplateLiteral=TemplateLiteral;t.UnaryExpression=UnaryExpression;t.BinaryExpression=BinaryExpression;t.LogicalExpression=LogicalExpression;t.ConditionalExpression=ConditionalExpression;t.SequenceExpression=SequenceExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.AssignmentExpression=AssignmentExpression;t.UpdateExpression=UpdateExpression;t.StringLiteral=StringLiteral;t.NumericLiteral=NumericLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.RegExpLiteral=RegExpLiteral;t.ObjectExpression=ObjectExpression;t.ArrayExpression=ArrayExpression;t.RestElement=RestElement;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;t.CallExpression=CallExpression;t.TaggedTemplateExpression=TaggedTemplateExpression;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return s.default}});var n=r(79584);var s=r(42985);function VariableDeclarator(){var e;const t=this.get("id");if(!t.isIdentifier())return;const r=this.get("init");let n=r.getTypeAnnotation();if(((e=n)==null?void 0:e.type)==="AnyTypeAnnotation"){if(r.isCallExpression()&&r.get("callee").isIdentifier({name:"Array"})&&!r.scope.hasBinding("Array",true)){n=ArrayExpression()}}return n}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function NewExpression(e){if(this.get("callee").isIdentifier()){return n.genericTypeAnnotation(e.callee)}}function TemplateLiteral(){return n.stringTypeAnnotation()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return n.voidTypeAnnotation()}else if(n.NUMBER_UNARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.STRING_UNARY_OPERATORS.indexOf(t)>=0){return n.stringTypeAnnotation()}else if(n.BOOLEAN_UNARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}}function BinaryExpression(e){const t=e.operator;if(n.NUMBER_BINARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.BOOLEAN_BINARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return n.numberTypeAnnotation()}else if(t.isBaseType("string")||e.isBaseType("string")){return n.stringTypeAnnotation()}return n.unionTypeAnnotation([n.stringTypeAnnotation(),n.numberTypeAnnotation()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return n.numberTypeAnnotation()}}function StringLiteral(){return n.stringTypeAnnotation()}function NumericLiteral(){return n.numberTypeAnnotation()}function BooleanLiteral(){return n.booleanTypeAnnotation()}function NullLiteral(){return n.nullLiteralTypeAnnotation()}function RegExpLiteral(){return n.genericTypeAnnotation(n.identifier("RegExp"))}function ObjectExpression(){return n.genericTypeAnnotation(n.identifier("Object"))}function ArrayExpression(){return n.genericTypeAnnotation(n.identifier("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return n.genericTypeAnnotation(n.identifier("Function"))}const i=n.buildMatchMemberExpression("Array.from");const a=n.buildMatchMemberExpression("Object.keys");const o=n.buildMatchMemberExpression("Object.values");const l=n.buildMatchMemberExpression("Object.entries");function CallExpression(){const{callee:e}=this.node;if(a(e)){return n.arrayTypeAnnotation(n.stringTypeAnnotation())}else if(i(e)||o(e)){return n.arrayTypeAnnotation(n.anyTypeAnnotation())}else if(l(e)){return n.arrayTypeAnnotation(n.tupleTypeAnnotation([n.stringTypeAnnotation(),n.anyTypeAnnotation()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){if(e.is("async")){if(e.is("generator")){return n.genericTypeAnnotation(n.identifier("AsyncIterator"))}else{return n.genericTypeAnnotation(n.identifier("Promise"))}}else{if(e.node.returnType){return e.node.returnType}else{}}}}},64358:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.matchesPattern=matchesPattern;t.has=has;t.isStatic=isStatic;t.isnt=isnt;t.equals=equals;t.isNodeType=isNodeType;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.isCompletionRecord=isCompletionRecord;t.isStatementOrBlock=isStatementOrBlock;t.referencesImport=referencesImport;t.getSource=getSource;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._guessExecutionStatusRelativeToDifferentFunctions=_guessExecutionStatusRelativeToDifferentFunctions;t.resolve=resolve;t._resolve=_resolve;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.is=void 0;var n=r(79584);function matchesPattern(e,t){return n.matchesPattern(this.node,e,t)}function has(e){const t=this.node&&this.node[e];if(t&&Array.isArray(t)){return!!t.length}else{return!!t}}function isStatic(){return this.scope.isStatic(this.node)}const s=has;t.is=s;function isnt(e){return!this.has(e)}function equals(e,t){return this.node[e]===t}function isNodeType(e){return n.isType(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return n.isBlockStatement(e)}else if(this.isBlockStatement()){return n.isExpression(e)}return false}function isCompletionRecord(e){let t=this;let r=true;do{const n=t.container;if(t.isFunction()&&!r){return!!e}r=false;if(Array.isArray(n)&&t.key!==n.length-1){return false}}while((t=t.parentPath)&&!t.isProgram());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||n.isBlockStatement(this.container)){return false}else{return n.STATEMENT_OR_BLOCK_KEYS.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if((this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?n.isStringLiteral(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return false;const s=r.path;const i=s.parentPath;if(!i.isImportDeclaration())return false;if(i.node.source.value===e){if(!t)return true}else{return false}if(s.isImportDefaultSpecifier()&&t==="default"){return true}if(s.isImportNamespaceSpecifier()&&t==="*"){return true}if(s.isImportSpecifier()&&n.isIdentifier(s.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return(e.scope.getFunctionParent()||e.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let r=0;r=0)return"after";if(r.this.indexOf(e)>=0)return"before";let s;const i={target:0,this:0};while(!s&&i.this=0){s=e}else{i.this++}}if(!s){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(r.this,i.this-1)||isExecutionUncertainInList(r.target,i.target-1)){return"unknown"}const a={this:r.this[i.this-1],target:r.target[i.target-1]};if(a.target.listKey&&a.this.listKey&&a.target.container===a.this.container){return a.target.key>a.this.key?"before":"after"}const o=n.VISITOR_KEYS[s.type];const l={this:o.indexOf(a.this.parentKey),target:o.indexOf(a.target.parentKey)};return l.target>l.this?"before":"after"}const i=new WeakSet;function _guessExecutionStatusRelativeToDifferentFunctions(e){if(!e.isFunctionDeclaration()||e.parentPath.isExportDeclaration()){return"unknown"}const t=e.scope.getBinding(e.node.id.name);if(!t.references)return"before";const r=t.referencePaths;let n;for(const t of r){const r=!!t.find(t=>t.node===e.node);if(r)continue;if(t.key!=="callee"||!t.parentPath.isCallExpression()){return"unknown"}if(i.has(t.node))continue;i.add(t.node);const s=this._guessExecutionStatusRelativeTo(t);i.delete(t.node);if(n&&n!==s){return"unknown"}else{n=s}}return n}function resolve(e,t){return this._resolve(e,t)||this}function _resolve(e,t){if(t&&t.indexOf(this)>=0)return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if(r.kind==="module")return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find(e=>e.node===n.node))return;return n}}else if(this.isTypeCastExpression()){return this.get("expression").resolve(e,t)}else if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!n.isLiteral(r))return;const s=r.value;const i=this.get("object").resolve(e,t);if(i.isObjectExpression()){const r=i.get("properties");for(const n of r){if(!n.isProperty())continue;const r=n.get("key");let i=n.isnt("computed")&&r.isIdentifier({name:s});i=i||r.isLiteral({value:s});if(i)return n.get("value").resolve(e,t)}}else if(i.isArrayExpression()&&!isNaN(+s)){const r=i.get("elements");const n=r[s];if(n)return n.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every(e=>e.isConstantExpression())}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find(e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(!e.isProgram()&&!e.isFunction())return false;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}const t=e.isFunction()?e.node.body:e.node;for(const e of t.directives){if(e.value.value==="use strict"){return true}}});return!!t}},67234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(79584);const s={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&n.react.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);if(r)t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);if(!r)return;for(const n of r.constantViolations){if(n.scope!==r.path.scope){t.mutableBinding=true;e.stop();return}}if(r!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=r}};class PathHoister{constructor(e,t){this.breakOnScopePaths=void 0;this.bindings=void 0;this.mutableBinding=void 0;this.scopes=void 0;this.scope=void 0;this.path=void 0;this.attachAfter=void 0;this.breakOnScopePaths=[];this.bindings={};this.mutableBinding=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.indexOf(e.path)>=0){break}}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e){t=e.scope.parent}if(t.path.isProgram()||t.path.isFunction()){for(const r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if(n.kind==="param"||n.path.parentKey==="params"){continue}const s=this.getAttachmentParentForPath(n.path);if(s.key>=e.key){this.attachAfter=true;e=n.path;for(const t of n.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const r=[function(e,t){const r=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(r){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&(e.key==="consequent"||e.key==="alternate")||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}];t.hooks=r},26266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ForAwaitStatement=t.NumericLiteralTypeAnnotation=t.ExistentialTypeParam=t.SpreadProperty=t.RestProperty=t.Flow=t.Pure=t.Generated=t.User=t.Var=t.BlockScoped=t.Referenced=t.Scope=t.Expression=t.Statement=t.BindingIdentifier=t.ReferencedMemberExpression=t.ReferencedIdentifier=void 0;var n=r(79584);const s={types:["Identifier","JSXIdentifier"],checkPath(e,t){const{node:r,parent:s}=e;if(!n.isIdentifier(r,t)&&!n.isJSXMemberExpression(s,t)){if(n.isJSXIdentifier(r,t)){if(n.react.isCompatTag(r.name))return false}else{return false}}return n.isReferenced(r,s,e.parentPath.parent)}};t.ReferencedIdentifier=s;const i={types:["MemberExpression"],checkPath({node:e,parent:t}){return n.isMemberExpression(e)&&n.isReferenced(e,t)}};t.ReferencedMemberExpression=i;const a={types:["Identifier"],checkPath(e){const{node:t,parent:r}=e;const s=e.parentPath.parent;return n.isIdentifier(t)&&n.isBinding(t,r,s)}};t.BindingIdentifier=a;const o={types:["Statement"],checkPath({node:e,parent:t}){if(n.isStatement(e)){if(n.isVariableDeclaration(e)){if(n.isForXStatement(t,{left:e}))return false;if(n.isForStatement(t,{init:e}))return false}return true}else{return false}}};t.Statement=o;const l={types:["Expression"],checkPath(e){if(e.isIdentifier()){return e.isReferencedIdentifier()}else{return n.isExpression(e.node)}}};t.Expression=l;const u={types:["Scopable","Pattern"],checkPath(e){return n.isScope(e.node,e.parent)}};t.Scope=u;const c={checkPath(e){return n.isReferenced(e.node,e.parent)}};t.Referenced=c;const p={checkPath(e){return n.isBlockScoped(e.node)}};t.BlockScoped=p;const f={types:["VariableDeclaration"],checkPath(e){return n.isVar(e.node)}};t.Var=f;const d={checkPath(e){return e.node&&!!e.node.loc}};t.User=d;const h={checkPath(e){return!e.isUser()}};t.Generated=h;const y={checkPath(e,t){return e.scope.isPure(e.node,t)}};t.Pure=y;const m={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath({node:e}){if(n.isFlow(e)){return true}else if(n.isImportDeclaration(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(n.isExportDeclaration(e)){return e.exportKind==="type"}else if(n.isImportSpecifier(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}};t.Flow=m;const g={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectPattern()}};t.RestProperty=g;const b={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectExpression()}};t.SpreadProperty=b;const T={types:["ExistsTypeAnnotation"]};t.ExistentialTypeParam=T;const v={types:["NumberLiteralTypeAnnotation"]};t.NumericLiteralTypeAnnotation=v;const x={types:["ForOfStatement"],checkPath({node:e}){return e.await===true}};t.ForAwaitStatement=x},38186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.insertBefore=insertBefore;t._containerInsert=_containerInsert;t._containerInsertBefore=_containerInsertBefore;t._containerInsertAfter=_containerInsertAfter;t.insertAfter=insertAfter;t.updateSiblingKeys=updateSiblingKeys;t._verifyNodeList=_verifyNodeList;t.unshiftContainer=unshiftContainer;t.pushContainer=pushContainer;t.hoist=hoist;var n=r(90356);var s=r(67234);var i=r(10904);var a=r(79584);function insertBefore(e){this._assertUnremoved();const t=this._verifyNodeList(e);const{parentPath:r}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||r.isExportNamedDeclaration()||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertBefore(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.unshiftContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function _containerInsert(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let n=0;n{return a.isExpression(e)?a.expressionStatement(e):e}))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){const e=this.node;let{scope:n}=this;if(n.path.isPattern()){a.assertExpression(e);this.replaceWith(a.callExpression(a.arrowFunctionExpression([],e),[]));this.get("callee.body").insertAfter(t);return[this]}if(r.isMethod({computed:true,key:e})){n=n.parent}const s=n.generateDeclaredUidIdentifier();t.unshift(a.expressionStatement(a.assignmentExpression("=",a.cloneNode(s),e)));t.push(a.expressionStatement(a.cloneNode(s)))}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertAfter(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.pushContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(const[,n]of r){if(n.key>=e){n.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.remove=remove;t._removeFromScope=_removeFromScope;t._callRemovalHooks=_callRemovalHooks;t._remove=_remove;t._markRemoved=_markRemoved;t._assertUnremoved=_assertUnremoved;var n=r(94126);var s=r(90356);var i=r(10904);function remove(){var e;this._assertUnremoved();this.resync();if(!((e=this.opts)!=null&&e.noScope)){this._removeFromScope()}if(this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings();this._remove();this._markRemoved()}function _removeFromScope(){const e=this.getBindingIdentifiers();Object.keys(e).forEach(e=>this.scope.removeBinding(e))}function _callRemovalHooks(){for(const e of n.hooks){if(e(this,this.parentPath))return true}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);this.updateSiblingKeys(this.key,-1)}else{this._replaceWith(null)}}function _markRemoved(){this._traverseFlags|=i.SHOULD_SKIP|i.REMOVED;if(this.parent)s.path.get(this.parent).delete(this.node);this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},79002:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;t.replaceWith=replaceWith;t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;var n=r(16619);var s=r(58941);var i=r(10904);var a=r(90356);var o=r(58157);var l=r(79584);var u=r(28497);function replaceWithMultiple(e){var t;this.resync();e=this._verifyNodeList(e);l.inheritLeadingComments(e[0],this.node);l.inheritTrailingComments(e[e.length-1],this.node);(t=a.path.get(this.parent))==null?void 0:t.delete(this.node);this.node=this.container[this.key]=null;const r=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return r}function replaceWithSourceString(e){this.resync();try{e=`(${e})`;e=(0,o.parse)(e)}catch(t){const r=t.loc;if(r){t.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}});t.code="BABEL_REPLACE_SOURCE_ERROR"}throw t}e=e.program.body[0].expression;s.default.removeProperties(e);return this.replaceWith(e)}function replaceWith(e){this.resync();if(this.removed){throw new Error("You can't replace this node, we've already removed it")}if(e instanceof i.default){e=e.node}if(!e){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===e){return[this]}if(this.isProgram()&&!l.isProgram(e)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(e)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof e==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let t="";if(this.isNodeType("Statement")&&l.isExpression(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)&&!this.parentPath.isExportDefaultDeclaration()){e=l.expressionStatement(e);t="expression"}}if(this.isNodeType("Expression")&&l.isStatement(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)){return this.replaceExpressionWithStatements([e])}}const r=this.node;if(r){l.inheritsComments(e,r);l.removeComments(r)}this._replaceWith(e);this.type=e.type;this.setScope();this.requeue();return[t?this.get(t):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){l.validate(this.parent,this.key,[e])}else{l.validate(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=a.path.get(this.parent))==null?void 0:t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){this.resync();const t=l.toSequenceExpression(e,this.scope);if(t){return this.replaceWith(t)[0].get("expressions")}const r=this.getFunctionParent();const n=r==null?void 0:r.is("async");const i=r==null?void 0:r.is("generator");const a=l.arrowFunctionExpression([],l.blockStatement(e));this.replaceWith(l.callExpression(a,[]));const o=this.get("callee");(0,u.default)(o.get("body"),e=>{this.scope.push({id:e})},"var");const c=this.get("callee").getCompletionRecords();for(const e of c){if(!e.isExpressionStatement())continue;const t=e.findParent(e=>e.isLoop());if(t){let r=t.getData("expressionReplacementReturnUid");if(!r){r=o.scope.generateDeclaredUidIdentifier("ret");o.get("body").pushContainer("body",l.returnStatement(l.cloneNode(r)));t.setData("expressionReplacementReturnUid",r)}else{r=l.identifier(r.name)}e.get("expression").replaceWith(l.assignmentExpression("=",l.cloneNode(r),e.node.expression))}else{e.replaceWith(l.returnStatement(e.node.expression))}}o.arrowFunctionToExpression();const p=o;const f=n&&s.default.hasType(this.get("callee.body").node,"AwaitExpression",l.FUNCTION_TYPES);const d=i&&s.default.hasType(this.get("callee.body").node,"YieldExpression",l.FUNCTION_TYPES);if(f){p.set("async",true);if(!d){this.replaceWith(l.awaitExpression(this.node))}}if(d){p.set("generator",true);this.replaceWith(l.yieldExpression(this.node,true))}return p.get("body.body")}function replaceInline(e){this.resync();if(Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},65851:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Binding{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0;this.scope=void 0;this.path=void 0;this.kind=void 0;this.constantViolations=[];this.constant=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=r;this.kind=n;this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.indexOf(e)!==-1){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.indexOf(e)!==-1){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t.default=Binding},16049:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(25866);var s=r(58941);var i=r(65851);var a=r(41389);var o=r(79584);var l=r(90356);function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(o.isModuleDeclaration(e)){if((o.isExportAllDeclaration(e)||o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.source){gatherNodeParts(e.source,t)}else if((o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.specifiers&&e.specifiers.length){for(const r of e.specifiers)gatherNodeParts(r,t)}else if((o.isExportDefaultDeclaration(e)||o.isExportNamedDeclaration(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(o.isModuleSpecifier(e)){gatherNodeParts(e.local,t)}else if(o.isLiteral(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const r of e.properties){gatherNodeParts(r,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":t.push(e.name);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}const u={For(e){for(const t of o.FOR_INIT_KEYS){const r=e.get(t);if(r.isVar()){const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerBinding("var",r)}}},Declaration(e){if(e.isBlockScoped())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier()){t.constantViolations.push(e)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(o.isExportAllDeclaration(t))return;const n=t.declaration;if(o.isClassDeclaration(n)||o.isFunctionDeclaration(n)){const t=n.id;if(!t)return;const s=r.getBinding(t.name);if(s)s.reference(e)}else if(o.isVariableDeclaration(n)){for(const t of n.declarations){for(const n of Object.keys(o.getBindingIdentifiers(t))){const t=r.getBinding(n);if(t)t.reference(e)}}}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const r=t.getBlockParent();r.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){if(e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e.get("id"),e)}const t=e.get("params");for(const r of t){e.scope.registerBinding("param",r)}},ClassExpression(e){if(e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e)}}};let c=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.labels=void 0;this.inited=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const r=l.scope.get(t);if((r==null?void 0:r.path)===e){return r}l.scope.set(t,this);this.uid=c++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,r=this.path;do{const e=r.key==="key";r=r.parentPath;if(e&&r.isMethod())r=r.parentPath;if(r&&r.isScope())t=r}while(r&&!t);return(e=t)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,s.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return o.cloneNode(t)}generateUidIdentifier(e){return o.identifier(this.generateUid(e))}generateUid(e="temp"){e=o.toIdentifier(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let t;let r=1;do{t=this._generateUid(e,r);r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();n.references[t]=true;n.uids[t]=true;return t}_generateUid(e,t){let r=e;if(t>1)r+=t;return`_${r}`}generateUidBasedOnNode(e,t){const r=[];gatherNodeParts(e,r);let n=r.join("$");n=n.replace(/^_/,"")||t||"ref";return this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return o.identifier(this.generateUidBasedOnNode(e,t))}isStatic(e){if(o.isThisExpression(e)||o.isSuper(e)){return true}if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const r=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:r});return o.cloneNode(r)}return r}}checkBlockScopedCollisions(e,t,r,n){if(t==="param")return;if(e.kind==="local")return;const s=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&(t==="let"||t==="const");if(s){throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}}rename(e,t,r){const s=this.getBinding(e);if(s){t=t||this.generateUidIdentifier(e).name;return new n.default(s,e,t).rename(r)}}_renameFromMap(e,t,r,n){if(e[t]){e[r]=n;e[t]=null}}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,r){if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(o.isArrayExpression(e)){return e}if(o.isIdentifier(e,{name:"arguments"})){return o.callExpression(o.memberExpression(o.memberExpression(o.memberExpression(o.identifier("Array"),o.identifier("prototype")),o.identifier("slice")),o.identifier("call")),[e])}let n;const s=[e];if(t===true){n="toConsumableArray"}else if(t){s.push(o.numericLiteral(t));n="slicedToArray"}else{n="toArray"}if(r){s.unshift(this.hub.addHelper(n));n="maybeArrayLike"}return o.callExpression(this.hub.addHelper(n),s)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement()){this.registerLabel(e)}else if(e.isFunctionDeclaration()){this.registerBinding("hoisted",e.get("id"),e)}else if(e.isVariableDeclaration()){const t=e.get("declarations");for(const r of t){this.registerBinding(e.node.kind,r)}}else if(e.isClassDeclaration()){this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.get("specifiers");for(const e of t){this.registerBinding("module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return o.unaryExpression("void",o.numericLiteral(0),true)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const t=this.getBinding(r);if(t)t.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r){this.registerBinding(e,t)}return}const n=this.getProgramParent();const s=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(s)){n.references[t]=true;for(const n of s[t]){const s=this.getOwnBinding(t);if(s){if(s.identifier===n)continue;this.checkBlockScopedCollisions(s,e,t,n)}if(s){this.registerConstantViolation(r)}else{this.bindings[t]=new i.default({identifier:n,scope:this,path:r,kind:e})}}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(o.isIdentifier(e)){const r=this.getBinding(e.name);if(!r)return false;if(t)return r.constant;return true}else if(o.isClass(e)){if(e.superClass&&!this.isPure(e.superClass,t)){return false}return this.isPure(e.body,t)}else if(o.isClassBody(e)){for(const r of e.body){if(!this.isPure(r,t))return false}return true}else if(o.isBinary(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(o.isArrayExpression(e)){for(const r of e.elements){if(!this.isPure(r,t))return false}return true}else if(o.isObjectExpression(e)){for(const r of e.properties){if(!this.isPure(r,t))return false}return true}else if(o.isMethod(e)){if(e.computed&&!this.isPure(e.key,t))return false;if(e.kind==="get"||e.kind==="set")return false;return true}else if(o.isProperty(e)){if(e.computed&&!this.isPure(e.key,t))return false;return this.isPure(e.value,t)}else if(o.isUnaryExpression(e)){return this.isPure(e.argument,t)}else if(o.isTaggedTemplateExpression(e)){return o.matchesPattern(e.tag,"String.raw")&&!this.hasBinding("String",true)&&this.isPure(e.quasi,t)}else if(o.isTemplateLiteral(e)){for(const r of e.expressions){if(!this.isPure(r,t))return false}return true}else{return o.isPureish(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(r!=null)return r}while(t=t.parent)}removeData(e){let t=this;do{const r=t.data[e];if(r!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;this.references=Object.create(null);this.bindings=Object.create(null);this.globals=Object.create(null);this.uids=Object.create(null);this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const r={references:[],constantViolations:[],assignments:[]};this.crawling=true;if(e.type!=="Program"&&u._exploded){for(const t of u.enter){t(e,r)}const t=u[e.type];if(t){for(const n of t.enter){n(e,r)}}}e.traverse(u,r);this.crawling=false;for(const e of r.assignments){const r=e.getBindingIdentifiers();for(const n of Object.keys(r)){if(e.scope.getBinding(n))continue;t.addGlobal(r[n])}e.scope.registerConstantViolation(e)}for(const e of r.references){const r=e.scope.getBinding(e.node.name);if(r){r.reference(e)}else{t.addGlobal(e.node)}}for(const e of r.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const r=e.unique;const n=e.kind||"var";const s=e._blockHoist==null?2:e._blockHoist;const i=`declaration:${n}:${s}`;let a=!r&&t.getData(i);if(!a){const e=o.variableDeclaration(n,[]);e._blockHoist=s;[a]=t.unshiftContainer("body",[e]);if(!r)t.setData(i,a)}const l=o.variableDeclarator(e.id,e.init);a.node.declarations.push(l);this.registerBinding(n,a.get("declarations").pop())}getProgramParent(){let e=this;do{if(e.path.isProgram()){return e}}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent()){return e}}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent()){return e}}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const r of Object.keys(t.bindings)){if(r in e===false){e[r]=t.bindings[r]}}t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const s=e.bindings[n];if(s.kind===r)t[n]=s}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let r;do{const s=t.getOwnBinding(e);if(s){var n;if((n=r)!=null&&n.isPattern()&&s.kind!=="param"){}else{return s}}r=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return false;if(this.hasOwnBinding(e))return true;if(this.parentHasBinding(e,t))return true;if(this.hasUid(e))return true;if(!t&&Scope.globals.includes(e))return true;if(!t&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);if(r){r.scope.removeOwnBinding(e);r.scope=t;t.bindings[e]=r}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null?void 0:t.scope.removeOwnBinding(e);let r=this;do{if(r.uids[e]){r.uids[e]=false}}while(r=r.parent)}}t.default=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},25866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(65851);var s=r(55919);var i=r(79584);const a={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){skipAllButComputedMethodKey(e)}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.getOuterBindingIdentifiers();for(const e in r){if(e===t.oldName)r[e].name=t.newName}}};class Renamer{constructor(e,t,r){this.newName=r;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()&&!t.get("declaration").node.id){return}(0,s.default)(t)}maybeConvertFromClassFunctionDeclaration(e){return;if(!e.isFunctionDeclaration()&&!e.isClassDeclaration())return;if(this.binding.kind!=="hoisted")return;e.node.id=i.identifier(this.oldName);e.node._blockHoist=3;e.replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.identifier(this.newName),i.toExpression(e.node))]))}maybeConvertFromClassFunctionExpression(e){return;if(!e.isFunctionExpression()&&!e.isClassExpression())return;if(this.binding.kind!=="local")return;e.node.id=i.identifier(this.oldName);this.binding.scope.parent.push({id:i.identifier(this.newName)});e.replaceWith(i.assignmentExpression("=",i.identifier(this.newName),e.node))}rename(e){const{binding:t,oldName:r,newName:n}=this;const{scope:s,path:i}=t;const o=i.find(e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression());if(o){const e=o.getOuterBindingIdentifiers();if(e[r]===t.identifier){this.maybeConvertFromExportDeclaration(o)}}const l=e||s.block;if((l==null?void 0:l.type)==="SwitchStatement"){l.cases.forEach(e=>{s.traverse(e,a,this)})}else{s.traverse(l,a,this)}if(!e){s.removeOwnBinding(r);s.bindings[n]=t;this.binding.identifier.name=n}if(o){this.maybeConvertFromClassFunctionDeclaration(o);this.maybeConvertFromClassFunctionExpression(o)}}}t.default=Renamer;function skipAllButComputedMethodKey(e){if(!e.isMethod()||!e.node.computed){e.skip();return}const t=i.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}},56485:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.explode=explode;t.verify=verify;t.merge=merge;var n=r(26266);var s=r(79584);function explode(e){if(e._exploded)return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=t.split("|");if(r.length===1)continue;const n=e[t];delete e[t];for(const t of r){e[t]=n}}verify(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=n[t];if(!r)continue;const s=e[t];for(const e of Object.keys(s)){s[e]=wrapCheck(r,s[e])}delete e[t];if(r.types){for(const t of r.types){if(e[t]){mergePair(e[t],s)}else{e[t]=s}}}else{mergePair(e,s)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];let n=s.FLIPPED_ALIAS_KEYS[t];const i=s.DEPRECATED_KEYS[t];if(i){console.trace(`Visitor defined for ${t} but it has been renamed to ${i}`);n=[i]}if(!n)continue;delete e[t];for(const t of n){const n=e[t];if(n){mergePair(n,r)}else{e[t]=Object.assign({},r)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify(e){if(e._verified)return;if(typeof e==="function"){throw new Error("You passed `traverse()` a function when it expected a visitor object, "+"are you sure you didn't mean `{ enter: Function }`?")}for(const t of Object.keys(e)){if(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(s.TYPES.indexOf(t)<0){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`)}const r=e[t];if(typeof r==="object"){for(const e of Object.keys(r)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,r[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const r=[].concat(t);for(const t of r){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],r){const n={};for(let s=0;se.toString())}return n});n[s]=i}return n}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];if(typeof r==="function"){e[t]={enter:r}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const r=function(r){if(e.checkPath(r)){return t.apply(this,arguments)}};r.toString=(()=>t.toString());return r}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"){return true}return false}function mergePair(e,t){for(const r of Object.keys(t)){e[r]=[].concat(e[r]||[],t[r])}}},48542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(10576);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},49309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(88035);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},78666:()=>{},91496:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(86024);var s=r(34233);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(15035);var s=r(6389);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},46551:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(15035);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},15035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(91496);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},90980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(15035)},11313:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(91784);var s=r(22541);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(15035);var s=r(53158);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},86938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(12613);function clone(e){return(0,n.default)(e,false)}},98290:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(12613);function cloneDeep(e){return(0,n.default)(e)}},15703:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(12613);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},12613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(86024);var s=r(91784);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},82934:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(12613);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},84365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(99735);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},99735:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},80304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(28120);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},73512:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(28120);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},26244:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(28120);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},33928:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(26244);var s=r(73512);var i=r(80304);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},95460:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(91442);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},60638:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(86024);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const c=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=c;const p=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const h=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=h;const y=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const g=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=g;const b=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=b;const T=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=T;const v=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=v;const x=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=x;const E=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=E;const S=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=S;const P=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=P;const w=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=w;const A=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=O;const _=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=_;const C=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const D=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=D;const I=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=I;const k=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=k;const N=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=N;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const R=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=R;const F=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=F;const L=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=L;const B=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=B;const q=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=q;const W=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=W;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const K=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=V;const $=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=$;const J=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=Y;const X=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=X},91442:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const c=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=c;const p=[...c,...l];t.BOOLEAN_BINARY_OPERATORS=p;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...p];t.BINARY_OPERATORS=d;const h=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=h;const y=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=y;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const g=["typeof"];t.STRING_UNARY_OPERATORS=g;const b=["void","throw",...y,...m,...g];t.UNARY_OPERATORS=b;const T={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=T;const v=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=v;const x=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=x},8133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(27817);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},3791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(99529);var s=r(91784);var i=r(15035);var a=r(12613);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},11655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(10188);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},27817:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(91784);var s=r(15035);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},54784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(91784);var s=r(15035);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},16653:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(91784);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},10188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(52288);var s=r(85531);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},6060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(91784);var s=r(12613);var i=r(37552);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},55096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(3791);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},75121:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(91784);var s=r(15035);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},90990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(52288);var s=r(15035);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},28264:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(88035);var s=r(52288);var i=r(85531);var a=r(91442);var o=r(34382);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const c=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=c;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},c,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const p={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=p;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},p,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},p,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.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";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},33471:(e,t,r)=>{"use strict";var n=r(34382);var s=r(28264);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},97166:(e,t,r)=>{"use strict";var n=r(34382);const s=(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")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("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")}});s("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:false},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"))}})},86024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(28264);r(97166);r(51009);r(77673);r(33471);r(84380);var s=r(34382);var i=r(40564);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},51009:(e,t,r)=>{"use strict";var n=r(34382);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},77673:(e,t,r)=>{"use strict";var n=r(34382);var s=r(40564);{(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)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},40564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(34382);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},84380:(e,t,r)=>{"use strict";var n=r(34382);var s=r(28264);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),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,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),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 p={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},p,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},p,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(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)(i)}});(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:i,default:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),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)(i),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)(i),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)(i),const:(0,n.validateOptional)(i),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)(i),global:(0,n.validateOptional)(i),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)(i),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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},34382:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(88035);var s=r(34233);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const c={};t.DEPRECATED_KEYS=c;const p={};t.NODE_PARENT_VALIDATIONS=p;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&h[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const y=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){c[t.deprecatedAlias]=e}for(const e of s.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=y;y.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){p[e]=t.validate}h[e]=t}const h={}},79584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return I.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(16514);var i=r(5547);var a=r(11313);var o=r(48542);var l=r(49309);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(46551);var c=r(896);var p=r(40808);var f=r(15035);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(90980);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var h=r(12613);var y=r(86938);var m=r(98290);var g=r(15703);var b=r(82934);var T=r(84365);var v=r(99735);var x=r(80304);var E=r(73512);var S=r(33928);var P=r(26244);var w=r(95460);var A=r(60638);Object.keys(A).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===A[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return A[e]}})});var O=r(91442);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var _=r(8133);var C=r(11655);var j=r(27817);var D=r(54784);var I=r(16653);var k=r(10188);var N=r(6060);var M=r(55096);var R=r(75121);var F=r(90990);var L=r(86024);Object.keys(L).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===L[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return L[e]}})});var B=r(33073);var q=r(6291);var W=r(50079);var U=r(18192);var K=r(37552);var V=r(6389);var $=r(99529);var J=r(50756);var Y=r(98973);Object.keys(Y).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===Y[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return Y[e]}})});var X=r(3441);var H=r(51927);var z=r(88035);var G=r(26762);var Q=r(20620);var Z=r(71768);var ee=r(86445);var te=r(10576);var re=r(70208);var ne=r(52041);var se=r(56325);var ie=r(59555);var ae=r(71324);var oe=r(17258);var le=r(53464);var ue=r(52288);var ce=r(17039);var pe=r(88730);var fe=r(34233);var de=r(19536);var he=r(91784);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});var ye=r(78666);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});const me={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=me},33073:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(15035);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},6389:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(91784);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},6291:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(91442);var s=r(33928);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},50079:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(15035);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},18192:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(91442);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},37552:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(3441);var s=r(18192);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},53158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(91784);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},99529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(91784);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(99529);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},98973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(86024);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(86024);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},28120:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},22541:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(15035);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},19536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(88730);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},91784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(51927);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},88035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(51927);var s=r(17258);var i=r(52041);var a=r(86024);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},26762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(99529);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},20620:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(91784);var s=r(86445);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},71768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(17258);var s=r(91784);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},86445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(91784);var s=r(91442);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},10576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(86024);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},70208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(86024);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(86024);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},56325:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},59555:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(91784);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},71324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(91784);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},17258:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(86024);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},53464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(52288);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},52288:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(85531);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},17039:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(91784);var s=r(91442);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},88730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(91784);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},16514:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(19536);const s=(0,n.default)("React.Component");var i=s;t.default=i},34233:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(86024);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},19078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;const r=/^[ \t]+$/;class Buffer{constructor(e){this._map=null;this._buf=[];this._last="";this._queue=[];this._position={line:1,column:0};this._sourcePosition={identifierName:null,line:null,column:null,filename:null};this._disallowedPop=null;this._map=e}get(){this._flush();const e=this._map;const t={code:this._buf.join("").trimRight(),map:null,rawMappings:e==null?void 0:e.getRawMappings()};if(e){Object.defineProperty(t,"map",{configurable:true,enumerable:true,get(){return this.map=e.get()},set(e){Object.defineProperty(this,"map",{value:e,writable:true})}})}return t}append(e){this._flush();const{line:t,column:r,filename:n,identifierName:s,force:i}=this._sourcePosition;this._append(e,t,r,s,n,i)}queue(e){if(e==="\n"){while(this._queue.length>0&&r.test(this._queue[0][0])){this._queue.shift()}}const{line:t,column:n,filename:s,identifierName:i,force:a}=this._sourcePosition;this._queue.unshift([e,t,n,i,s,a])}_flush(){let e;while(e=this._queue.pop())this._append(...e)}_append(e,t,r,n,s,i){this._buf.push(e);this._last=e[e.length-1];let a=e.indexOf("\n");let o=0;if(a!==0){this._mark(t,r,n,s,i)}while(a!==-1){this._position.line++;this._position.column=0;o=a+1;if(o0&&this._queue[0][0]==="\n"){this._queue.shift()}}removeLastSemicolon(){if(this._queue.length>0&&this._queue[0][0]===";"){this._queue.shift()}}endsWith(e){if(e.length===1){let t;if(this._queue.length>0){const e=this._queue[0][0];t=e[e.length-1]}else{t=this._last}return t===e}const t=this._last+this._queue.reduce((e,t)=>t[0]+e,"");if(e.length<=t.length){return t.slice(-e.length)===e}return false}hasContent(){return this._queue.length>0||!!this._last}exactSource(e,t){this.source("start",e,true);t();this.source("end",e);this._disallowPop("start",e)}source(e,t,r){if(e&&!t)return;this._normalizePosition(e,t,this._sourcePosition,r)}withSource(e,t,r){if(!this._map)return r();const n=this._sourcePosition.line;const s=this._sourcePosition.column;const i=this._sourcePosition.filename;const a=this._sourcePosition.identifierName;this.source(e,t);r();if((!this._sourcePosition.force||this._sourcePosition.line!==n||this._sourcePosition.column!==s||this._sourcePosition.filename!==i)&&(!this._disallowedPop||this._disallowedPop.line!==n||this._disallowedPop.column!==s||this._disallowedPop.filename!==i)){this._sourcePosition.line=n;this._sourcePosition.column=s;this._sourcePosition.filename=i;this._sourcePosition.identifierName=a;this._sourcePosition.force=false;this._disallowedPop=null}}_disallowPop(e,t){if(e&&!t)return;this._disallowedPop=this._normalizePosition(e,t)}_normalizePosition(e,t,r,n){const s=t?t[e]:null;if(r===undefined){r={identifierName:null,line:null,column:null,filename:null,force:false}}const i=r.line;const a=r.column;const o=r.filename;r.identifierName=e==="start"&&(t==null?void 0:t.identifierName)||null;r.line=s==null?void 0:s.line;r.column=s==null?void 0:s.column;r.filename=t==null?void 0:t.filename;if(n||r.line!==i||r.column!==a||r.filename!==o){r.force=n}return r}getCurrentColumn(){const e=this._queue.reduce((e,t)=>t[0]+e,"");const t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t}getCurrentLine(){const e=this._queue.reduce((e,t)=>t[0]+e,"");let t=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.File=File;t.Program=Program;t.BlockStatement=BlockStatement;t.Noop=Noop;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){this.printInnerComments(e,false);this.printSequence(e.directives,e);if(e.directives&&e.directives.length)this.newline();this.printSequence(e.body,e)}function BlockStatement(e){var t;this.token("{");this.printInnerComments(e);const r=(t=e.directives)==null?void 0:t.length;if(e.body.length||r){this.newline();this.printSequence(e.directives,e,{indent:true});if(r)this.newline();this.printSequence(e.body,e,{indent:true});this.removeTrailingNewline();this.source("end",e.loc);if(!this.endsWith("\n"))this.newline();this.rightBrace()}else{this.source("end",e.loc);this.token("}")}}function Noop(){}function Directive(e){this.print(e.value,e);this.semicolon()}const r=/(?:^|[^\\])(?:\\\\)*'/;const n=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t);return}const{value:s}=e;if(!n.test(s)){this.token(`"${s}"`)}else if(!r.test(s)){this.token(`'${s}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}\n`)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},80111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassBody=ClassBody;t.ClassProperty=ClassProperty;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t._classMethodHead=_classMethodHead;t.StaticBlock=StaticBlock;var n=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function ClassDeclaration(e,t){if(!this.format.decoratorsBeforeExport||!n.isExportDefaultDeclaration(t)&&!n.isExportNamedDeclaration(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.token("{");this.printInnerComments(e);if(e.body.length===0){this.token("}")}else{this.newline();this.indent();this.printSequence(e.body,e);this.dedent();if(!this.endsWith("\n"))this.newline();this.rightBrace()}}function ClassProperty(e){this.printJoin(e.decorators,e);this.tsPrintClassMemberModifiers(e,true);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.token("?")}if(e.definite){this.token("!")}this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){this.printJoin(e.decorators,e);this.tsPrintClassMemberModifiers(e,false);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.token("{");if(e.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace()}}},94447:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UnaryExpression=UnaryExpression;t.DoExpression=DoExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.UpdateExpression=UpdateExpression;t.ConditionalExpression=ConditionalExpression;t.NewExpression=NewExpression;t.SequenceExpression=SequenceExpression;t.ThisExpression=ThisExpression;t.Super=Super;t.Decorator=Decorator;t.OptionalMemberExpression=OptionalMemberExpression;t.OptionalCallExpression=OptionalCallExpression;t.CallExpression=CallExpression;t.Import=Import;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.AssignmentPattern=AssignmentPattern;t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.BindExpression=BindExpression;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.PrivateName=PrivateName;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.AwaitExpression=t.YieldExpression=void 0;var n=_interopRequireWildcard(r(63760));var s=_interopRequireWildcard(r(40523));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function UnaryExpression(e){if(e.operator==="void"||e.operator==="delete"||e.operator==="typeof"||e.operator==="throw"){this.word(e.operator);this.space()}else{this.token(e.operator)}this.print(e.argument,e)}function DoExpression(e){this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.token("(");this.print(e.expression,e);this.token(")")}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.startTerminatorless(true);this.print(e.argument,e);this.endTerminatorless();this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.token("?");this.space();this.print(e.consequent,e);this.space();this.token(":");this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!n.isCallExpression(t,{callee:e})&&!n.isMemberExpression(t)&&!n.isNewExpression(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function Decorator(e){this.token("@");this.print(e.expression,e);this.newline()}function OptionalMemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(e.optional){this.token("?.")}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{if(!e.optional){this.token(".")}this.print(e.property,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.token("(");this.printList(e.arguments,e);this.token(")")}function Import(){this.word("import")}function buildYieldAwait(e){return function(t){this.word(e);if(t.delegate){this.token("*")}if(t.argument){this.space();const e=this.startTerminatorless();this.print(t.argument,t);this.endTerminatorless(e)}}}const i=buildYieldAwait("yield");t.YieldExpression=i;const a=buildYieldAwait("await");t.AwaitExpression=a;function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.token("?");this.print(e.left.typeAnnotation,e);this.space();this.token("=");this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!s.needsParens(e,t);if(r){this.token("(")}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.token(")")}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{this.token(".");this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.token(".");this.print(e.property,e)}function PrivateName(e){this.token("#");this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.token("%");this.word(e.name)}},95755:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareFunction=DeclareFunction;t.InferredPredicate=InferredPredicate;t.DeclaredPredicate=DeclaredPredicate;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareVariable=DeclareVariable;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.EnumDeclaration=EnumDeclaration;t.EnumBooleanBody=EnumBooleanBody;t.EnumNumberBody=EnumNumberBody;t.EnumStringBody=EnumStringBody;t.EnumSymbolBody=EnumSymbolBody;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumBooleanMember=EnumBooleanMember;t.EnumNumberMember=EnumNumberMember;t.EnumStringMember=EnumStringMember;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t._interfaceish=_interfaceish;t._variance=_variance;t.InterfaceDeclaration=InterfaceDeclaration;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;t.NumberTypeAnnotation=NumberTypeAnnotation;t.StringTypeAnnotation=StringTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeParameter=TypeParameter;t.OpaqueType=OpaqueType;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return i.NumericLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return i.StringLiteral}});var n=_interopRequireWildcard(r(63760));var s=r(65132);var i=r(717);function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e);this.token("[");this.token("]")}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.token("%");this.word("checks")}function DeclaredPredicate(e){this.token("%");this.word("checks");this.token("(");this.print(e.value,e);this.token(")")}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.token(".");this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.apply(this,arguments)}function DeclareExportAllDeclaration(){this.word("declare");this.space();s.ExportAllDeclaration.apply(this,arguments)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.token(",")}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{this.token("{");if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.token("}");if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.token("*")}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.token("(");this.printList(e.params,e);if(e.rest){if(e.params.length){this.token(",");this.space()}this.token("...");this.print(e.rest,e)}this.token(")");if(t.type==="ObjectTypeCallProperty"||t.type==="DeclareFunction"||t.type==="ObjectTypeProperty"&&t.method){this.token(":")}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.token("?");if(e.name){this.token(":");this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e)}function _interfaceish(e){this.print(e.id,e);this.print(e.typeParameters,e);if(e.extends.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.mixins&&e.mixins.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if(e.implements&&e.implements.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function _variance(e){if(e.variance){if(e.variance.kind==="plus"){this.token("+")}else if(e.variance.kind==="minus"){this.token("-")}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.token("&");this.space()}function InterfaceTypeAnnotation(e){this.word("interface");if(e.extends&&e.extends.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.token("?");this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.token("[");this.printList(e.types,e);this.token("]")}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.token("=");this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.token(":");this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.token("=");this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.token("{")}const t=e.properties.concat(e.callProperties||[],e.indexers||[],e.internalSlots||[]);if(t.length){this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.token(",");this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.token("}")}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.token("[");this.token("[");this.print(e.id,e);this.token("]");this.token("]");if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.token("[");if(e.id){this.print(e.id,e);this.token(":");this.space()}this.print(e.key,e);this.token("]");this.token(":");this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.token(".");this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.token("|");this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.token("(");this.print(e.expression,e);this.print(e.typeAnnotation,e);this.token(")")}function Variance(e){if(e.kind==="plus"){this.token("+")}else{this.token("-")}}function VoidTypeAnnotation(){this.word("void")}},52506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(60699);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})});var s=r(94447);Object.keys(s).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})});var i=r(15994);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})});var a=r(80111);Object.keys(a).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})});var o=r(92250);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})});var l=r(65132);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(717);Object.keys(u).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})});var c=r(95755);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var p=r(10530);Object.keys(p).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})});var f=r(10412);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(74871);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})})},10412:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXIdentifier=JSXIdentifier;t.JSXNamespacedName=JSXNamespacedName;t.JSXMemberExpression=JSXMemberExpression;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;t.JSXElement=JSXElement;t.JSXOpeningElement=JSXOpeningElement;t.JSXClosingElement=JSXClosingElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXFragment=JSXFragment;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXClosingFragment=JSXClosingFragment;function JSXAttribute(e){this.print(e.name,e);if(e.value){this.token("=");this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.token(":");this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.token(".");this.print(e.property,e)}function JSXSpreadAttribute(e){this.token("{");this.token("...");this.print(e.argument,e);this.token("}")}function JSXExpressionContainer(e){this.token("{");this.print(e.expression,e);this.token("}")}function JSXSpreadChild(e){this.token("{");this.token("...");this.print(e.expression,e);this.token("}")}function JSXText(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t)}else{this.token(e.value)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.token("<");this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.token(">")}}function JSXClosingElement(e){this.token("")}function JSXEmptyExpression(e){this.printInnerComments(e)}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.token("<");this.token(">")}function JSXClosingFragment(){this.token("")}},92250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._params=_params;t._parameters=_parameters;t._param=_param;t._methodHead=_methodHead;t._predicate=_predicate;t._functionHead=_functionHead;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;var n=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _params(e){this.print(e.typeParameters,e);this.token("(");this._parameters(e.params,e);this.token(")");this.print(e.returnType,e)}function _parameters(e,t){for(let r=0;re.loc.start.line){this.indent();this.print(t,e);this.dedent();this._catchUp("start",e.body.loc)}else{this.print(t,e)}this.token(")")}else{this.print(t,e)}}else{this._params(e)}this._predicate(e);this.space();this.token("=>");this.space();this.print(e.body,e)}function hasTypes(e,t){return e.typeParameters||e.returnType||t.typeAnnotation||t.optional||t.trailingComments}},65132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImportSpecifier=ImportSpecifier;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportSpecifier=ExportSpecifier;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportAllDeclaration=ExportAllDeclaration;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ImportDeclaration=ImportDeclaration;t.ImportAttribute=ImportAttribute;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;var n=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.exported,e)}function ExportAllDeclaration(e){this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.token("*");this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e);this.semicolon()}function ExportNamedDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();this.word("default");this.space();ExportDeclaration.apply(this,arguments)}function ExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const t=e.specifiers.slice(0);let r=false;for(;;){const s=t[0];if(n.isExportDefaultSpecifier(s)||n.isExportNamespaceSpecifier(s)){r=true;this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length||!t.length&&!r){this.token("{");if(t.length){this.space();this.printList(t,e);this.space()}this.token("}")}if(e.source){this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e)}this.semicolon()}}function ImportDeclaration(e){var t;this.word("import");this.space();if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}const r=e.specifiers.slice(0);if(r==null?void 0:r.length){for(;;){const t=r[0];if(n.isImportDefaultSpecifier(t)||n.isImportNamespaceSpecifier(t)){this.print(r.shift(),e);if(r.length){this.token(",");this.space()}}else{break}}if(r.length){this.token("{");this.space();this.printList(r,e);this.space();this.token("}")}this.space();this.word("from");this.space()}this.print(e.source,e);this.printAssertions(e);if((t=e.attributes)==null?void 0:t.length){this.space();this.word("with");this.space();this.printList(e.attributes,e)}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.token(":");this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.local,e)}},15994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WithStatement=WithStatement;t.IfStatement=IfStatement;t.ForStatement=ForStatement;t.WhileStatement=WhileStatement;t.DoWhileStatement=DoWhileStatement;t.LabeledStatement=LabeledStatement;t.TryStatement=TryStatement;t.CatchClause=CatchClause;t.SwitchStatement=SwitchStatement;t.SwitchCase=SwitchCase;t.DebuggerStatement=DebuggerStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForOfStatement=t.ForInStatement=void 0;var n=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function WithStatement(e){this.word("with");this.space();this.token("(");this.print(e.object,e);this.token(")");this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.token("(");this.print(e.test,e);this.token(")");this.space();const t=e.alternate&&n.isIfStatement(getLastStatement(e.consequent));if(t){this.token("{");this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.token("}")}if(e.alternate){if(this.endsWith("}"))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){if(!n.isStatement(e.body))return e;return getLastStatement(e.body)}function ForStatement(e){this.word("for");this.space();this.token("(");this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.token(";");if(e.test){this.space();this.print(e.test,e)}this.token(";");if(e.update){this.space();this.print(e.update,e)}this.token(")");this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.printBlock(e)}const s=function(e){return function(t){this.word("for");this.space();if(e==="of"&&t.await){this.word("await");this.space()}this.token("(");this.print(t.left,t);this.space();this.word(e);this.space();this.print(t.right,t);this.token(")");this.printBlock(t)}};const i=s("in");t.ForInStatement=i;const a=s("of");t.ForOfStatement=a;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.semicolon()}function buildLabelStatement(e,t="label"){return function(r){this.word(e);const n=r[t];if(n){this.space();const e=t=="label";const s=this.startTerminatorless(e);this.print(n,r);this.endTerminatorless(s)}this.semicolon()}}const o=buildLabelStatement("continue");t.ContinueStatement=o;const l=buildLabelStatement("return","argument");t.ReturnStatement=l;const u=buildLabelStatement("break");t.BreakStatement=u;const c=buildLabelStatement("throw","argument");t.ThrowStatement=c;function LabeledStatement(e){this.print(e.label,e);this.token(":");this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.token("(");this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.token(")");this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.token("(");this.print(e.discriminant,e);this.token(")");this.space();this.token("{");this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.token("}")}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.token(":")}else{this.word("default");this.token(":")}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function variableDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<4;e++)this.space(true)}function constDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<6;e++)this.space(true)}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}this.word(e.kind);this.space();let r=false;if(!n.isFor(t)){for(const t of e.declarations){if(t.init){r=true}}}let s;if(r){s=e.kind==="const"?constDeclarationIndent:variableDeclarationIndent}this.printList(e.declarations,e,{separator:s});if(n.isFor(t)){if(t.left===e||t.init===e)return}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.token("!");this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.token("=");this.space();this.print(e.init,e)}}},60699:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const s=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(s)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Identifier=Identifier;t.ArgumentPlaceholder=ArgumentPlaceholder;t.SpreadElement=t.RestElement=RestElement;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.RecordExpression=RecordExpression;t.TupleExpression=TupleExpression;t.RegExpLiteral=RegExpLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.StringLiteral=StringLiteral;t.BigIntLiteral=BigIntLiteral;t.DecimalLiteral=DecimalLiteral;t.PipelineTopicExpression=PipelineTopicExpression;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;var n=_interopRequireWildcard(r(63760));var s=_interopRequireDefault(r(87504));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function Identifier(e){this.exactSource(e.loc,()=>{this.word(e.name)})}function ArgumentPlaceholder(){this.token("?")}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.token("{");this.printInnerComments(e);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token("}")}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{if(n.isAssignmentPattern(e.value)&&n.isIdentifier(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&n.isIdentifier(e.key)&&n.isIdentifier(e.value)&&e.key.name===e.value.name){return}}this.token(":");this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.token("[");this.printInnerComments(e);for(let n=0;n0)this.space();this.print(s,e);if(n0)this.space();this.print(s,e);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypeParameter=TSTypeParameter;t.TSParameterProperty=TSParameterProperty;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSQualifiedName=TSQualifiedName;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSPropertySignature=TSPropertySignature;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.TSMethodSignature=TSMethodSignature;t.TSIndexSignature=TSIndexSignature;t.TSAnyKeyword=TSAnyKeyword;t.TSBigIntKeyword=TSBigIntKeyword;t.TSUnknownKeyword=TSUnknownKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSVoidKeyword=TSVoidKeyword;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSNullKeyword=TSNullKeyword;t.TSNeverKeyword=TSNeverKeyword;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSThisType=TSThisType;t.TSFunctionType=TSFunctionType;t.TSConstructorType=TSConstructorType;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.TSTypeReference=TSTypeReference;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeLiteral=TSTypeLiteral;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;t.tsPrintBraced=tsPrintBraced;t.TSArrayType=TSArrayType;t.TSTupleType=TSTupleType;t.TSOptionalType=TSOptionalType;t.TSRestType=TSRestType;t.TSNamedTupleMember=TSNamedTupleMember;t.TSUnionType=TSUnionType;t.TSIntersectionType=TSIntersectionType;t.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;t.TSConditionalType=TSConditionalType;t.TSInferType=TSInferType;t.TSParenthesizedType=TSParenthesizedType;t.TSTypeOperator=TSTypeOperator;t.TSIndexedAccessType=TSIndexedAccessType;t.TSMappedType=TSMappedType;t.TSLiteralType=TSLiteralType;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSInterfaceBody=TSInterfaceBody;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSModuleDeclaration=TSModuleDeclaration;t.TSModuleBlock=TSModuleBlock;t.TSImportType=TSImportType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSExternalModuleReference=TSExternalModuleReference;t.TSNonNullExpression=TSNonNullExpression;t.TSExportAssignment=TSExportAssignment;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;function TSTypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TSTypeParameter(e){this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e){if(e.declare){this.word("declare");this.space()}this._functionHead(e);this.token(";")}function TSDeclareMethod(e){this._classMethodHead(e);this.token(";")}function TSQualifiedName(e){this.print(e.left,e);this.token(".");this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(";")}function tsPrintPropertyOrMethodName(e){if(e.computed){this.token("[")}this.print(e.key,e);if(e.computed){this.token("]")}if(e.optional){this.token("?")}}function TSMethodSignature(e){this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSIndexSignature(e){const{readonly:t}=e;if(t){this.word("readonly");this.space()}this.token("[");this._parameters(e.parameters,e);this.token("]");this.print(e.typeAnnotation,e);this.token(";")}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.space();this.token("=>");this.space();this.print(e.typeAnnotation.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e);this.print(e.typeParameters,e)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName)}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){this.tsPrintBraced(e,t)}function tsPrintBraced(e,t){this.token("{");if(e.length){this.indent();this.newline();for(const r of e){this.print(r,t);this.newline()}this.dedent();this.rightBrace()}else{this.token("}")}}function TSArrayType(e){this.print(e.elementType,e);this.token("[]")}function TSTupleType(e){this.token("[");this.printList(e.elementTypes,e);this.token("]")}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.token("?")}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.token("?");this.token(":");this.space();this.print(e.elementType,e)}function TSUnionType(e){this.tsPrintUnionOrIntersectionType(e,"|")}function TSIntersectionType(e){this.tsPrintUnionOrIntersectionType(e,"&")}function tsPrintUnionOrIntersectionType(e,t){this.printJoin(e.types,e,{separator(){this.space();this.token(t);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.token("?");this.space();this.print(e.trueType);this.space();this.token(":");this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.token("(");this.print(e.typeAnnotation,e);this.token(")")}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:s}=e;this.token("{");this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.token("[");this.word(s.name);this.space();this.word("in");this.space();this.print(s.constraint,s);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.token("]");if(r){tokenIfPlusMinus(this,r);this.token("?")}this.token(":");this.space();this.print(e.typeAnnotation,e);this.space();this.token("}")}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:s,body:i}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(s){this.space();this.word("extends");this.space();this.printList(s,e)}this.space();this.print(i,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:s}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.token("=");this.space();this.print(s,e);this.token(";")}function TSAsExpression(e){const{expression:t,typeAnnotation:r}=e;this.print(t,e);this.space();this.word("as");this.space();this.print(r,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.token("<");this.print(t,e);this.token(">");this.space();this.print(r,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:s}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();this.tsPrintBraced(s,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(",")}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.token(";");return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.token(".");this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){this.tsPrintBraced(e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.token("(");this.print(t,e);this.token(")");if(r){this.token(".");this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.token("=");this.space();this.print(n,e);this.token(";")}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.token(")")}function TSNonNullExpression(e){this.print(e.expression,e);this.token("!")}function TSExportAssignment(e){this.word("export");this.space();this.token("=");this.space();this.print(e.expression,e);this.token(";")}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.print(e.typeAnnotation,e)}function tsPrintClassMemberModifiers(e,t){if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},43187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;t.CodeGenerator=void 0;var n=_interopRequireDefault(r(43575));var s=_interopRequireDefault(r(79287));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class Generator extends s.default{constructor(e,t={},r){const s=normalizeOptions(r,t);const i=t.sourceMaps?new n.default(t,r):null;super(s,i);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:true},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType};{r.jsonCompatibleStrings=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0)}if(r.compact==="auto"){r.compact=e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}return r}class CodeGenerator{constructor(e,t,r){this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function _default(e,t,r){const n=new Generator(e,t,r);return n.generate()}},40523:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsWhitespace=needsWhitespace;t.needsWhitespaceBefore=needsWhitespaceBefore;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsParens=needsParens;var n=_interopRequireWildcard(r(61269));var s=_interopRequireWildcard(r(90761));var i=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,s){const i=n(e,t,s);return i==null?r(e,t,s):i}:r}for(const t of Object.keys(e)){const r=i.FLIPPED_ALIAS_KEYS[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const a=expandAliases(s);const o=expandAliases(n.nodes);const l=expandAliases(n.list);function find(e,t,r,n){const s=e[t.type];return s?s(t,r,n):null}function isOrHasCallExpression(e){if(i.isCallExpression(e)){return true}return i.isMemberExpression(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return 0;if(i.isExpressionStatement(e)){e=e.expression}let n=find(o,e,t);if(!n){const s=find(l,e,t);if(s){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NullableTypeAnnotation=NullableTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.ObjectExpression=ObjectExpression;t.DoExpression=DoExpression;t.Binary=Binary;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.TSInferType=TSInferType;t.BinaryExpression=BinaryExpression;t.SequenceExpression=SequenceExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;t.ClassExpression=ClassExpression;t.UnaryLike=UnaryLike;t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;t.ConditionalExpression=ConditionalExpression;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.AssignmentExpression=AssignmentExpression;t.LogicalExpression=LogicalExpression;var n=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}const s={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};const i=(e,t)=>(n.isClassDeclaration(t)||n.isClassExpression(t))&&t.superClass===e;const a=(e,t)=>(n.isMemberExpression(t)||n.isOptionalMemberExpression(t))&&t.object===e||(n.isCallExpression(t)||n.isOptionalCallExpression(t)||n.isNewExpression(t))&&t.callee===e||n.isTaggedTemplateExpression(t)&&t.tag===e||n.isTSNonNullExpression(t);function NullableTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)}function FunctionTypeAnnotation(e,t,r){return n.isUnionTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isArrayTypeAnnotation(t)||n.isTypeAnnotation(t)&&n.isArrowFunctionExpression(r[r.length-3])}function UpdateExpression(e,t){return a(e,t)||i(e,t)}function ObjectExpression(e,t,r){return isFirstInStatement(r,{considerArrow:true})}function DoExpression(e,t,r){return isFirstInStatement(r)}function Binary(e,t){if(e.operator==="**"&&n.isBinaryExpression(t,{operator:"**"})){return t.left===e}if(i(e,t)){return true}if(a(e,t)||n.isUnaryLike(t)||n.isAwaitExpression(t)){return true}if(n.isBinary(t)){const r=t.operator;const i=s[r];const a=e.operator;const o=s[a];if(i===o&&t.right===e&&!n.isLogicalExpression(t)||i>o){return true}}}function UnionTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)||n.isNullableTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isUnionTypeAnnotation(t)}function TSAsExpression(){return true}function TSTypeAssertion(){return true}function TSUnionType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)||n.isTSIntersectionType(t)||n.isTSUnionType(t)||n.isTSRestType(t)}function TSInferType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)}function BinaryExpression(e,t){return e.operator==="in"&&(n.isVariableDeclarator(t)||n.isFor(t))}function SequenceExpression(e,t){if(n.isForStatement(t)||n.isThrowStatement(t)||n.isReturnStatement(t)||n.isIfStatement(t)&&t.test===e||n.isWhileStatement(t)&&t.test===e||n.isForInStatement(t)&&t.right===e||n.isSwitchStatement(t)&&t.discriminant===e||n.isExpressionStatement(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return n.isBinary(t)||n.isUnaryLike(t)||a(e,t)||n.isAwaitExpression(t)&&n.isYieldExpression(e)||n.isConditionalExpression(t)&&e===t.test||i(e,t)}function ClassExpression(e,t,r){return isFirstInStatement(r,{considerDefaultExports:true})}function UnaryLike(e,t){return a(e,t)||n.isBinaryExpression(t,{operator:"**",left:e})||i(e,t)}function FunctionExpression(e,t,r){return isFirstInStatement(r,{considerDefaultExports:true})}function ArrowFunctionExpression(e,t){return n.isExportDeclaration(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(n.isUnaryLike(t)||n.isBinary(t)||n.isConditionalExpression(t,{test:e})||n.isAwaitExpression(t)||n.isTSTypeAssertion(t)||n.isTSAsExpression(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return n.isCallExpression(t,{callee:e})||n.isMemberExpression(t,{object:e})}function AssignmentExpression(e,t,r){if(n.isObjectPattern(e.left)){return true}else{return ConditionalExpression(e,t,r)}}function LogicalExpression(e,t){switch(e.operator){case"||":if(!n.isLogicalExpression(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return n.isLogicalExpression(t,{operator:"??"});case"??":return n.isLogicalExpression(t)&&t.operator!=="??"}}function isFirstInStatement(e,{considerArrow:t=false,considerDefaultExports:r=false}={}){let s=e.length-1;let i=e[s];s--;let o=e[s];while(s>=0){if(n.isExpressionStatement(o,{expression:i})||r&&n.isExportDefaultDeclaration(o,{declaration:i})||t&&n.isArrowFunctionExpression(o,{body:i})){return true}if(a(i,o)&&!n.isNewExpression(o)||n.isSequenceExpression(o)&&o.expressions[0]===i||n.isConditional(o,{test:i})||n.isBinary(o,{left:i})||n.isAssignmentExpression(o,{left:i})){i=o;s--;o=e[s]}else{return false}}return false}},61269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.list=t.nodes=void 0;var n=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function crawl(e,t={}){if(n.isMemberExpression(e)||n.isOptionalMemberExpression(e)){crawl(e.object,t);if(e.computed)crawl(e.property,t)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){crawl(e.left,t);crawl(e.right,t)}else if(n.isCallExpression(e)||n.isOptionalCallExpression(e)){t.hasCall=true;crawl(e.callee,t)}else if(n.isFunction(e)){t.hasFunction=true}else if(n.isIdentifier(e)){t.hasHelper=t.hasHelper||isHelper(e.callee)}return t}function isHelper(e){if(n.isMemberExpression(e)){return isHelper(e.object)||isHelper(e.property)}else if(n.isIdentifier(e)){return e.name==="require"||e.name[0]==="_"}else if(n.isCallExpression(e)){return isHelper(e.callee)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){return n.isIdentifier(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return n.isLiteral(e)||n.isObjectExpression(e)||n.isArrayExpression(e)||n.isIdentifier(e)||n.isMemberExpression(e)}const s={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return{before:t.hasFunction,after:true}}},SwitchCase(e,t){return{before:e.consequent.length||t.cases[0]===e,after:!e.consequent.length&&t.cases[t.cases.length-1]===e}},LogicalExpression(e){if(n.isFunction(e.left)||n.isFunction(e.right)){return{after:true}}},Literal(e){if(e.value==="use strict"){return{after:true}}},CallExpression(e){if(n.isFunction(e.callee)||isHelper(e)){return{before:true,after:true}}},OptionalCallExpression(e){if(n.isFunction(e.callee)){return{before:true,after:true}}},VariableDeclaration(e){for(let t=0;te.init)},ArrayExpression(e){return e.elements},ObjectExpression(e){return e.properties}};t.list=i;[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach(function([e,t]){if(typeof t==="boolean"){t={after:t,before:t}}[e].concat(n.FLIPPED_ALIAS_KEYS[e]||[]).forEach(function(e){s[e]=function(){return t}})})},79287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(r(19078));var s=_interopRequireWildcard(r(40523));var i=_interopRequireWildcard(r(63760));var a=_interopRequireWildcard(r(52506));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=/e/i;const l=/\.0+$/;const u=/^0[box]/;const c=/^\s*[@#]__PURE__\s*$/;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._insideAux=false;this._printedCommentStarts={};this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new WeakSet;this._endsWithInteger=false;this._endsWithWord=false;this.format=e||{};this._buf=new n.default(t)}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();this._append(";",!e)}rightBrace(){if(this.format.minified){this._buf.removeLastSemicolon()}this.token("}")}space(e=false){if(this.format.compact)return;if(this._buf.hasContent()&&!this.endsWith(" ")&&!this.endsWith("\n")||e){this._space()}}word(e){if(this._endsWithWord||this.endsWith("/")&&e.indexOf("/")===0){this._space()}this._maybeAddAuxComment();this._append(e);this._endsWithWord=true}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!u.test(e)&&!o.test(e)&&!l.test(e)&&e[e.length-1]!=="."}token(e){if(e==="--"&&this.endsWith("!")||e[0]==="+"&&this.endsWith("+")||e[0]==="-"&&this.endsWith("-")||e[0]==="."&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e)}newline(e){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}if(this.endsWith("\n\n"))return;if(typeof e!=="number")e=1;e=Math.min(2,e);if(this.endsWith("{\n")||this.endsWith(":\n"))e--;if(e<=0)return;for(let t=0;t{n.call(this,e,t)});this._printTrailingComments(e);if(o)this.token(")");this._printStack.pop();this.format.concise=r;this._insideAux=a}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e})}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e})}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e==null?void 0:e.length))return;if(r.indent)this.indent();const n={addNewlines:r.addNewlines};for(let s=0;s0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(!i.isEmptyStatement(t)){this.space()}this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(false,e))}_printLeadingComments(e){this._printComments(this._getComments(true,e),true)}printInnerComments(e,t=true){var r;if(!((r=e.innerComments)==null?void 0:r.length))return;if(t)this.indent();this._printComments(e.innerComments);if(t)this.dedent()}printSequence(e,t,r={}){r.statement=true;return this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}return this.printJoin(e,t,r)}_printNewline(e,t,r,n){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}let i=0;if(this._buf.hasContent()){if(!e)i++;if(n.addNewlines)i+=n.addNewlines(e,t)||0;const a=e?s.needsWhitespaceBefore:s.needsWhitespaceAfter;if(a(t,r))i++}this.newline(i)}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e,t){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;this._printedComments.add(e);if(e.start!=null){if(this._printedCommentStarts[e.start])return;this._printedCommentStarts[e.start]=true}const r=e.type==="CommentBlock";const n=r&&!t&&!this._noLineTerminator;if(n&&this._buf.hasContent())this.newline(1);if(!this.endsWith("[")&&!this.endsWith("{"))this.space();let s=!r&&!this._noLineTerminator?`//${e.value}\n`:`/*${e.value}*/`;if(r&&this.format.indent.adjustMultilineComment){var i;const t=(i=e.loc)==null?void 0:i.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");s=s.replace(e,"\n")}const r=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());s=s.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}if(this.endsWith("/"))this._space();this.withSource("start",e.loc,()=>{this._append(s)});if(n)this.newline(1)}_printComments(e,t){if(!(e==null?void 0:e.length))return;if(t&&e.length===1&&c.test(e[0].value)){this._printComment(e[0],this._buf.hasContent()&&!this.endsWith("\n"))}else{for(const t of e){this._printComment(t)}}}printAssertions(e){var t;if((t=e.assertions)==null?void 0:t.length){this.space();this.word("assert");this.space();this.token("{");this.space();this.printList(e.assertions,e);this.space();this.token("}")}}}t.default=Printer;Object.assign(Printer.prototype,a);function commaSeparator(){this.token(",");this.space()}},43575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(r(96241));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class SourceMap{constructor(e,t){this._cachedMap=null;this._code=t;this._opts=e;this._rawMappings=[]}get(){if(!this._cachedMap){const e=this._cachedMap=new n.default.SourceMapGenerator({sourceRoot:this._opts.sourceRoot});const t=this._code;if(typeof t==="string"){e.setSourceContent(this._opts.sourceFileName.replace(/\\/g,"/"),t)}else if(typeof t==="object"){Object.keys(t).forEach(r=>{e.setSourceContent(r.replace(/\\/g,"/"),t[r])})}this._rawMappings.forEach(t=>e.addMapping(t),e)}return this._cachedMap.toJSON()}getRawMappings(){return this._rawMappings.slice()}mark(e,t,r,n,s,i,a){if(this._lastGenLine!==e&&r===null)return;if(!a&&this._lastGenLine===e&&this._lastSourceLine===r&&this._lastSourceColumn===n){return}this._cachedMap=null;this._lastGenLine=e;this._lastSourceLine=r;this._lastSourceColumn=n;this._rawMappings.push({name:s||undefined,generated:{line:e,column:t},source:r==null?undefined:(i||this._opts.sourceFileName).replace(/\\/g,"/"),original:r==null?undefined:{line:r,column:n}})}}t.default=SourceMap},58983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=_interopRequireDefault(r(82016));var s=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _default(e){const{build:t,operator:r}=e;return{AssignmentExpression(e){const{node:i,scope:a}=e;if(i.operator!==r+"=")return;const o=[];const l=(0,n.default)(i.left,o,this,a);o.push(s.assignmentExpression("=",l.ref,t(l.uid,i.right)));e.replaceWith(s.sequenceExpression(o))},BinaryExpression(e){const{node:n}=e;if(n.operator===r){e.replaceWith(t(n.left,n.right))}}}}},81444:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var n=r(62519);var s=r(33625);var i=r(74048);function getInclusionReasons(e,t,r){const a=r[e]||{};return Object.keys(t).reduce((e,r)=>{const o=(0,i.getLowestImplementedVersion)(a,r);const l=t[r];if(!o){e[r]=(0,s.prettifyVersion)(l)}else{const t=(0,i.isUnreleasedVersion)(o,r);const a=(0,i.isUnreleasedVersion)(l,r);if(!a&&(t||n.lt(l.toString(),(0,i.semverify)(o)))){e[r]=(0,s.prettifyVersion)(l)}}return e},{})}},38616:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var n=r(62519);var s=r(72153);var i=r(74048);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const s=r.filter(r=>{const s=(0,i.getLowestImplementedVersion)(t,r);if(!s){return true}const a=e[r];if((0,i.isUnreleasedVersion)(a,r)){return false}if((0,i.isUnreleasedVersion)(s,r)){return true}if(!n.valid(a.toString())){throw new Error(`Invalid version passed for target "${r}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return n.gt((0,i.semverify)(s),a.toString())});return s.length===0}function isRequired(e,t,{compatData:r=s,includes:n,excludes:i}={}){if(i!=null&&i.has(e))return false;if(n!=null&&n.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,n,s,i,a){const o=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,n,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(s){s.forEach(e=>!r.has(e)&&o.add(e))}if(i){i.forEach(e=>!t.has(e)&&o.delete(e))}return o}},34487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return u.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return c.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return p.isRequired}});var n=r(3561);var s=r(88043);var i=r(1335);var a=r(74048);var o=r(58601);var l=r(9451);var u=r(33625);var c=r(81444);var p=r(38616);const f=i["es6.module"];const d=new s.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e)){if(!(r in l.TargetNames)){throw new Error(d.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){d.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[r,n]=t.split(" ");const s=o.browserNameMap[r];if(!s){return e}try{const t=n.split("-")[0].toLowerCase();const i=(0,a.isUnreleasedVersion)(t,r);if(!e[s]){e[s]=i?t:(0,a.semverify)(t);return e}const o=e[s];const l=(0,a.isUnreleasedVersion)(o,r);if(l&&i){e[s]=(0,a.getLowestUnreleased)(o,t,r)}else if(l){e[s]=(0,a.semverify)(t)}else if(!l&&!i){const r=(0,a.semverify)(t);e[s]=(0,a.semverMin)(o,r)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(r){throw new Error(d.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const h={__default(e,t){const r=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]},node(e,t){const r=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,r]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=n(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var r;let{browsers:s,esmodules:i}=e;const{configPath:o="."}=t;validateBrowsers(s);const l=generateTargets(e);let u=validateTargetNames(l);const c=!!s;const p=c||Object.keys(u).length>0;const d=!t.ignoreBrowserslistConfig&&!p;if(!s&&d){s=n.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(s==null){{s=[]}}}if(i&&(i!=="intersect"||!((r=s)!=null&&r.length))){s=Object.keys(f).map(e=>`${e} >= ${f[e]}`).join(", ");i=false}if(s){const e=resolveTargets(s);if(i==="intersect"){for(const t of Object.keys(e)){const r=e[t];if(f[t]){e[t]=(0,a.getHighestUnreleased)(r,(0,a.semverify)(f[t]),t)}else{delete e[t]}}}u=Object.assign(e,u)}const y={};const m=[];for(const e of Object.keys(u).sort()){var g;const t=u[e];if(typeof t==="number"&&t%1!==0){m.push({target:e,value:t})}const r=(g=h[e])!=null?g:h.__default;const[n,s]=r(e,t);if(s){y[n]=s}}outputDecimalWarning(m);return y}},9451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung"};t.TargetNames=r},33625:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var n=r(62519);var s=r(58601);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[n.major(e)];const r=n.minor(e);const s=n.patch(e);if(r||s){t.push(r)}if(s){t.push(s)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];const i=s.unreleasedLabels[r];if(typeof n==="string"&&i!==n){n=prettifyVersion(n)}t[r]=n;return t},{})}},58601:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const n={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=n},74048:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var n=r(62519);var s=r(88043);var i=r(58601);const a=/^(\d+|\d+.\d+)$/;const o=new s.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&n.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&n.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const r=i.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const n=i.unreleasedLabels[r];const s=[e,t].some(e=>e===n);if(s){return e===s?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},55695:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findSuggestion=findSuggestion;const{min:r}=Math;function levenshtein(e,t){let n=[],s=[],i,a;const o=e.length,l=t.length;if(!o){return l}if(!l){return o}for(a=0;a<=l;a++){n[a]=a}for(i=1;i<=o;i++){for(s=[i],a=1;a<=l;a++){s[a]=e[i-1]===t[a-1]?n[a-1]:r(n[a-1],n[a],s[a-1])+1}n=s}return s[l]}function findSuggestion(e,t){const n=t.map(t=>levenshtein(t,e));return t[n.indexOf(r(...n))]}},88043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"OptionValidator",{enumerable:true,get:function(){return n.OptionValidator}});Object.defineProperty(t,"findSuggestion",{enumerable:true,get:function(){return s.findSuggestion}});var n=r(37095);var s=r(55695)},37095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionValidator=void 0;var n=r(55695);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,t){const r=Object.keys(t);for(const t of Object.keys(e)){if(!r.includes(t)){throw new Error(this.formatMessage(`'${t}' is not a valid top-level option.\n- Did you mean '${(0,n.findSuggestion)(t,r)}'?`))}}}validateBooleanOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="boolean",`'${e}' option must be a boolean.`)}return t}validateStringOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="string",`'${e}' option must be a string.`)}return t}invariant(e,t){if(!e){throw new Error(this.formatMessage(t))}}formatMessage(e){return`${this.descriptor}: ${e}`}}t.OptionValidator=OptionValidator},60060:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enableFeature=enableFeature;t.hasFeature=hasFeature;t.runtimeKey=t.featuresKey=t.FEATURES=void 0;const r=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3});t.FEATURES=r;const n="@babel/plugin-regexp-features/featuresKey";t.featuresKey=n;const s="@babel/plugin-regexp-features/runtimeKey";t.runtimeKey=s;function enableFeature(e,t){return e|t}function hasFeature(e,t){return!!(e&t)}},36610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var n=_interopRequireDefault(r(4864));var s=r(60060);var i=r(27185);var a=_interopRequireDefault(r(21622));var o=r(85850);var l=r(4317);var u=_interopRequireDefault(r(69792));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const c=a.default.version.split(".").reduce((e,t)=>e*1e5+ +t,0);const p="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:t,options:r={}}){return{name:e,pre(){var e;const{file:n}=this;const i=(e=n.get(s.featuresKey))!=null?e:0;let a=(0,s.enableFeature)(i,s.FEATURES[t]);const{useUnicodeFlag:o,runtime:l=true}=r;if(o===false){a=(0,s.enableFeature)(a,s.FEATURES.unicodeFlag)}if(a!==i){n.set(s.featuresKey,a)}if(!l){n.set(s.runtimeKey,false)}if(!n.has(p)||n.get(p){d[e]=t})}r.pattern=(0,n.default)(r.pattern,r.flags,f);if(f.namedGroup&&Object.keys(d).length>0&&p&&!isRegExpTest(e)){const t=o.types.callExpression(this.addHelper("wrapRegExp"),[r,o.types.valueToNode(d)]);(0,u.default)(t);e.replaceWith(t)}if((0,s.hasFeature)(c,s.FEATURES.unicodeFlag)){(0,l.pullFlag)(r,"u")}if((0,s.hasFeature)(c,s.FEATURES.dotAllFlag)){(0,l.pullFlag)(r,"s")}}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},27185:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.generateRegexpuOptions=generateRegexpuOptions;var n=r(60060);function generateRegexpuOptions(e,t){let r=false,s=false,i=false,a=false;const{flags:o,pattern:l}=e;const u=o.includes("u");if(u){if(!(0,n.hasFeature)(t,n.FEATURES.unicodeFlag)){r=true}if((0,n.hasFeature)(t,n.FEATURES.unicodePropertyEscape)&&/\\[pP]{/.test(l)){i=true}}if((0,n.hasFeature)(t,n.FEATURES.dotAllFlag)&&o.indexOf("s")>=0){s=true}if((0,n.hasFeature)(t,n.FEATURES.namedCaptureGroups)&&/\(\?<(?![=!])/.test(l)){a=true}if(!a&&!i&&!s&&(!u||r)){return null}if(u&&o.indexOf("s")>=0){s=true}return{useUnicodeFlag:r,onNamedGroup:()=>{},namedGroup:a,unicodePropertyEscape:i,dotAllFlag:s,lookbehind:true}}},69792:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=annotateAsPure;var n=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}const s="#__PURE__";const i=({leadingComments:e})=>!!e&&e.some(e=>/[@#]__PURE__/.test(e.value));function annotateAsPure(e){const t=e["node"]||e;if(i(t)){return}n.addComment(t,"leading",s)}},88076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.push=push;t.hasComputed=hasComputed;t.toComputedObjectFromClass=toComputedObjectFromClass;t.toClassObject=toClassObject;t.toDefineObject=toDefineObject;var n=_interopRequireDefault(r(98733));var s=_interopRequireDefault(r(58997));var i=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function toKind(e){if(i.isClassMethod(e)||i.isObjectMethod(e)){if(e.kind==="get"||e.kind==="set"){return e.kind}}return"value"}function push(e,t,r,a,o){const l=i.toKeyAlias(t);let u={};if((0,s.default)(e,l))u=e[l];e[l]=u;u._inherits=u._inherits||[];u._inherits.push(t);u._key=t.key;if(t.computed){u._computed=true}if(t.decorators){const e=u.decorators=u.decorators||i.arrayExpression([]);e.elements=e.elements.concat(t.decorators.map(e=>e.expression).reverse())}if(u.value||u.initializer){throw a.buildCodeFrameError(t,"Key conflict with sibling node")}let c,p;if(i.isObjectProperty(t)||i.isObjectMethod(t)||i.isClassMethod(t)){c=i.toComputedKey(t,t.key)}if(i.isProperty(t)){p=t.value}else if(i.isObjectMethod(t)||i.isClassMethod(t)){p=i.functionExpression(null,t.params,t.body,t.generator,t.async);p.returnType=t.returnType}const f=toKind(t);if(!r||f!=="value"){r=f}if(o&&i.isStringLiteral(c)&&(r==="value"||r==="initializer")&&i.isFunctionExpression(p)){p=(0,n.default)({id:c,node:p,scope:o})}if(p){i.inheritsComments(p,t);u[r]=p}return u}function hasComputed(e){for(const t of Object.keys(e)){if(e[t]._computed){return true}}return false}function toComputedObjectFromClass(e){const t=i.arrayExpression([]);for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function getObjRef(e,t,r,s){let i;if(n.isSuper(e)){return e}else if(n.isIdentifier(e)){if(s.hasBinding(e.name)){return e}else{i=e}}else if(n.isMemberExpression(e)){i=e.object;if(n.isSuper(i)||n.isIdentifier(i)&&s.hasBinding(i.name)){return i}}else{throw new Error(`We can't explode this node type ${e.type}`)}const a=s.generateUidIdentifierBasedOnNode(i);s.push({id:a});t.push(n.assignmentExpression("=",n.cloneNode(a),n.cloneNode(i)));return a}function getPropRef(e,t,r,s){const i=e.property;const a=n.toComputedKey(e,i);if(n.isLiteral(a)&&n.isPureish(a))return a;const o=s.generateUidIdentifierBasedOnNode(i);s.push({id:o});t.push(n.assignmentExpression("=",n.cloneNode(o),n.cloneNode(i)));return o}function _default(e,t,r,s,i){let a;if(n.isIdentifier(e)&&i){a=e}else{a=getObjRef(e,t,r,s)}let o,l;if(n.isIdentifier(e)){o=n.cloneNode(e);l=a}else{const i=getPropRef(e,t,r,s);const u=e.computed||n.isLiteral(i);l=n.memberExpression(n.cloneNode(a),n.cloneNode(i),u);o=n.memberExpression(n.cloneNode(a),n.cloneNode(i),u)}return{uid:l,ref:o}}},98733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=_interopRequireDefault(r(45162));var s=_interopRequireDefault(r(36900));var i=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=(0,s.default)(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const o=(0,s.default)(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const l={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const r=e.scope.getBindingIdentifier(t.name);if(r!==t.outerDeclar)return;t.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(i.isNullLiteral(e)){return"null"}if(i.isRegExpLiteral(e)){return`_${e.pattern}_${e.flags}`}if(i.isTemplateLiteral(e)){return e.quasis.map(e=>e.value.raw).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,t,r,s){if(e.selfReference){if(s.hasBinding(r.name)&&!s.hasGlobal(r.name)){s.rename(r.name)}else{if(!i.isFunction(t))return;let e=a;if(t.generator){e=o}const l=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:s.generateUidIdentifier(r.name)}).expression;const u=l.callee.body.body[0].params;for(let e=0,r=(0,n.default)(t);e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=hoistVariables;var n=r(52949);const s={Scope(e,t){if(t.kind==="let")e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;const r=[];const s=e.get("declarations");let i;for(const e of s){i=e.node.id;if(e.node.init){r.push(n.expressionStatement(n.assignmentExpression("=",e.node.id,e.node.init)))}for(const r of Object.keys(e.getBindingIdentifiers())){t.emit(n.identifier(r),r,e.node.init!==null)}}if(e.parentPath.isFor({left:e.node})){e.replaceWith(i)}else{e.replaceWithMultiple(r)}}};function hoistVariables(e,t,r="var"){e.traverse(s,{kind:r,emit:t})}},84038:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(84038);var s=r(25766)},25766:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},97890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(27494);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},50029:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(27052);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},47836:()=>{},49239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(41630);var s=r(62473);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(32446);var s=r(65375);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},96670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(32446);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},32446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(49239);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},45482:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(32446)},37059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(98338);var s=r(96568);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(32446);var s=r(71408);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},79354:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(63126);function clone(e){return(0,n.default)(e,false)}},78393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(63126);function cloneDeep(e){return(0,n.default)(e)}},65137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(63126);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},63126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(41630);var s=r(98338);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},77149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(63126);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},53873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(95e3);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},95000:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},12368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(80191);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},8389:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(80191);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},95871:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(80191);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},42290:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(95871);var s=r(8389);var i=r(12368);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},56101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(48427);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},39987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(41630);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const c=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=c;const p=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const h=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=h;const y=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const g=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=g;const b=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=b;const T=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=T;const v=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=v;const x=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=x;const E=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=E;const S=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=S;const P=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=P;const w=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=w;const A=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=O;const _=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=_;const C=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const D=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=D;const I=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=I;const k=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=k;const N=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=N;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const R=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=R;const F=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=F;const L=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=L;const B=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=B;const q=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=q;const W=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=W;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const K=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=V;const $=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=$;const J=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=Y;const X=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=X},48427:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const c=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=c;const p=[...c,...l];t.BOOLEAN_BINARY_OPERATORS=p;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...p];t.BINARY_OPERATORS=d;const h=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=h;const y=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=y;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const g=["typeof"];t.STRING_UNARY_OPERATORS=g;const b=["void","throw",...y,...m,...g];t.UNARY_OPERATORS=b;const T={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=T;const v=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=v;const x=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=x},17414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(38259);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},45793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(38242);var s=r(98338);var i=r(32446);var a=r(63126);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},67398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(88986);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},38259:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(98338);var s=r(32446);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},50420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(98338);var s=r(32446);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},68461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98338);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},88986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(5889);var s=r(43044);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},52985:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(98338);var s=r(63126);var i=r(29113);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},31532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(45793);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},62292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98338);var s=r(32446);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},26831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(5889);var s=r(32446);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},1601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(27052);var s=r(5889);var i=r(43044);var a=r(48427);var o=r(71478);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const c=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=c;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},c,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const p={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=p;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},p,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},p,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.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";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},15030:(e,t,r)=>{"use strict";var n=r(71478);var s=r(1601);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},5158:(e,t,r)=>{"use strict";var n=r(71478);const s=(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")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("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")}});s("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:false},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"))}})},41630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(1601);r(5158);r(86506);r(40749);r(15030);r(26861);var s=r(71478);var i=r(24465);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},86506:(e,t,r)=>{"use strict";var n=r(71478);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},40749:(e,t,r)=>{"use strict";var n=r(71478);var s=r(24465);{(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)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},24465:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(71478);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},26861:(e,t,r)=>{"use strict";var n=r(71478);var s=r(1601);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),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,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),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 p={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},p,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},p,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(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)(i)}});(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:i,default:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),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)(i),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)(i),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)(i),const:(0,n.validateOptional)(i),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)(i),global:(0,n.validateOptional)(i),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)(i),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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},71478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(27052);var s=r(62473);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const c={};t.DEPRECATED_KEYS=c;const p={};t.NODE_PARENT_VALIDATIONS=p;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&h[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const y=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){c[t.deprecatedAlias]=e}for(const e of s.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=y;y.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){p[e]=t.validate}h[e]=t}const h={}},52949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return I.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(50774);var i=r(25424);var a=r(37059);var o=r(97890);var l=r(50029);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(96670);var c=r(46536);var p=r(30338);var f=r(32446);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(45482);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var h=r(63126);var y=r(79354);var m=r(78393);var g=r(65137);var b=r(77149);var T=r(53873);var v=r(95e3);var x=r(12368);var E=r(8389);var S=r(42290);var P=r(95871);var w=r(56101);var A=r(39987);Object.keys(A).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===A[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return A[e]}})});var O=r(48427);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var _=r(17414);var C=r(67398);var j=r(38259);var D=r(50420);var I=r(68461);var k=r(88986);var N=r(52985);var M=r(31532);var R=r(62292);var F=r(26831);var L=r(41630);Object.keys(L).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===L[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return L[e]}})});var B=r(55648);var q=r(31396);var W=r(59566);var U=r(52109);var K=r(29113);var V=r(65375);var $=r(38242);var J=r(75279);var Y=r(68611);Object.keys(Y).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===Y[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return Y[e]}})});var X=r(65542);var H=r(24228);var z=r(27052);var G=r(34122);var Q=r(68179);var Z=r(44675);var ee=r(79826);var te=r(27494);var re=r(92251);var ne=r(1748);var se=r(63292);var ie=r(28527);var ae=r(55747);var oe=r(23480);var le=r(91583);var ue=r(5889);var ce=r(85097);var pe=r(27637);var fe=r(62473);var de=r(58503);var he=r(98338);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});var ye=r(47836);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});const me={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=me},55648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(32446);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},65375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(98338);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},31396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(48427);var s=r(42290);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},59566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(32446);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},52109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(48427);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},29113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(65542);var s=r(52109);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},71408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(98338);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},38242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(98338);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(38242);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},68611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(41630);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(41630);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},80191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},96568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(32446);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},58503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(27637);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},98338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(24228);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},27052:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(24228);var s=r(23480);var i=r(1748);var a=r(41630);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},34122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(38242);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},68179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(98338);var s=r(79826);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},44675:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(23480);var s=r(98338);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},79826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(98338);var s=r(48427);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},27494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(41630);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},92251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(41630);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(41630);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},63292:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},28527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(98338);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},55747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(98338);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},23480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(41630);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},91583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(5889);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},5889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(43044);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},85097:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(98338);var s=r(48427);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},27637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(98338);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},50774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(58503);const s=(0,n.default)("React.Component");var i=s;t.default=i},62473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(41630);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},44756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=memberExpressionToFunctions;var n=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}class AssignmentMemoiser{constructor(){this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:r}=t;t.count--;if(t.count===0){return n.assignmentExpression("=",r,e)}return r}set(e,t,r){return this._map.set(e,{count:r,value:t})}}function toNonOptional(e,t){const{node:r}=e;if(e.isOptionalMemberExpression()){return n.memberExpression(t,r.property,r.computed)}if(e.isOptionalCallExpression()){const s=e.get("callee");if(e.node.optional&&s.isOptionalMemberExpression()){const{object:i}=s.node;const a=e.scope.maybeGenerateMemoised(i)||i;s.get("object").replaceWith(n.assignmentExpression("=",a,i));return n.callExpression(n.memberExpression(t,n.identifier("call")),[a,...r.arguments])}return n.callExpression(t,r.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:r,listKey:n}=e;const s=t.node;if(n){if(r!==s[n])return true}else{if(r!==s)return true}e=t}return false}const s={memoise(){},handle(e){const{node:t,parent:r,parentPath:s,scope:i}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const a=e.find(({node:t,parent:r,parentPath:n})=>{if(n.isOptionalMemberExpression()){return r.optional||r.object!==t}if(n.isOptionalCallExpression()){return t!==e.node&&r.optional||r.callee!==t}return true});if(i.path.isPattern()){a.replaceWith(n.callExpression(n.arrowFunctionExpression([],a.node),[]));return}const o=a.parentPath;if(o.isUpdateExpression({argument:t})||o.isAssignmentExpression({left:t})){throw e.buildCodeFrameError(`can't handle assignment`)}const l=o.isUnaryExpression({operator:"delete"});if(l&&a.isOptionalMemberExpression()&&a.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let u=e;for(;;){if(u.isOptionalMemberExpression()){if(u.node.optional)break;u=u.get("object");continue}else if(u.isOptionalCallExpression()){if(u.node.optional)break;u=u.get("callee");continue}throw new Error(`Internal error: unexpected ${u.node.type}`)}const c=u.isOptionalMemberExpression()?"object":"callee";const p=u.node[c];const f=i.maybeGenerateMemoised(p);const d=f!=null?f:p;const h=s.isOptionalCallExpression({callee:t});const y=s.isCallExpression({callee:t});u.replaceWith(toNonOptional(u,d));if(h){if(r.optional){s.replaceWith(this.optionalCall(e,r.arguments))}else{s.replaceWith(this.call(e,r.arguments))}}else if(y){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let m=e.node;for(let t=e;t!==a;){const{parentPath:e}=t;if(e===a&&h&&r.optional){m=e.node;break}m=toNonOptional(e,m);t=e}let g;const b=a.parentPath;if(n.isMemberExpression(m)&&b.isOptionalCallExpression({callee:a.node,optional:true})){const{object:t}=m;g=e.scope.maybeGenerateMemoised(t);if(g){m.object=n.assignmentExpression("=",g,t)}}let T=a;if(l){T=b;m=b.node}T.replaceWith(n.conditionalExpression(n.logicalExpression("||",n.binaryExpression("===",f?n.assignmentExpression("=",n.cloneNode(d),n.cloneNode(p)):n.cloneNode(d),n.nullLiteral()),n.binaryExpression("===",n.cloneNode(d),i.buildUndefinedNode())),l?n.booleanLiteral(true):i.buildUndefinedNode(),m));if(g){const e=b.node;b.replaceWith(n.optionalCallExpression(n.optionalMemberExpression(e.callee,n.identifier("call"),false,true),[n.cloneNode(g),...e.arguments],false))}return}if(s.isUpdateExpression({argument:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:i,prefix:a}=r;this.memoise(e,2);const o=n.binaryExpression(i[0],n.unaryExpression("+",this.get(e)),n.numericLiteral(1));if(a){s.replaceWith(this.set(e,o))}else{const{scope:r}=e;const i=r.generateUidIdentifierBasedOnNode(t);r.push({id:i});o.left=n.assignmentExpression("=",n.cloneNode(i),o.left);s.replaceWith(n.sequenceExpression([this.set(e,o),n.cloneNode(i)]))}return}if(s.isAssignmentExpression({left:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:i}=r;if(t==="="){s.replaceWith(this.set(e,i))}else{const r=t.slice(0,-1);if(n.LOGICAL_OPERATORS.includes(r)){this.memoise(e,1);s.replaceWith(n.logicalExpression(r,this.get(e),this.set(e,i)))}else{this.memoise(e,2);s.replaceWith(this.set(e,n.binaryExpression(r,this.get(e),i)))}}return}if(s.isCallExpression({callee:t})){s.replaceWith(this.call(e,r.arguments));return}if(s.isOptionalCallExpression({callee:t})){if(i.path.isPattern()){s.replaceWith(n.callExpression(n.arrowFunctionExpression([],s.node),[]));return}s.replaceWith(this.optionalCall(e,r.arguments));return}if(s.isForXStatement({left:t})||s.isObjectProperty({value:t})&&s.parentPath.isObjectPattern()||s.isAssignmentPattern({left:t})&&s.parentPath.isObjectProperty({value:r})&&s.parentPath.parentPath.isObjectPattern()||s.isArrayPattern()||s.isAssignmentPattern({left:t})&&s.parentPath.isArrayPattern()||s.isRestElement()){e.replaceWith(this.destructureSet(e));return}e.replaceWith(this.get(e))}};function memberExpressionToFunctions(e,t,r){e.traverse(t,Object.assign({},s,r,{memoiser:new AssignmentMemoiser}))}},89812:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(r(42357));var s=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(s.importDeclaration([],s.stringLiteral(this._importedSource)));return this}require(){this._statements.push(s.expressionStatement(s.callExpression(s.identifier("require"),[s.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];(0,n.default)(t.type==="ImportDeclaration");(0,n.default)(t.specifiers.length===0);t.specifiers=[s.importNamespaceSpecifier(e)];this._resultName=s.cloneNode(e);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];(0,n.default)(t.type==="ImportDeclaration");(0,n.default)(t.specifiers.length===0);t.specifiers=[s.importDefaultSpecifier(e)];this._resultName=s.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];(0,n.default)(r.type==="ImportDeclaration");(0,n.default)(r.specifiers.length===0);r.specifiers=[s.importSpecifier(e,s.identifier(t))];this._resultName=s.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){(0,n.default)(this._resultName);t=s.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=s.variableDeclaration("var",[s.variableDeclarator(e,t.expression)]);this._resultName=s.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){(0,n.default)(t.declarations.length===1);t.declarations[0].init=s.callExpression(e,[t.declarations[0].init])}else{n.default.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.memberExpression(t.expression,s.identifier(e))}else if(t.type==="VariableDeclaration"){(0,n.default)(t.declarations.length===1);t.declarations[0].init=s.memberExpression(t.declarations[0].init,s.identifier(e))}else{n.default.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=s.memberExpression(this._resultName,s.identifier(e))}}t.default=ImportBuilder},66323:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(r(42357));var s=_interopRequireWildcard(r(63760));var i=_interopRequireDefault(r(89812));var a=_interopRequireDefault(r(29786));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){(0,n.default)(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const s=[];if(typeof e==="string"){s.push({importedSource:e});s.push(t)}else{(0,n.default)(!t,"Unexpected secondary arguments.");s.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of s){if(!e)continue;Object.keys(i).forEach(t=>{if(e[t]!==undefined)i[t]=e[t]});if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:c,importingInterop:p,ensureLiveReference:f,ensureNoContext:d,nameHint:h,blockHoist:y}=e;let m=h||t;const g=(0,a.default)(this._programPath);const b=g&&p==="node";const T=g&&p==="babel";const v=new i.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!T){throw new Error("Cannot import an ES6 module from CommonJS")}v.import();if(o){v.namespace(h||l)}else if(r||n){v.named(m,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(c==="babel"){if(b){m=m!=="default"?m:l;const e=`${l}$es6Default`;v.import();if(o){v.default(e).var(m||l).wildcardInterop()}else if(r){if(f){v.default(e).var(m||l).defaultInterop().read("default")}else{v.default(e).var(m).defaultInterop().prop(t)}}else if(n){v.default(e).read(t)}}else if(T){v.import();if(o){v.namespace(m||l)}else if(r||n){v.named(m,t)}}else{v.require();if(o){v.var(m||l).wildcardInterop()}else if((r||n)&&f){if(r){m=m!=="default"?m:l;v.var(m).read(t);v.defaultInterop()}else{v.var(l).read(t)}}else if(r){v.var(m).defaultInterop().prop(t)}else if(n){v.var(m).prop(t)}}}else if(c==="compiled"){if(b){v.import();if(o){v.default(m||l)}else if(r||n){v.default(l).read(m)}}else if(T){v.import();if(o){v.namespace(m||l)}else if(r||n){v.named(m,t)}}else{v.require();if(o){v.var(m||l)}else if(r||n){if(f){v.var(l).read(m)}else{v.prop(t).var(m)}}}}else if(c==="uncompiled"){if(r&&f){throw new Error("No live reference for commonjs default")}if(b){v.import();if(o){v.default(m||l)}else if(r){v.default(m)}else if(n){v.default(l).read(m)}}else if(T){v.import();if(o){v.default(m||l)}else if(r){v.default(m)}else if(n){v.named(m,t)}}else{v.require();if(o){v.var(m||l)}else if(r){v.var(m)}else if(n){if(f){v.var(l).read(m)}else{v.var(m).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${c}".`)}const{statements:x,resultName:E}=v.done();this._insertStatements(x,y);if((r||n)&&d&&E.type!=="Identifier"){return s.sequenceExpression([s.numericLiteral(0),E])}return E}_insertStatements(e,t=3){e.forEach(e=>{e._blockHoist=t});const r=this._programPath.get("body").find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(r){r.insertBefore(e)}else{this._programPath.unshiftContainer("body",e)}}}t.default=ImportInjector},76098:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=_interopRequireDefault(r(66323));var s=_interopRequireDefault(r(29786));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},29786:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},50500:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;function getModuleName(e,t){var r,n,s;const{filename:i,filenameRelative:a=i,sourceRoot:o=((r=t.moduleRoot)!=null?r:e.moduleRoot)}=e;const{moduleId:l=e.moduleId,moduleIds:u=((n=e.moduleIds)!=null?n:!!l),getModuleId:c=e.getModuleId,moduleRoot:p=((s=e.moduleRoot)!=null?s:o)}=t;if(!u)return null;if(l!=null&&!c){return l}let f=p!=null?p+"/":"";if(a){const e=o!=null?new RegExp("^"+o+"/?"):"";f+=a.replace(e,"").replace(/\.(\w*?)$/,"")}f=f.replace(/\\/g,"/");if(c){return c(f)||f}else{return f}}},8580:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return o.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return c.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return c.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=_interopRequireDefault(r(42357));var s=_interopRequireWildcard(r(63760));var i=_interopRequireDefault(r(36900));var a=_interopRequireDefault(r(80573));var o=r(76098);var l=_interopRequireDefault(r(76813));var u=_interopRequireDefault(r(54288));var c=_interopRequireWildcard(r(30206));var p=_interopRequireDefault(r(50500));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function rewriteModuleStatementsAndPrepareHeader(e,{exportName:t,strict:r,allowTopLevelThis:i,strictMode:a,loose:p,noInterop:f,lazy:d,esNamespaceOnly:h}){(0,n.default)((0,o.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const y=(0,c.default)(e,t,{noInterop:f,loose:p,lazy:d,esNamespaceOnly:h});if(!i){(0,l.default)(e)}(0,u.default)(e,y);if(a!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",s.directive(s.directiveLiteral("use strict")))}}const m=[];if((0,c.hasExports)(y)&&!r){m.push(buildESModuleHeader(y,p))}const g=buildExportNameListDeclaration(e,y);if(g){y.exportNameListName=g.name;m.push(g.statement)}m.push(...buildExportInitializationStatements(e,y,p));return{meta:y,headers:m}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return s.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=s.identifier(t.name);if(t.lazy)a=s.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(i.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:s.cloneNode(a)}))}if(r){n.push(...d(e,t,r))}for(const r of t.reexportNamespace){n.push((t.lazy?i.default.statement` - Object.defineProperty(EXPORTS, "NAME", { - enumerable: true, - get: function() { - return NAMESPACE; - } - }); - `:i.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:s.cloneNode(a)}))}if(t.reexportAll){const i=buildNamespaceReexport(e,s.cloneNode(a),r);i.loc=t.reexportAll.loc;n.push(i)}return n}const f={loose:i.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,looseComputed:i.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,i.default)` - Object.defineProperty(EXPORTS, "EXPORT_NAME", { - enumerable: true, - get: function() { - return NAMESPACE_IMPORT; + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:s,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=s.get(o);if(l){const t=e.scope.getBinding(o);const s=n.getBinding(o);if(s!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(u)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:s,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const c=e.get("left");if(c.isMemberExpression())return;if(c.isIdentifier()){const r=c.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const f=a.get(r);const d=s.get(r);if((f==null?void 0:f.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=i.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,f,t));o(e)}}else{const r=c.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>s.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,u(p)])}const f=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){f.push(l(this.metadata,t,i.identifier(e)))}});if(f.length>0){let t=i.sequenceExpression(f);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:s,scope:a}=this;if(!i.isVariableDeclaration(n)){let r=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(n))){if(s.get(e)&&a.getBinding(e)===t.getBinding(e)){r=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!r){return}const u=t.generateUidIdentifierBasedOnNode(n);o.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",n,u)));e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(u))]));t.registerDeclaration(e.get("left"))}}}},84748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(846);var i=r(58941);var s=r(79584);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(s.unaryExpression("void",s.numericLiteral(0),true))}}])},63535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(79584);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const i=e.get("argument");if(!i.isIdentifier())return;const s=i.node.name;if(!r.has(s))return;if(t.getBinding(s)!==e.scope.getBinding(s)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,i.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(s),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",i.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const r=t.name;e.scope.push({id:t});const s=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",i.node)),n.assignmentExpression("=",n.cloneNode(i.node),s),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:i}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const s=e.get("left");if(!s.isIdentifier())return;const a=s.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=n.binaryExpression(e.node.operator.slice(0,-1),n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},63880:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(63880);var i=r(44730)},44730:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},94917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var i=r(85531);var s=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=i}}return r}function shouldHighlight(e){return!!s.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new s.constructor({enabled:true,level:1}):s}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},58157:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const i=true;const s=true;const a=true;const o=true;class TokenType{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=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:s}),assign:new TokenType("_=",{beforeExpr:r,isAssign:s}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:s}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:i,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const c=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const f=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(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 true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{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}}function getLineInfo(e,t){let r=1;let n=0;let i;c.lastIndex=0;while((i=c.exec(e))&&i.index0){n=t[--i]}if(n===null){return}for(let e=0;e0){n.trailingComments=s}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,i,s,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){i=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){i=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(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(last(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){break}}const t=this.state.leadingComments.slice(0,s);if(t.length){e.leadingComments=t}i=this.state.leadingComments.slice(s);if(i.length===0){i=null}}}this.state.commentPreviousNode=e;if(i){if(i.length&&i[0].start>=e.start&&last(i).end<=e.end){e.innerComments=i}else{const t=i.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=i.slice(0,t);e.trailingComments=i.slice(t)}else{e.trailingComments=i}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const y=makeErrorTemplates({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."},d.SyntaxError);const h=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...i){return this.raiseWithData(e,{code:t,reasonCode:r},n,...i)}raiseOverwrite(e,{code:t,template:r},...n){const i=this.getLocationForPosition(e);const s=r.replace(/%(\d+)/g,(e,t)=>n[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})}else 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);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);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);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return 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",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,i,s,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,i,s,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(s==="ClassPrivateMethod"){e.computed=false}s="MethodDefinition";return this.finishNode(e,s)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,i){const s=super.parseObjectMethod(e,t,r,n,i);if(s){s.type="Property";if(s.kind==="method")s.kind="init";s.shorthand=false}return s}parseObjectProperty(e,t,r,n,i){const s=super.parseObjectProperty(e,t,r,n,i);if(s){s.kind="init";s.type="Property"}return s}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,y.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,y.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,i){const s=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if(s.type==="OptionalMemberExpression"||s.type==="OptionalCallExpression"){s.type=s.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(s);e.expression=s;return this.finishNode(e,"ChainExpression")}}else if(s.type==="MemberExpression"||s.type==="CallExpression"){s.optional=false}return s}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const T={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(T.brace)});u.dollarBraceL.updateContext=(e=>{e.push(T.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===T.template){e.pop()}else{e.push(T.template)}});let S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const E=new RegExp("["+S+"]");const g=new RegExp("["+S+b+"]");S=b=null;const x=[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];const P=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,x)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&g.test(String.fromCharCode(e))}return isInAstralSet(e,x)||isInAstralSet(e,P)}const A={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const v=new Set(A.keyword);const O=new Set(A.strict);const I=new Set(A.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||O.has(e)}function isStrictBindOnlyReservedWord(e){return I.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return v.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const w=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return w.has(e)}const D=0,N=1,C=2,j=4,_=8,L=16,k=32,B=64,M=128,F=256,R=N|C|F;const K=1,V=2,U=4,X=8,J=16,Y=64,W=128,q=256,z=512,H=1024,G=2048;const $=K|V|X|W,Q=K|0|X|0,Z=K|0|U|0,ee=K|0|J|0,te=0|V|0|W,re=0|V|0|0,ne=K|V|X|q,ie=0|0|0|H,se=0|0|0|Y,ae=K|0|0|Y,oe=ne|z,le=0|0|0|H,ue=G;const pe=4,ce=2,fe=1,de=ce|fe;const ye=ce|pe,he=fe|pe,me=ce,Te=fe,Se=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&C)>0}get allowSuper(){return(this.currentThisScopeFlags()&L)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&k)>0}get inClass(){return(this.currentThisScopeFlags()&B)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&B)>0&&(e&C)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&M)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&C)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&C||!this.inModule&&e.flags&N)}declareName(e,t,r){let n=this.currentScope();if(t&X||t&J){this.checkRedeclarationInScope(n,e,t,r);if(t&J){n.functions.add(e)}else{n.lexical.add(e)}if(t&X){this.maybeExportDefined(n,e)}}else if(t&U){for(let i=this.scopeStack.length-1;i>=0;--i){n=this.scopeStack[i];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&R)break}}if(this.inModule&&n.flags&N){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&N){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,y.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&K))return false;if(r&X){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&J){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&_&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(R|B)&&!(t&j)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&G){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&G){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const be=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const Ee=makeErrorTemplates({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."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const ge={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=xe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Ee.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const i=this.flowParseFunctionTypeParams();r.params=i.params;r.rest=i.rest;r.this=i._this;this.expect(u.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,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Ee.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(D);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Ee.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Ee.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let i=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,Ee.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="CommonJS";i=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=ge[e];throw this.raise(this.state.start,Ee.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Ee.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!be.has(e))return;this.raise(t,r?Ee.AssignReservedType:Ee.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();r.name=i.name;r.variance=n;r.bound=i.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Ee.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:i}){const s=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let s=null;let o=null;const c=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();s=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const f=this.flowParseVariance();if(this.eat(u.bracketL)){if(s!=null){this.unexpected(s)}if(this.eat(u.bracketL)){if(f){this.unexpected(f.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(c,t,f))}}else if(this.match(u.parenL)||this.isRelational("<")){if(s!=null){this.unexpected(s)}if(f){this.unexpected(f.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(c,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(c,t,s,f,e,r,i!=null?i:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Ee.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const c=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=s;return c}flowParseObjectTypeProperty(e,t,r,n,i,s,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!s){this.raise(this.state.lastTokStart,Ee.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Ee.InexactInsideExact)}if(n){this.raise(n.start,Ee.InexactVariance)}return null}if(!s){this.raise(this.state.lastTokStart,Ee.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Ee.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!s&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Ee.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Ee.GetterMayNotHaveThisParam:Ee.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,y.BadGetterArity)}else{this.raise(r,y.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,y.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.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(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}this.expect(u.question);const i=this.state.clone();const s=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,c]=this.getArrowLikeExpressions(o);if(l||c.length>0){const e=[...s];if(c.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,Ee.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=s;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(C|j);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(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=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Ee.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Ee.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,y.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&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 false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,Ee.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const i=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,s){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,i,s);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Ee.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Ee.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,i,s,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,i,s,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Ee.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Ee.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),i);if(!s.error)return s.node;const{context:n}=this.state;if(n[n.length-1]===T.j_oTag){n.length-=2}else if(n[n.length-1]===T.j_expr){n.length-=1}}if((n=s)!=null&&n.error||this.isRelational("<")){var a,o;i=i||this.state.clone();let n;const l=this.tryParse(i=>{var s;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const i=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(i,n);return i});if(a.type!=="ArrowFunctionExpression"&&(s=a.extra)!=null&&s.parenthesized){i()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},i);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,Ee.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=s)!=null&&a.node){this.state=s.failState;return s.node}if(u){this.state=l.failState;return u}if((o=s)!=null&&o.thrown)throw s.error;if(l.thrown)throw l.error;throw this.raise(n.start,Ee.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(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(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Ee.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const 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){this.state=s.failState;return s.node}if(a.node){this.state=a.failState;return a.node}throw s.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(n){i.stop=true;return e}this.next();const s=this.startNodeAt(t,r);s.callee=e;s.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);s.arguments=this.parseCallExpressionArguments(u.parenR,false);s.optional=true;return this.finishCallExpression(s,true)}else 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(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(i.optionalChainMember)n.optional=false;return this.finishCallExpression(n,i.optionalChainMember)});if(s.node){if(s.error)this.state=s.failState;return s.node}}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){let t=null;if(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);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Ee.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Ee.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,y.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,y.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Ee.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Ee.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Ee.EnumInvalidExplicitTypeUnknownSupplied:Ee.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let i=null;switch(r){case"boolean":case"number":case"string":i=Ee.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=Ee.EnumInvalidMemberInitializerSymbolType;break;default:i=Ee.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Ee.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){i=true;break}const s=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};s.id=a;switch(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"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:i,hasUnknownMembers:s}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=s;switch(n){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const s=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!s&&!a&&!o&&!l){return n()}else if(!s&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&s>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!s&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ae={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:"♦"};class State{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=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[T.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,i=r.length;n.",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 <>...?"},d.SyntaxError);T.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(T.j_expr);e.push(T.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var we=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ie.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&Ne)>0}get hasReturn(){return(this.currentFlags()&je)>0}get hasIn(){return(this.currentFlags()&_e)>0}}function functionFlags(e,t){return(e?Ce:0)|(t?Ne:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const Le=makeErrorTemplates({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."},d.SyntaxError);function keywordTypeFromName(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 undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var ke=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const i=(t,r,n,i)=>{if(r===n&&e[i]){this.raise(t,Le.InvalidModifiersOrder,n,i)}};const s=(t,r,n,i)=>{if(e[n]&&r===i||e[i]&&r===n){this.raise(t,Le.IncompatibleModifiers,n,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Le.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Le.DuplicateModifier,o)}else{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]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}n.push(i);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Le.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.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();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Le.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Le.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Le.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,Le.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,y.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,y.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Le.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Le.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,Le.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Le.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Le.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const s=i==="TSNamedTupleMember";r=(n=r)!=null?n:s;if(r!==s){this.raise(e.start,Le.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const i=this.eat(u.question);const s=this.eat(u.colon);if(s){const e=this.startNodeAtNode(n);e.optional=i;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Le.InvalidTupleMemberLabel);e.label=n}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();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Le.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return 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();const i=this.eat(r);const s=[];do{s.push(t())}while(this.eat(r));if(s.length===1&&!i){return s[0]}n.types=s;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsParseTypeAnnotation(false);r.parameterName=i;r.typeAnnotation=s;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Le.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return 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=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(D);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,Le.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Le.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let i;let s=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;s=t.readonly;if(e===false&&(i||s||a)){this.raise(r,Le.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||s||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(s)e.readonly=s;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Le.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Le.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ie)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Le.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return 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(u.parenL)){s.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(s.arguments);s.typeParameters=a;if(i.optionalChainMember){s.optional=false}return this.finishCallExpression(s,i.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,i);n.typeParameters=a;return 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();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,r);i.expression=e;const s=this.tsTryNextParseConstantContext();if(s){i.typeAnnotation=s}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Le.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!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;if(i&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,Le.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,r,n){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,Le.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Le.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Le.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Le.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Le.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,Le.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Le.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(u.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(i&&n){this.resetStartLocation(i,t,r);i.declare=true}return i}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?ie:$);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,Le.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Le.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Le.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,s){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,Le.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Le.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,i,s,a,o;let l;let p;let c;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===T.j_oTag){t.length-=2}else if(t[t.length-1]===T.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let f;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;f=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(r=i.extra)!=null&&r.parenthesized){t()}if(((n=f)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(i,f)}i.typeParameters=f;return i},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));c=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!c.error)return c.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=c)!=null&&n.node){this.state=c.failState;return c.node}if((i=p)!=null&&i.thrown)throw p.error;if(d.thrown)throw d.error;if((s=c)!=null&&s.thrown)throw c.error;throw((a=p)==null?void 0:a.error)||d.error||((o=c)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Le.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const i=n&&this.isThisParam(n);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;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(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Le.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Le.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Be=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Me=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return 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;const s=this.parsePlaceholder("Identifier");if(s){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=s}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(s,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Be.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Fe=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Re=["minimal","smart","fsharp"];const Ke=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){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'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Re.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Re.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ke.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ve={estree:m,jsx:we,flow:Pe,typescript:ke,v8intrinsic:Fe,placeholders:Me};const Ue=Object.keys(Ve);const Xe={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Xe)){t[r]=e&&e[r]!=null?e[r]:Xe[r]}return t}var Je=function isDigit(e){return e>=48&&e<=57};const Ye=new Set([103,109,115,105,121,117,100]);const We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const qe={};qe.bin=[48,49];qe.oct=[...qe.bin,50,51,52,53,54,55];qe.dec=[...qe.oct,56,57];qe.hex=[...qe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(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){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){f.lastIndex=e;const t=f.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===T.template){this.readTmplToken()}else{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 SourceLocation(i,s)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,y.UnterminatedComment);this.state.pos=r+2;c.lastIndex=t;let n;while((n=c.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,y.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.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,y.UnterminatedRegExp)}const i=this.input.charCodeAt(n);if(isNewLine(i)){throw this.raise(e,y.UnterminatedRegExp)}if(t){t=false}else{if(i===91){r=true}else if(i===93&&r){r=false}else if(i===47&&!r){break}t=i===92}}const i=this.input.slice(e,n);++n;let s="";while(n-1||s.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,y.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Je(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+i+2,y.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,y.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;r=true}else if(i===109){throw this.raise(t,y.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let i=false;let s=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,y.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,y.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,y.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,y.InvalidOrMissingExponent)}r=true;s=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,y.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(s||o){this.raise(t,y.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(i){this.finishToken(u.decimal,p);return}const c=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,c)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,y.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,y.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++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}else{this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let i=parseInt(n,8);if(i>255){n=n.slice(0,-1);i=parseInt(n,8)}this.state.pos+=n.length-1;const s=this.input.charCodeAt(this.state.pos);if(n!=="0"||s===56||s===57){if(e){return null}else{this.recordStrictModeErrors(t,y.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(r){this.raise(n,y.InvalidEscapeSequence)}else{this.state.pos=n-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let i=e[n];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(r);i=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope($e)}function newArrowHeadScope(){return new ArrowHeadParsingScope(He)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Ge)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,y.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?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)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,y.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const i=this.scope;const s=this.getScopeHandler();this.scope=new s(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=De;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ce}this.scope.enter(N);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{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 SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let i=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){i=Qe(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,y.InvalidParenthesizedAssignment)}}else{this.raise(e.start,y.InvalidParenthesizedAssignment)}}switch(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))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const i=this.startNodeAt(t,r);i.expressions=[n];while(this.eat(u.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return 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;const i=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,i)}return e}}let s;if(e){s=false}else{e=new ExpressionErrors;s=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,i)}if(this.state.type.isAssign){const t=this.startNodeAt(n,i);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(s){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.state.potentialArrowAt;const s=this.parseExprOps(e);if(this.shouldExitDescending(s,i)){return s}return this.parseConditional(s,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,n)){return i}return this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(i>n){const s=this.state.type;if(s===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=s===u.logicalOR||s===u.logicalAND;const l=s===u.nullishCoalescing;if(l){i=u.logicalAND.binop}this.next();if(s===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(s,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,y.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const s=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,y.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,y.DeletePrivateField)}}if(!s){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,s,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?y.AwaitNotInAsyncContext:y.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const i=this.state.startLoc;let s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return s;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,i);e.operator=this.state.value;e.prefix=false;e.argument=s;this.checkLVal(s,"postfix operation");this.next();s=this.finishNode(e,"UpdateExpression")}return s}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,n)){return i}return this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,r,n,i){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,i)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,i)}let s=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=s=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,i,s)}else if(s||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,i,s)}else{i.stop=true;return e}}parseMember(e,t,r,n,i){const s=this.startNodeAt(t,r);const a=this.eat(u.bracketL);s.object=e;s.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(s.object.type==="Super"){this.raise(t,y.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}s.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){s.optional=i;return this.finishNode(s,"OptionalMemberExpression")}else{return this.finishNode(s,"MemberExpression")}}parseBind(e,t,r,n,i){const s=this.startNodeAt(t,r);s.object=e;s.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(s,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){const s=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=s;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const i=this.startNodeAt(t,r);i.tag=e;i.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,y.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,y.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){const s=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}s.push(this.parseExprListItem(false,i,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return s}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,y.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,y.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,y.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,y.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,y.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,y.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Ce);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,y.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,y.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,h.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const c={start:0};let f=true;let d;let y;while(!this.match(u.parenR)){if(f){f=false}else{this.expect(u.comma,c.start||null);if(this.match(u.parenR)){y=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,c))}}const h=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=s;let T=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(T=this.parseArrow(T))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(T,l,false);return T}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(y)this.unexpected(y);if(d)this.unexpected(d);this.checkExpressionErrors(p,true);if(c.start)this.unexpected(c.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",h,m)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const S=this.startNodeAt(t,r);S.expression=n;this.finishNode(S,"ParenthesizedExpression");return S}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,y.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,y.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,y.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,y.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(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(i,r,s,n)}if(r&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,y.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,y.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let i=false;let s=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(u.star)}const p=this.state.containsEsc;const c=this.parsePropertyName(n,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=c.name;if(e==="async"&&!this.hasPrecedingLineBreak()){s=true;i=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){i=true;this.raise(this.state.pos,y.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,i,s,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const i=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(i,y.BadGetterArity)}else{this.raise(i,y.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,y.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,i){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return 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);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,i,s,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(C|L|(a?B:0)|(i?k:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,s,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=this.startNode();this.next();s.elements=this.parseExprList(e,!r,n,s);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(C|j);let i=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){i|=_e}this.prodParam.enter(i);this.initFunction(e,r);const s=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=s;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|je);e.body=this.parseBlock(true,false,i=>{const s=!this.isSimpleParamList(e.params);if(i&&s){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,y.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!s,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,y.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,y.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,y.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,y.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,y.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,y.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,y.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,y.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,y.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,y.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const i=this.isSimpleReference(e);if(i){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,y.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,i?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&~t;if(r){this.prodParam.enter(t|_e);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&t;if(r){this.prodParam.enter(t&~_e);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,it=4;const st=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(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,y.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const i=this.input.slice(t.start,t.end);const s=r.value=i.slice(1,-1);this.addExtra(r,"raw",i);this.addExtra(r,"rawValue",s);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let i;if(this.isLet(e)){r=u._var;i="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,y.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,y.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,y.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,i);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,y.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const s=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,s,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,h.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;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(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(D);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const i=n?"let":this.state.value;this.next();this.parseVar(r,true,i);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const i=this.match(u.name)&&!this.state.containsEsc;const s=new ExpressionErrors;const a=this.parseExpression(true,s);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,y.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,y.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,y.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(D);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,y.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,y.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?_:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(D)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,y.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,y.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,y.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(u._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){r.statementStart=this.state.start;r.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(D)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){const s=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?a:undefined,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){const s=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(i){i.call(this,a)}if(!s){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,y.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const i=t&nt;const s=!!n&&!(t&it);this.initFunction(e,r);if(this.match(u.star)&&i){this.raise(this.state.start,y.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(s)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(C);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const i=this.startNode();i.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(i,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,y.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,y.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const i=t;const s=t;const a=t;const o=t;const l=i;const p=i;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,s,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const c=this.state.containsEsc;const f=this.match(u.privateName);const d=this.parseClassElementName(t);const h=d.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(f){this.pushClassPrivateMethod(e,s,false,false);return}const n=this.isNonstaticConstructor(i);let a=false;if(n){i.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,y.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,y.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,i,false,false,n,a)}else if(this.isClassProperty()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(h&&d.name==="async"&&!c&&!this.isLineTerminator()){const t=this.eat(u.star);if(p.optional){this.unexpected(m)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,s,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(h&&(d.name==="get"||d.name==="set")&&!c&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,s,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,y.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,y.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(B|M|L);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(De);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,y.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,y.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),Se,r.key.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const i=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(i);const s=i.kind==="get"?i.static?ye:me:i.kind==="set"?i.static?he:Te:Se;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),s,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(B|L);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(De);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=$){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,y.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const i=n&&this.maybeParseExportNamespaceSpecifier(e);const s=r&&(!i||this.eat(u.comma));const a=t||n;if(n&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||i&&s&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|it,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,y.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,y.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,y.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const s=this.state.decoratorStack[this.state.decoratorStack.length-1];if(s.length){throw this.raise(e.start,y.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?y.DuplicateDefaultExport:y.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.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(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(st);if(t){this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,y.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,y.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Ue.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=Ve[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},90356:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.scope=t.path=void 0;let r=new WeakMap;t.path=r;let n=new WeakMap;t.scope=n;function clear(){clearPath();clearScope()}function clearPath(){t.path=r=new WeakMap}function clearScope(){t.scope=n=new WeakMap}},46586:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(10904);var i=r(79584);const s=process.env.NODE_ENV==="test";class TraversalContext{constructor(e,t,r,n){this.queue=null;this.priorityQueue=null;this.parentPath=n;this.scope=e;this.state=r;this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return true;if(t[e.type])return true;const r=i.VISITOR_KEYS[e.type];if(!(r!=null&&r.length))return false;for(const t of r){if(e[t])return true}return false}create(e,t,r,i){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:i})}maybeQueue(e,t){if(this.trap){throw new Error("Infinite cycle detected")}if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,r){if(e.length===0)return false;const n=[];for(let i=0;i=1e4){this.trap=true}const{node:i}=n;if(t.has(i))continue;if(i)t.add(i);if(n.visit()){r=true;break}if(this.priorityQueue.length){r=this.visitQueue(this.priorityQueue);this.priorityQueue=[];this.queue=e;if(r)break}}for(const t of e){t.popContext()}this.queue=null;return r}visit(e,t){const r=e[t];if(!r)return false;if(Array.isArray(r)){return this.visitMultiple(r,e,t)}else{return this.visitSingle(e,t)}}}t.default=TraversalContext},20476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}t.default=Hub},58941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"Hub",{enumerable:true,get:function(){return u.default}});t.visitors=t.default=void 0;var n=r(46586);var i=r(56485);t.visitors=i;var s=r(79584);var a=r(90356);var o=r(10904);var l=r(16049);var u=r(20476);function traverse(e,t={},r,n,a){if(!e)return;if(!t.noScope&&!r){if(e.type!=="Program"&&e.type!=="File"){throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+"passing scope and parentPath.")}}if(!s.VISITOR_KEYS[e.type]){return}i.explode(t);traverse.node(e,t,r,n,a)}var p=traverse;t.default=p;traverse.visitors=i;traverse.verify=i.verify;traverse.explode=i.explode;traverse.cheap=function(e,t){return s.traverseFast(e,t)};traverse.node=function(e,t,r,i,a,o){const l=s.VISITOR_KEYS[e.type];if(!l)return;const u=new n.default(r,t,i,a);for(const t of l){if(o&&o[t])continue;if(u.visit(e,t))return}};traverse.clearNode=function(e,t){s.removeProperties(e,t);a.path.delete(e)};traverse.removeProperties=function(e,t){s.traverseFast(e,traverse.clearNode,t);return e};function hasDenylistedType(e,t){if(e.node.type===t.type){t.has=true;e.stop()}}traverse.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return false;if(e.type===t)return true;const n={has:false,type:t};traverse(e,{noScope:true,denylist:r,enter:hasDenylistedType},null,n);return n.has};traverse.cache=a},15429:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findParent=findParent;t.find=find;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getAncestry=getAncestry;t.isAncestor=isAncestor;t.isDescendant=isDescendant;t.inType=inType;var n=r(79584);var i=r(10904);function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent(e=>e.isFunction())}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{e=e.parentPath}}while(e);if(e&&(e.isProgram()||e.isFile())){throw new Error("File/Program node, we can't possibly find a statement parent to this")}return e}function getEarliestCommonAncestorFrom(e){return this.getDeepestCommonAncestorFrom(e,function(e,t,r){let i;const s=n.VISITOR_KEYS[e.type];for(const e of r){const r=e[t+1];if(!i){i=r;continue}if(r.listKey&&i.listKey===r.listKey){if(r.keya){i=r}}return i})}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let r=Infinity;let n,i;const s=e.map(e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.lengtht===e)}function inType(...e){let t=this;while(t){for(const r of e){if(t.node.type===r)return true}t=t.parentPath}return false}},22336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shareCommentsWithSiblings=shareCommentsWithSiblings;t.addComment=addComment;t.addComments=addComments;var n=r(79584);function shareCommentsWithSiblings(){if(typeof this.key==="string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1);const i=this.getSibling(this.key+1);const s=Boolean(n.node);const a=Boolean(i.node);if(s&&!a){n.addComments("trailing",t)}else if(a&&!s){i.addComments("leading",r)}}function addComment(e,t,r){n.addComment(this.node,e,t,r)}function addComments(e,t){n.addComments(this.node,e,t)}},40565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.call=call;t._call=_call;t.isBlacklisted=t.isDenylisted=isDenylisted;t.visit=visit;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.setScope=setScope;t.setContext=setContext;t.resync=resync;t._resyncParent=_resyncParent;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncRemoved=_resyncRemoved;t.popContext=popContext;t.pushContext=pushContext;t.setup=setup;t.setKey=setKey;t.requeue=requeue;t._getQueueContexts=_getQueueContexts;var n=r(58941);var i=r(10904);function call(e){const t=this.opts;this.debug(e);if(this.node){if(this._call(t[e]))return true}if(this.node){return this._call(t[this.node.type]&&t[this.node.type][e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const r=t.call(this.state,this,this.state);if(r&&typeof r==="object"&&typeof r.then==="function"){throw new Error(`You appear to be using a plugin with an async traversal visitor, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}if(r){throw new Error(`Unexpected return value from visitor method ${t}`)}if(this.node!==e)return true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function visit(){if(!this.node){return false}if(this.isDenylisted()){return false}if(this.opts.shouldSkip&&this.opts.shouldSkip(this)){return false}if(this.shouldSkip||this.call("enter")||this.shouldSkip){this.debug("Skip...");return this.shouldStop}this.debug("Recursing into...");n.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys);this.call("exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=i.SHOULD_SKIP|i.SHOULD_STOP}function setScope(){if(this.opts&&this.opts.noScope)return;let e=this.parentPath;if(this.key==="key"&&e.isMethod())e=e.parentPath;let t;while(e&&!t){if(e.opts&&e.opts.noScope)return;t=e.scope;e=e.parentPath}this.scope=this.getScope(t);if(this.scope)this.scope.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}this.setScope();return this}function resync(){if(this.removed)return;this._resyncParent();this._resyncList();this._resyncKey()}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let e=0;e0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,r,n){this.listKey=r;this.container=t;this.parentPath=e||this.parentPath;this.setKey(n)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const r of t){r.maybeQueue(e)}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},43061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toComputedKey=toComputedKey;t.ensureBlock=ensureBlock;t.arrowFunctionToShadowed=arrowFunctionToShadowed;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;t.arrowFunctionToExpression=arrowFunctionToExpression;var n=r(79584);var i=r(98733);function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(n.isIdentifier(e))e=n.stringLiteral(e.name)}return e}function ensureBlock(){const e=this.get("body");const t=e.node;if(Array.isArray(e)){throw new Error("Can't convert array path to a block statement")}if(!t){throw new Error("Can't convert node without a body")}if(e.isBlockStatement()){return t}const r=[];let i="body";let s;let a;if(e.isStatement()){a="body";s=0;r.push(e.node)}else{i+=".body.0";if(this.isFunction()){s="argument";r.push(n.returnStatement(e.node))}else{s="expression";r.push(n.expressionStatement(e.node))}}this.node.body=n.blockStatement(r);const o=this.get(i);e.setup(o,a?o.node[a]:o.node,a,s);return this.node}function arrowFunctionToShadowed(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function arrowFunctionToExpression({allowInsertArrow:e=true,specCompliant:t=false,noNewArrows:r=!t}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}const s=hoistFunctionEnvironment(this,r,e);this.ensureBlock();this.node.type="FunctionExpression";if(!r){const e=s?null:this.parentPath.scope.generateUidIdentifier("arrowCheckId");if(e){this.parentPath.scope.push({id:e,init:n.objectExpression([])})}this.get("body").unshiftContainer("body",n.expressionStatement(n.callExpression(this.hub.addHelper("newArrowCheck"),[n.thisExpression(),e?n.identifier(e.name):n.identifier(s)])));this.replaceWith(n.callExpression(n.memberExpression((0,i.default)(this,true)||this.node,n.identifier("bind")),[e?n.identifier(e.name):n.thisExpression()]))}}function hoistFunctionEnvironment(e,t=true,r=true){const i=e.findParent(e=>{return e.isFunction()&&!e.isArrowFunctionExpression()||e.isProgram()||e.isClassProperty({static:false})});const s=(i==null?void 0:i.node.kind)==="constructor";if(i.isClassProperty()){throw e.buildCodeFrameError("Unable to transform arrow inside class property")}const{thisPaths:a,argumentsPaths:o,newTargetPaths:l,superProps:u,superCalls:p}=getScopeInformation(e);if(s&&p.length>0){if(!r){throw p[0].buildCodeFrameError("Unable to handle nested super() usage in arrow")}const e=[];i.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(t){if(!t.get("callee").isSuper())return;e.push(t)}});const t=getSuperBinding(i);e.forEach(e=>{const r=n.identifier(t);r.loc=e.node.callee.loc;e.get("callee").replaceWith(r)})}if(o.length>0){const e=getBinding(i,"arguments",()=>n.identifier("arguments"));o.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(l.length>0){const e=getBinding(i,"newtarget",()=>n.metaProperty(n.identifier("new"),n.identifier("target")));l.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(u.length>0){if(!r){throw u[0].buildCodeFrameError("Unable to handle nested super.prop usage")}const e=u.reduce((e,t)=>e.concat(standardizeSuperProperty(t)),[]);e.forEach(e=>{const t=e.node.computed?"":e.get("property").node.name;const r=e.parentPath.isAssignmentExpression({left:e.node});const s=e.parentPath.isCallExpression({callee:e.node});const o=getSuperPropBinding(i,r,t);const l=[];if(e.node.computed){l.push(e.get("property").node)}if(r){const t=e.parentPath.node.right;l.push(t)}const u=n.callExpression(n.identifier(o),l);if(s){e.parentPath.unshiftContainer("arguments",n.thisExpression());e.replaceWith(n.memberExpression(u,n.identifier("call")));a.push(e.parentPath.get("arguments.0"))}else if(r){e.parentPath.replaceWith(u)}else{e.replaceWith(u)}})}let c;if(a.length>0||!t){c=getThisBinding(i,s);if(t||s&&hasSuperClass(i)){a.forEach(e=>{const t=e.isJSX()?n.jsxIdentifier(c):n.identifier(c);t.loc=e.node.loc;e.replaceWith(t)});if(!t)c=null}}return c}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){const t=e.parentPath;const r=t.node.operator.slice(0,-1);const i=t.node.right;t.node.operator="=";if(e.node.computed){const s=e.scope.generateDeclaredUidIdentifier("tmp");t.get("left").replaceWith(n.memberExpression(e.node.object,n.assignmentExpression("=",s,e.node.property),true));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(s.name),true),i))}else{t.get("left").replaceWith(n.memberExpression(e.node.object,e.node.property));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(e.node.property.name)),i))}return[t.get("left"),t.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const r=e.scope.generateDeclaredUidIdentifier("tmp");const i=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null;const s=[n.assignmentExpression("=",r,n.memberExpression(e.node.object,i?n.assignmentExpression("=",i,e.node.property):e.node.property,e.node.computed)),n.assignmentExpression("=",n.memberExpression(e.node.object,i?n.identifier(i.name):e.node.property,e.node.computed),n.binaryExpression("+",n.identifier(r.name),n.numericLiteral(1)))];if(!e.parentPath.node.prefix){s.push(n.identifier(r.name))}t.replaceWith(n.sequenceExpression(s));const a=t.get("expressions.0.right");const o=t.get("expressions.1.left");return[a,o]}return[e]}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}function getThisBinding(e,t){return getBinding(e,"this",r=>{if(!t||!hasSuperClass(e))return n.thisExpression();const i=new WeakSet;e.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(e){if(!e.get("callee").isSuper())return;if(i.has(e.node))return;i.add(e.node);e.replaceWithMultiple([e.node,n.assignmentExpression("=",n.identifier(r),n.identifier("this"))])}})})}function getSuperBinding(e){return getBinding(e,"supercall",()=>{const t=e.scope.generateUidIdentifier("args");return n.arrowFunctionExpression([n.restElement(t)],n.callExpression(n.super(),[n.spreadElement(n.identifier(t.name))]))})}function getSuperPropBinding(e,t,r){const i=t?"set":"get";return getBinding(e,`superprop_${i}:${r||""}`,()=>{const i=[];let s;if(r){s=n.memberExpression(n.super(),n.identifier(r))}else{const t=e.scope.generateUidIdentifier("prop");i.unshift(t);s=n.memberExpression(n.super(),n.identifier(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("value");i.push(t);s=n.assignmentExpression("=",s,n.identifier(t.name))}return n.arrowFunctionExpression(i,s)})}function getBinding(e,t,r){const n="binding:"+t;let i=e.getData(n);if(!i){const s=e.scope.generateUidIdentifier(t);i=s.name;e.setData(n,i);e.scope.push({id:s,init:r(i)})}return i}function getScopeInformation(e){const t=[];const r=[];const n=[];const i=[];const s=[];e.traverse({ClassProperty(e){e.skip()},Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ThisExpression(e){t.push(e)},JSXIdentifier(e){if(e.node.name!=="this")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e){if(e.get("callee").isSuper())s.push(e)},MemberExpression(e){if(e.get("object").isSuper())i.push(e)},ReferencedIdentifier(e){if(e.node.name!=="arguments")return;r.push(e)},MetaProperty(e){if(!e.get("meta").isIdentifier({name:"new"}))return;if(!e.get("property").isIdentifier({name:"target"}))return;n.push(e)}});return{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:s}}},29081:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluateTruthy=evaluateTruthy;t.evaluate=evaluate;const r=["String","Number","Math"];const n=["random"];function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}function evaluateCached(e,t){const{node:r}=e;const{seen:n}=t;if(n.has(r)){const i=n.get(r);if(i.resolved){return i.value}else{deopt(e,t);return}}else{const i={resolved:false};n.set(r,i);const s=_evaluate(e,t);if(t.confident){i.resolved=true;i.value=s}return s}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const r=e.get("expressions");return evaluateCached(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral()){return e.node.value}if(e.isNullLiteral()){return null}if(e.isTemplateLiteral()){return evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const r=e.get("tag.object");const{node:{name:n}}=r;const i=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&i.isIdentifier()&&i.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const r=evaluateCached(e.get("test"),t);if(!t.confident)return;if(r){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const t=e.get("property");const r=e.get("object");if(r.isLiteral()&&t.isIdentifier()){const e=r.node.value;const n=typeof e;if(n==="number"||n==="string"){return e[t.node.name]}}}if(e.isReferencedIdentifier()){const r=e.scope.getBinding(e.node.name);if(r&&r.constantViolations.length>0){return deopt(r.path,t)}if(r&&e.node.start":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){const i=e.get("callee");let s;let a;if(i.isIdentifier()&&!e.scope.getBinding(i.node.name)&&r.indexOf(i.node.name)>=0){a=global[i.node.name]}if(i.isMemberExpression()){const e=i.get("object");const t=i.get("property");if(e.isIdentifier()&&t.isIdentifier()&&r.indexOf(e.node.name)>=0&&n.indexOf(t.node.name)<0){s=global[e.node.name];a=s[t.node.name]}if(e.isLiteral()&&t.isIdentifier()){const r=typeof e.node.value;if(r==="string"||r==="number"){s=e.node.value;a=s[t.node.name]}}}if(a){const r=e.get("arguments").map(e=>evaluateCached(e,t));if(!t.confident)return;return a.apply(s,r)}}deopt(e,t)}function evaluateQuasis(e,t,r,n=false){let i="";let s=0;const a=e.get("expressions");for(const e of t){if(!r.confident)break;i+=n?e.value.raw:e.value.cooked;const t=a[s++];if(t)i+=String(evaluateCached(t,r))}if(!r.confident)return;return i}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},37834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOpposite=getOpposite;t.getCompletionRecords=getCompletionRecords;t.getSibling=getSibling;t.getPrevSibling=getPrevSibling;t.getNextSibling=getNextSibling;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.get=get;t._getKey=_getKey;t._getPattern=_getPattern;t.getBindingIdentifiers=getBindingIdentifiers;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;var n=r(10904);var i=r(79584);const s=0;const a=1;function NormalCompletion(e){return{type:s,path:e}}function BreakCompletion(e){return{type:a,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,r){if(e)return t.concat(_getCompletionRecords(e,r));return t}function completionRecordForSwitch(e,t,r){let n=[];for(let i=0;i{e.type=a})}function replaceBreakStatementInBreakCompletion(e,t){e.forEach(e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(i.unaryExpression("void",i.numericLiteral(0)))}else{e.path.remove()}}})}function getStatementListCompletion(e,t){let r=[];if(t.canHaveBreak){let n=[];for(let i=0;i0&&u.every(e=>e.type===a)){if(n.length>0&&u.every(e=>e.path.isBreakStatement({label:null}))){normalCompletionToBreak(n);r=r.concat(n);if(n.some(e=>e.path.isDeclaration())){r=r.concat(u);replaceBreakStatementInBreakCompletion(u,true)}replaceBreakStatementInBreakCompletion(u,false)}else{r=r.concat(u);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(u,true)}}break}if(i===e.length-1){r=r.concat(u)}else{r=r.concat(u.filter(e=>e.type===a));n=u.filter(e=>e.type===s)}}}else if(e.length){r=r.concat(_getCompletionRecords(e[e.length-1],t))}return r}function _getCompletionRecords(e,t){let r=[];if(e.isIfStatement()){r=addCompletionRecords(e.get("consequent"),r,t);r=addCompletionRecords(e.get("alternate"),r,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isProgram()||e.isBlockStatement()){r=r.concat(getStatementListCompletion(e.get("body"),t))}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){r=addCompletionRecords(e.get("block"),r,t);r=addCompletionRecords(e.get("handler"),r,t)}else if(e.isCatchClause()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isSwitchStatement()){r=completionRecordForSwitch(e.get("cases"),r,t)}else if(e.isSwitchCase()){r=r.concat(getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true}))}else if(e.isBreakStatement()){r.push(BreakCompletion(e))}else{r.push(NormalCompletion(e))}return r}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map(e=>e.path)}function getSibling(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const r=[];while(t.node){r.push(t);t=this.getSibling(++e)}return r}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const r=[];while(t.node){r.push(t);t=this.getSibling(--e)}return r}function get(e,t=true){if(t===true)t=this.context;const r=e.split(".");if(r.length===1){return this._getKey(e,t)}else{return this._getPattern(r,t)}}function _getKey(e,t){const r=this.node;const i=r[e];if(Array.isArray(i)){return i.map((s,a)=>{return n.default.get({listKey:e,parentPath:this,parent:r,container:i,key:a}).setContext(t)})}else{return n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}}function _getPattern(e,t){let r=this;for(const n of e){if(n==="."){r=r.parentPath}else{if(Array.isArray(r)){r=r[n]}else{r=r.get(n,t)}}}return r}function getBindingIdentifiers(e){return i.getBindingIdentifiers(this.node,e)}function getOuterBindingIdentifiers(e){return i.getOuterBindingIdentifiers(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const r=this;let n=[].concat(r);const s=Object.create(null);while(n.length){const r=n.shift();if(!r)continue;if(!r.node)continue;const a=i.getBindingIdentifiers.keys[r.node.type];if(r.isIdentifier()){if(e){const e=s[r.node.name]=s[r.node.name]||[];e.push(r)}else{s[r.node.name]=r}continue}if(r.isExportDeclaration()){const e=r.get("declaration");if(e.isDeclaration()){n.push(e)}continue}if(t){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression()){continue}}if(a){for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.SHOULD_SKIP=t.SHOULD_STOP=t.REMOVED=void 0;var n=r(26266);var i=r(31185);var s=r(58941);var a=r(16049);var o=r(79584);var l=r(90356);var u=r(88157);var p=r(15429);var c=r(96763);var f=r(79002);var d=r(29081);var y=r(43061);var h=r(64358);var m=r(40565);var T=r(35793);var S=r(38186);var b=r(37834);var E=r(22336);const g=i("babel");const x=1<<0;t.REMOVED=x;const P=1<<1;t.SHOULD_STOP=P;const A=1<<2;t.SHOULD_SKIP=A;class NodePath{constructor(e,t){this.contexts=[];this.state=null;this.opts=null;this._traverseFlags=0;this.skipKeys=null;this.parentPath=null;this.container=null;this.listKey=null;this.key=null;this.node=null;this.type=null;this.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:i,key:s}){if(!e&&t){e=t.hub}if(!r){throw new Error("To get a node path the parent needs to exist")}const a=n[s];let o=l.path.get(r);if(!o){o=new Map;l.path.set(r,o)}let u=o.get(a);if(!u){u=new NodePath(e,r);if(a)o.set(a,u)}u.setup(t,n,i,s);return u}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let r=this.data[e];if(r===undefined&&t!==undefined)r=this.data[e]=t;return r}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,s.default)(this.node,e,this.scope,t,this)}set(e,t){o.validate(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;if(t.inList)r=`${t.listKey}[${r}]`;e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){if(!g.enabled)return;g(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&A)}set shouldSkip(e){if(e){this._traverseFlags|=A}else{this._traverseFlags&=~A}}get shouldStop(){return!!(this._traverseFlags&P)}set shouldStop(e){if(e){this._traverseFlags|=P}else{this._traverseFlags&=~P}}get removed(){return!!(this._traverseFlags&x)}set removed(e){if(e){this._traverseFlags|=x}else{this._traverseFlags&=~x}}}Object.assign(NodePath.prototype,p,c,f,d,y,h,m,T,S,b,E);for(const e of o.TYPES){const t=`is${e}`;const r=o[t];NodePath.prototype[t]=function(e){return r(this.node,e)};NodePath.prototype[`assert${e}`]=function(t){if(!r(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}for(const e of Object.keys(n)){if(e[0]==="_")continue;if(o.TYPES.indexOf(e)<0)o.TYPES.push(e);const t=n[e];NodePath.prototype[`is${e}`]=function(e){return t.checkPath(this,e)}}var v=NodePath;t.default=v},96763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getTypeAnnotation=getTypeAnnotation;t._getTypeAnnotation=_getTypeAnnotation;t.isBaseType=isBaseType;t.couldBeBaseType=couldBeBaseType;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.isGenericType=isGenericType;var n=r(96207);var i=r(79584);function getTypeAnnotation(){if(this.typeAnnotation)return this.typeAnnotation;let e=this._getTypeAnnotation()||i.anyTypeAnnotation();if(i.isTypeAnnotation(e))e=e.typeAnnotation;return this.typeAnnotation=e}const s=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return i.stringTypeAnnotation()}if(e.key==="left"&&t.isForOfStatement()){return i.anyTypeAnnotation()}return i.voidTypeAnnotation()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(s.has(e)){return}s.add(e);try{var t;let r=n[e.type];if(r){return r.call(this,e)}r=n[this.parentPath.type];if((t=r)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{s.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,r){if(e==="string"){return i.isStringTypeAnnotation(t)}else if(e==="number"){return i.isNumberTypeAnnotation(t)}else if(e==="boolean"){return i.isBooleanTypeAnnotation(t)}else if(e==="any"){return i.isAnyTypeAnnotation(t)}else if(e==="mixed"){return i.isMixedTypeAnnotation(t)}else if(e==="empty"){return i.isEmptyTypeAnnotation(t)}else if(e==="void"){return i.isVoidTypeAnnotation(t)}else{if(r){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(i.isAnyTypeAnnotation(t))return true;if(i.isUnionTypeAnnotation(t)){for(const r of t.types){if(i.isAnyTypeAnnotation(r)||_isBaseType(e,r,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const r=e.getTypeAnnotation();if(!i.isAnyTypeAnnotation(t)&&i.isFlowBaseAnnotation(t)){return r.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();return i.isGenericTypeAnnotation(t)&&i.isIdentifier(t.id,{name:e})}},42985:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(79584);function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return n.voidTypeAnnotation()}else if(e.name==="NaN"||e.name==="Infinity"){return n.numberTypeAnnotation()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,r){const i=[];const s=[];let a=getConstantViolationsBefore(e,t,s);const o=getConditionalAnnotation(e,t,r);if(o){const t=getConstantViolationsBefore(e,o.ifStatement);a=a.filter(e=>t.indexOf(e)<0);i.push(o.typeAnnotation)}if(a.length){a=a.concat(s);for(const e of a){i.push(e.getTypeAnnotation())}}if(!i.length){return}if(n.isTSTypeAnnotation(i[0])&&n.createTSUnionType){return n.createTSUnionType(i)}if(n.createFlowUnionType){return n.createFlowUnionType(i)}return n.createUnionTypeAnnotation(i)}function getConstantViolationsBefore(e,t,r){const n=e.constantViolations.slice();n.unshift(e.path);return n.filter(e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);if(r&&n==="unknown")r.push(e);return n==="before"})}function inferAnnotationFromBinaryExpression(e,t){const r=t.node.operator;const i=t.get("right").resolve();const s=t.get("left").resolve();let a;if(s.isIdentifier({name:e})){a=i}else if(i.isIdentifier({name:e})){a=s}if(a){if(r==="==="){return a.getTypeAnnotation()}if(n.BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(r)>=0){return n.numberTypeAnnotation()}return}if(r!=="==="&&r!=="==")return;let o;let l;if(s.isUnaryExpression({operator:"typeof"})){o=s;l=i}else if(i.isUnaryExpression({operator:"typeof"})){o=i;l=s}if(!o)return;if(!o.get("argument").isIdentifier({name:e}))return;l=l.resolve();if(!l.isLiteral())return;const u=l.node.value;if(typeof u!=="string")return;return n.createTypeAnnotationBasedOnTypeof(u)}function getParentConditionalPath(e,t,r){let n;while(n=t.parentPath){if(n.isIfStatement()||n.isConditionalExpression()){if(t.key==="test"){return}return n}if(n.isFunction()){if(n.parentPath.scope.getBinding(r)!==e)return}t=n}}function getConditionalAnnotation(e,t,r){const i=getParentConditionalPath(e,t,r);if(!i)return;const s=i.get("test");const a=[s];const o=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VariableDeclarator=VariableDeclarator;t.TypeCastExpression=TypeCastExpression;t.NewExpression=NewExpression;t.TemplateLiteral=TemplateLiteral;t.UnaryExpression=UnaryExpression;t.BinaryExpression=BinaryExpression;t.LogicalExpression=LogicalExpression;t.ConditionalExpression=ConditionalExpression;t.SequenceExpression=SequenceExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.AssignmentExpression=AssignmentExpression;t.UpdateExpression=UpdateExpression;t.StringLiteral=StringLiteral;t.NumericLiteral=NumericLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.RegExpLiteral=RegExpLiteral;t.ObjectExpression=ObjectExpression;t.ArrayExpression=ArrayExpression;t.RestElement=RestElement;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;t.CallExpression=CallExpression;t.TaggedTemplateExpression=TaggedTemplateExpression;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return i.default}});var n=r(79584);var i=r(42985);function VariableDeclarator(){var e;const t=this.get("id");if(!t.isIdentifier())return;const r=this.get("init");let n=r.getTypeAnnotation();if(((e=n)==null?void 0:e.type)==="AnyTypeAnnotation"){if(r.isCallExpression()&&r.get("callee").isIdentifier({name:"Array"})&&!r.scope.hasBinding("Array",true)){n=ArrayExpression()}}return n}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function NewExpression(e){if(this.get("callee").isIdentifier()){return n.genericTypeAnnotation(e.callee)}}function TemplateLiteral(){return n.stringTypeAnnotation()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return n.voidTypeAnnotation()}else if(n.NUMBER_UNARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.STRING_UNARY_OPERATORS.indexOf(t)>=0){return n.stringTypeAnnotation()}else if(n.BOOLEAN_UNARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}}function BinaryExpression(e){const t=e.operator;if(n.NUMBER_BINARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.BOOLEAN_BINARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return n.numberTypeAnnotation()}else if(t.isBaseType("string")||e.isBaseType("string")){return n.stringTypeAnnotation()}return n.unionTypeAnnotation([n.stringTypeAnnotation(),n.numberTypeAnnotation()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return n.numberTypeAnnotation()}}function StringLiteral(){return n.stringTypeAnnotation()}function NumericLiteral(){return n.numberTypeAnnotation()}function BooleanLiteral(){return n.booleanTypeAnnotation()}function NullLiteral(){return n.nullLiteralTypeAnnotation()}function RegExpLiteral(){return n.genericTypeAnnotation(n.identifier("RegExp"))}function ObjectExpression(){return n.genericTypeAnnotation(n.identifier("Object"))}function ArrayExpression(){return n.genericTypeAnnotation(n.identifier("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return n.genericTypeAnnotation(n.identifier("Function"))}const s=n.buildMatchMemberExpression("Array.from");const a=n.buildMatchMemberExpression("Object.keys");const o=n.buildMatchMemberExpression("Object.values");const l=n.buildMatchMemberExpression("Object.entries");function CallExpression(){const{callee:e}=this.node;if(a(e)){return n.arrayTypeAnnotation(n.stringTypeAnnotation())}else if(s(e)||o(e)){return n.arrayTypeAnnotation(n.anyTypeAnnotation())}else if(l(e)){return n.arrayTypeAnnotation(n.tupleTypeAnnotation([n.stringTypeAnnotation(),n.anyTypeAnnotation()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){if(e.is("async")){if(e.is("generator")){return n.genericTypeAnnotation(n.identifier("AsyncIterator"))}else{return n.genericTypeAnnotation(n.identifier("Promise"))}}else{if(e.node.returnType){return e.node.returnType}else{}}}}},64358:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.matchesPattern=matchesPattern;t.has=has;t.isStatic=isStatic;t.isnt=isnt;t.equals=equals;t.isNodeType=isNodeType;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.isCompletionRecord=isCompletionRecord;t.isStatementOrBlock=isStatementOrBlock;t.referencesImport=referencesImport;t.getSource=getSource;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._guessExecutionStatusRelativeToDifferentFunctions=_guessExecutionStatusRelativeToDifferentFunctions;t.resolve=resolve;t._resolve=_resolve;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.is=void 0;var n=r(79584);function matchesPattern(e,t){return n.matchesPattern(this.node,e,t)}function has(e){const t=this.node&&this.node[e];if(t&&Array.isArray(t)){return!!t.length}else{return!!t}}function isStatic(){return this.scope.isStatic(this.node)}const i=has;t.is=i;function isnt(e){return!this.has(e)}function equals(e,t){return this.node[e]===t}function isNodeType(e){return n.isType(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return n.isBlockStatement(e)}else if(this.isBlockStatement()){return n.isExpression(e)}return false}function isCompletionRecord(e){let t=this;let r=true;do{const n=t.container;if(t.isFunction()&&!r){return!!e}r=false;if(Array.isArray(n)&&t.key!==n.length-1){return false}}while((t=t.parentPath)&&!t.isProgram());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||n.isBlockStatement(this.container)){return false}else{return n.STATEMENT_OR_BLOCK_KEYS.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if((this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?n.isStringLiteral(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return false;const i=r.path;const s=i.parentPath;if(!s.isImportDeclaration())return false;if(s.node.source.value===e){if(!t)return true}else{return false}if(i.isImportDefaultSpecifier()&&t==="default"){return true}if(i.isImportNamespaceSpecifier()&&t==="*"){return true}if(i.isImportSpecifier()&&n.isIdentifier(i.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return(e.scope.getFunctionParent()||e.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let r=0;r=0)return"after";if(r.this.indexOf(e)>=0)return"before";let i;const s={target:0,this:0};while(!i&&s.this=0){i=e}else{s.this++}}if(!i){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(r.this,s.this-1)||isExecutionUncertainInList(r.target,s.target-1)){return"unknown"}const a={this:r.this[s.this-1],target:r.target[s.target-1]};if(a.target.listKey&&a.this.listKey&&a.target.container===a.this.container){return a.target.key>a.this.key?"before":"after"}const o=n.VISITOR_KEYS[i.type];const l={this:o.indexOf(a.this.parentKey),target:o.indexOf(a.target.parentKey)};return l.target>l.this?"before":"after"}const s=new WeakSet;function _guessExecutionStatusRelativeToDifferentFunctions(e){if(!e.isFunctionDeclaration()||e.parentPath.isExportDeclaration()){return"unknown"}const t=e.scope.getBinding(e.node.id.name);if(!t.references)return"before";const r=t.referencePaths;let n;for(const t of r){const r=!!t.find(t=>t.node===e.node);if(r)continue;if(t.key!=="callee"||!t.parentPath.isCallExpression()){return"unknown"}if(s.has(t.node))continue;s.add(t.node);const i=this._guessExecutionStatusRelativeTo(t);s.delete(t.node);if(n&&n!==i){return"unknown"}else{n=i}}return n}function resolve(e,t){return this._resolve(e,t)||this}function _resolve(e,t){if(t&&t.indexOf(this)>=0)return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if(r.kind==="module")return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find(e=>e.node===n.node))return;return n}}else if(this.isTypeCastExpression()){return this.get("expression").resolve(e,t)}else if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!n.isLiteral(r))return;const i=r.value;const s=this.get("object").resolve(e,t);if(s.isObjectExpression()){const r=s.get("properties");for(const n of r){if(!n.isProperty())continue;const r=n.get("key");let s=n.isnt("computed")&&r.isIdentifier({name:i});s=s||r.isLiteral({value:i});if(s)return n.get("value").resolve(e,t)}}else if(s.isArrayExpression()&&!isNaN(+i)){const r=s.get("elements");const n=r[i];if(n)return n.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every(e=>e.isConstantExpression())}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find(e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(!e.isProgram()&&!e.isFunction())return false;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}const t=e.isFunction()?e.node.body:e.node;for(const e of t.directives){if(e.value.value==="use strict"){return true}}});return!!t}},67234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(79584);const i={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&n.react.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);if(r)t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);if(!r)return;for(const n of r.constantViolations){if(n.scope!==r.path.scope){t.mutableBinding=true;e.stop();return}}if(r!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=r}};class PathHoister{constructor(e,t){this.breakOnScopePaths=void 0;this.bindings=void 0;this.mutableBinding=void 0;this.scopes=void 0;this.scope=void 0;this.path=void 0;this.attachAfter=void 0;this.breakOnScopePaths=[];this.bindings={};this.mutableBinding=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.indexOf(e.path)>=0){break}}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e){t=e.scope.parent}if(t.path.isProgram()||t.path.isFunction()){for(const r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if(n.kind==="param"||n.path.parentKey==="params"){continue}const i=this.getAttachmentParentForPath(n.path);if(i.key>=e.key){this.attachAfter=true;e=n.path;for(const t of n.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const r=[function(e,t){const r=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(r){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&(e.key==="consequent"||e.key==="alternate")||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}];t.hooks=r},26266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ForAwaitStatement=t.NumericLiteralTypeAnnotation=t.ExistentialTypeParam=t.SpreadProperty=t.RestProperty=t.Flow=t.Pure=t.Generated=t.User=t.Var=t.BlockScoped=t.Referenced=t.Scope=t.Expression=t.Statement=t.BindingIdentifier=t.ReferencedMemberExpression=t.ReferencedIdentifier=void 0;var n=r(79584);const i={types:["Identifier","JSXIdentifier"],checkPath(e,t){const{node:r,parent:i}=e;if(!n.isIdentifier(r,t)&&!n.isJSXMemberExpression(i,t)){if(n.isJSXIdentifier(r,t)){if(n.react.isCompatTag(r.name))return false}else{return false}}return n.isReferenced(r,i,e.parentPath.parent)}};t.ReferencedIdentifier=i;const s={types:["MemberExpression"],checkPath({node:e,parent:t}){return n.isMemberExpression(e)&&n.isReferenced(e,t)}};t.ReferencedMemberExpression=s;const a={types:["Identifier"],checkPath(e){const{node:t,parent:r}=e;const i=e.parentPath.parent;return n.isIdentifier(t)&&n.isBinding(t,r,i)}};t.BindingIdentifier=a;const o={types:["Statement"],checkPath({node:e,parent:t}){if(n.isStatement(e)){if(n.isVariableDeclaration(e)){if(n.isForXStatement(t,{left:e}))return false;if(n.isForStatement(t,{init:e}))return false}return true}else{return false}}};t.Statement=o;const l={types:["Expression"],checkPath(e){if(e.isIdentifier()){return e.isReferencedIdentifier()}else{return n.isExpression(e.node)}}};t.Expression=l;const u={types:["Scopable","Pattern"],checkPath(e){return n.isScope(e.node,e.parent)}};t.Scope=u;const p={checkPath(e){return n.isReferenced(e.node,e.parent)}};t.Referenced=p;const c={checkPath(e){return n.isBlockScoped(e.node)}};t.BlockScoped=c;const f={types:["VariableDeclaration"],checkPath(e){return n.isVar(e.node)}};t.Var=f;const d={checkPath(e){return e.node&&!!e.node.loc}};t.User=d;const y={checkPath(e){return!e.isUser()}};t.Generated=y;const h={checkPath(e,t){return e.scope.isPure(e.node,t)}};t.Pure=h;const m={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath({node:e}){if(n.isFlow(e)){return true}else if(n.isImportDeclaration(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(n.isExportDeclaration(e)){return e.exportKind==="type"}else if(n.isImportSpecifier(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}};t.Flow=m;const T={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectPattern()}};t.RestProperty=T;const S={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectExpression()}};t.SpreadProperty=S;const b={types:["ExistsTypeAnnotation"]};t.ExistentialTypeParam=b;const E={types:["NumberLiteralTypeAnnotation"]};t.NumericLiteralTypeAnnotation=E;const g={types:["ForOfStatement"],checkPath({node:e}){return e.await===true}};t.ForAwaitStatement=g},38186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.insertBefore=insertBefore;t._containerInsert=_containerInsert;t._containerInsertBefore=_containerInsertBefore;t._containerInsertAfter=_containerInsertAfter;t.insertAfter=insertAfter;t.updateSiblingKeys=updateSiblingKeys;t._verifyNodeList=_verifyNodeList;t.unshiftContainer=unshiftContainer;t.pushContainer=pushContainer;t.hoist=hoist;var n=r(90356);var i=r(67234);var s=r(10904);var a=r(79584);function insertBefore(e){this._assertUnremoved();const t=this._verifyNodeList(e);const{parentPath:r}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||r.isExportNamedDeclaration()||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertBefore(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.unshiftContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function _containerInsert(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let n=0;n{return a.isExpression(e)?a.expressionStatement(e):e}))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){const e=this.node;let{scope:n}=this;if(n.path.isPattern()){a.assertExpression(e);this.replaceWith(a.callExpression(a.arrowFunctionExpression([],e),[]));this.get("callee.body").insertAfter(t);return[this]}if(r.isMethod({computed:true,key:e})){n=n.parent}const i=n.generateDeclaredUidIdentifier();t.unshift(a.expressionStatement(a.assignmentExpression("=",a.cloneNode(i),e)));t.push(a.expressionStatement(a.cloneNode(i)))}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertAfter(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.pushContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(const[,n]of r){if(n.key>=e){n.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.remove=remove;t._removeFromScope=_removeFromScope;t._callRemovalHooks=_callRemovalHooks;t._remove=_remove;t._markRemoved=_markRemoved;t._assertUnremoved=_assertUnremoved;var n=r(94126);var i=r(90356);var s=r(10904);function remove(){var e;this._assertUnremoved();this.resync();if(!((e=this.opts)!=null&&e.noScope)){this._removeFromScope()}if(this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings();this._remove();this._markRemoved()}function _removeFromScope(){const e=this.getBindingIdentifiers();Object.keys(e).forEach(e=>this.scope.removeBinding(e))}function _callRemovalHooks(){for(const e of n.hooks){if(e(this,this.parentPath))return true}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);this.updateSiblingKeys(this.key,-1)}else{this._replaceWith(null)}}function _markRemoved(){this._traverseFlags|=s.SHOULD_SKIP|s.REMOVED;if(this.parent)i.path.get(this.parent).delete(this.node);this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},79002:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;t.replaceWith=replaceWith;t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;var n=r(16619);var i=r(58941);var s=r(10904);var a=r(90356);var o=r(58157);var l=r(79584);var u=r(28497);function replaceWithMultiple(e){var t;this.resync();e=this._verifyNodeList(e);l.inheritLeadingComments(e[0],this.node);l.inheritTrailingComments(e[e.length-1],this.node);(t=a.path.get(this.parent))==null?void 0:t.delete(this.node);this.node=this.container[this.key]=null;const r=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return r}function replaceWithSourceString(e){this.resync();try{e=`(${e})`;e=(0,o.parse)(e)}catch(t){const r=t.loc;if(r){t.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}});t.code="BABEL_REPLACE_SOURCE_ERROR"}throw t}e=e.program.body[0].expression;i.default.removeProperties(e);return this.replaceWith(e)}function replaceWith(e){this.resync();if(this.removed){throw new Error("You can't replace this node, we've already removed it")}if(e instanceof s.default){e=e.node}if(!e){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===e){return[this]}if(this.isProgram()&&!l.isProgram(e)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(e)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof e==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let t="";if(this.isNodeType("Statement")&&l.isExpression(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)&&!this.parentPath.isExportDefaultDeclaration()){e=l.expressionStatement(e);t="expression"}}if(this.isNodeType("Expression")&&l.isStatement(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)){return this.replaceExpressionWithStatements([e])}}const r=this.node;if(r){l.inheritsComments(e,r);l.removeComments(r)}this._replaceWith(e);this.type=e.type;this.setScope();this.requeue();return[t?this.get(t):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){l.validate(this.parent,this.key,[e])}else{l.validate(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=a.path.get(this.parent))==null?void 0:t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){this.resync();const t=l.toSequenceExpression(e,this.scope);if(t){return this.replaceWith(t)[0].get("expressions")}const r=this.getFunctionParent();const n=r==null?void 0:r.is("async");const s=r==null?void 0:r.is("generator");const a=l.arrowFunctionExpression([],l.blockStatement(e));this.replaceWith(l.callExpression(a,[]));const o=this.get("callee");(0,u.default)(o.get("body"),e=>{this.scope.push({id:e})},"var");const p=this.get("callee").getCompletionRecords();for(const e of p){if(!e.isExpressionStatement())continue;const t=e.findParent(e=>e.isLoop());if(t){let r=t.getData("expressionReplacementReturnUid");if(!r){r=o.scope.generateDeclaredUidIdentifier("ret");o.get("body").pushContainer("body",l.returnStatement(l.cloneNode(r)));t.setData("expressionReplacementReturnUid",r)}else{r=l.identifier(r.name)}e.get("expression").replaceWith(l.assignmentExpression("=",l.cloneNode(r),e.node.expression))}else{e.replaceWith(l.returnStatement(e.node.expression))}}o.arrowFunctionToExpression();const c=o;const f=n&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",l.FUNCTION_TYPES);const d=s&&i.default.hasType(this.get("callee.body").node,"YieldExpression",l.FUNCTION_TYPES);if(f){c.set("async",true);if(!d){this.replaceWith(l.awaitExpression(this.node))}}if(d){c.set("generator",true);this.replaceWith(l.yieldExpression(this.node,true))}return c.get("body.body")}function replaceInline(e){this.resync();if(Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},65851:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Binding{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0;this.scope=void 0;this.path=void 0;this.kind=void 0;this.constantViolations=[];this.constant=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=r;this.kind=n;this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.indexOf(e)!==-1){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.indexOf(e)!==-1){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t.default=Binding},16049:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(25866);var i=r(58941);var s=r(65851);var a=r(41389);var o=r(79584);var l=r(90356);function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(o.isModuleDeclaration(e)){if((o.isExportAllDeclaration(e)||o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.source){gatherNodeParts(e.source,t)}else if((o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.specifiers&&e.specifiers.length){for(const r of e.specifiers)gatherNodeParts(r,t)}else if((o.isExportDefaultDeclaration(e)||o.isExportNamedDeclaration(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(o.isModuleSpecifier(e)){gatherNodeParts(e.local,t)}else if(o.isLiteral(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const r of e.properties){gatherNodeParts(r,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":t.push(e.name);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}const u={For(e){for(const t of o.FOR_INIT_KEYS){const r=e.get(t);if(r.isVar()){const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerBinding("var",r)}}},Declaration(e){if(e.isBlockScoped())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier()){t.constantViolations.push(e)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(o.isExportAllDeclaration(t))return;const n=t.declaration;if(o.isClassDeclaration(n)||o.isFunctionDeclaration(n)){const t=n.id;if(!t)return;const i=r.getBinding(t.name);if(i)i.reference(e)}else if(o.isVariableDeclaration(n)){for(const t of n.declarations){for(const n of Object.keys(o.getBindingIdentifiers(t))){const t=r.getBinding(n);if(t)t.reference(e)}}}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const r=t.getBlockParent();r.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){if(e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e.get("id"),e)}const t=e.get("params");for(const r of t){e.scope.registerBinding("param",r)}},ClassExpression(e){if(e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e)}}};let p=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.labels=void 0;this.inited=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const r=l.scope.get(t);if((r==null?void 0:r.path)===e){return r}l.scope.set(t,this);this.uid=p++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,r=this.path;do{const e=r.key==="key";r=r.parentPath;if(e&&r.isMethod())r=r.parentPath;if(r&&r.isScope())t=r}while(r&&!t);return(e=t)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,i.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return o.cloneNode(t)}generateUidIdentifier(e){return o.identifier(this.generateUid(e))}generateUid(e="temp"){e=o.toIdentifier(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let t;let r=1;do{t=this._generateUid(e,r);r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();n.references[t]=true;n.uids[t]=true;return t}_generateUid(e,t){let r=e;if(t>1)r+=t;return`_${r}`}generateUidBasedOnNode(e,t){const r=[];gatherNodeParts(e,r);let n=r.join("$");n=n.replace(/^_/,"")||t||"ref";return this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return o.identifier(this.generateUidBasedOnNode(e,t))}isStatic(e){if(o.isThisExpression(e)||o.isSuper(e)){return true}if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const r=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:r});return o.cloneNode(r)}return r}}checkBlockScopedCollisions(e,t,r,n){if(t==="param")return;if(e.kind==="local")return;const i=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&(t==="let"||t==="const");if(i){throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}}rename(e,t,r){const i=this.getBinding(e);if(i){t=t||this.generateUidIdentifier(e).name;return new n.default(i,e,t).rename(r)}}_renameFromMap(e,t,r,n){if(e[t]){e[r]=n;e[t]=null}}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,r){if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(o.isArrayExpression(e)){return e}if(o.isIdentifier(e,{name:"arguments"})){return o.callExpression(o.memberExpression(o.memberExpression(o.memberExpression(o.identifier("Array"),o.identifier("prototype")),o.identifier("slice")),o.identifier("call")),[e])}let n;const i=[e];if(t===true){n="toConsumableArray"}else if(t){i.push(o.numericLiteral(t));n="slicedToArray"}else{n="toArray"}if(r){i.unshift(this.hub.addHelper(n));n="maybeArrayLike"}return o.callExpression(this.hub.addHelper(n),i)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement()){this.registerLabel(e)}else if(e.isFunctionDeclaration()){this.registerBinding("hoisted",e.get("id"),e)}else if(e.isVariableDeclaration()){const t=e.get("declarations");for(const r of t){this.registerBinding(e.node.kind,r)}}else if(e.isClassDeclaration()){this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.get("specifiers");for(const e of t){this.registerBinding("module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return o.unaryExpression("void",o.numericLiteral(0),true)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const t=this.getBinding(r);if(t)t.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r){this.registerBinding(e,t)}return}const n=this.getProgramParent();const i=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(i)){n.references[t]=true;for(const n of i[t]){const i=this.getOwnBinding(t);if(i){if(i.identifier===n)continue;this.checkBlockScopedCollisions(i,e,t,n)}if(i){this.registerConstantViolation(r)}else{this.bindings[t]=new s.default({identifier:n,scope:this,path:r,kind:e})}}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(o.isIdentifier(e)){const r=this.getBinding(e.name);if(!r)return false;if(t)return r.constant;return true}else if(o.isClass(e)){if(e.superClass&&!this.isPure(e.superClass,t)){return false}return this.isPure(e.body,t)}else if(o.isClassBody(e)){for(const r of e.body){if(!this.isPure(r,t))return false}return true}else if(o.isBinary(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(o.isArrayExpression(e)){for(const r of e.elements){if(!this.isPure(r,t))return false}return true}else if(o.isObjectExpression(e)){for(const r of e.properties){if(!this.isPure(r,t))return false}return true}else if(o.isMethod(e)){if(e.computed&&!this.isPure(e.key,t))return false;if(e.kind==="get"||e.kind==="set")return false;return true}else if(o.isProperty(e)){if(e.computed&&!this.isPure(e.key,t))return false;return this.isPure(e.value,t)}else if(o.isUnaryExpression(e)){return this.isPure(e.argument,t)}else if(o.isTaggedTemplateExpression(e)){return o.matchesPattern(e.tag,"String.raw")&&!this.hasBinding("String",true)&&this.isPure(e.quasi,t)}else if(o.isTemplateLiteral(e)){for(const r of e.expressions){if(!this.isPure(r,t))return false}return true}else{return o.isPureish(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(r!=null)return r}while(t=t.parent)}removeData(e){let t=this;do{const r=t.data[e];if(r!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;this.references=Object.create(null);this.bindings=Object.create(null);this.globals=Object.create(null);this.uids=Object.create(null);this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const r={references:[],constantViolations:[],assignments:[]};this.crawling=true;if(e.type!=="Program"&&u._exploded){for(const t of u.enter){t(e,r)}const t=u[e.type];if(t){for(const n of t.enter){n(e,r)}}}e.traverse(u,r);this.crawling=false;for(const e of r.assignments){const r=e.getBindingIdentifiers();for(const n of Object.keys(r)){if(e.scope.getBinding(n))continue;t.addGlobal(r[n])}e.scope.registerConstantViolation(e)}for(const e of r.references){const r=e.scope.getBinding(e.node.name);if(r){r.reference(e)}else{t.addGlobal(e.node)}}for(const e of r.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const r=e.unique;const n=e.kind||"var";const i=e._blockHoist==null?2:e._blockHoist;const s=`declaration:${n}:${i}`;let a=!r&&t.getData(s);if(!a){const e=o.variableDeclaration(n,[]);e._blockHoist=i;[a]=t.unshiftContainer("body",[e]);if(!r)t.setData(s,a)}const l=o.variableDeclarator(e.id,e.init);a.node.declarations.push(l);this.registerBinding(n,a.get("declarations").pop())}getProgramParent(){let e=this;do{if(e.path.isProgram()){return e}}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent()){return e}}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent()){return e}}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const r of Object.keys(t.bindings)){if(r in e===false){e[r]=t.bindings[r]}}t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const i=e.bindings[n];if(i.kind===r)t[n]=i}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let r;do{const i=t.getOwnBinding(e);if(i){var n;if((n=r)!=null&&n.isPattern()&&i.kind!=="param"){}else{return i}}r=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return false;if(this.hasOwnBinding(e))return true;if(this.parentHasBinding(e,t))return true;if(this.hasUid(e))return true;if(!t&&Scope.globals.includes(e))return true;if(!t&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);if(r){r.scope.removeOwnBinding(e);r.scope=t;t.bindings[e]=r}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null?void 0:t.scope.removeOwnBinding(e);let r=this;do{if(r.uids[e]){r.uids[e]=false}}while(r=r.parent)}}t.default=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},25866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(65851);var i=r(76729);var s=r(79584);const a={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){skipAllButComputedMethodKey(e)}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.getOuterBindingIdentifiers();for(const e in r){if(e===t.oldName)r[e].name=t.newName}}};class Renamer{constructor(e,t,r){this.newName=r;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()&&!t.get("declaration").node.id){return}(0,i.default)(t)}maybeConvertFromClassFunctionDeclaration(e){return;if(!e.isFunctionDeclaration()&&!e.isClassDeclaration())return;if(this.binding.kind!=="hoisted")return;e.node.id=s.identifier(this.oldName);e.node._blockHoist=3;e.replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.identifier(this.newName),s.toExpression(e.node))]))}maybeConvertFromClassFunctionExpression(e){return;if(!e.isFunctionExpression()&&!e.isClassExpression())return;if(this.binding.kind!=="local")return;e.node.id=s.identifier(this.oldName);this.binding.scope.parent.push({id:s.identifier(this.newName)});e.replaceWith(s.assignmentExpression("=",s.identifier(this.newName),e.node))}rename(e){const{binding:t,oldName:r,newName:n}=this;const{scope:i,path:s}=t;const o=s.find(e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression());if(o){const e=o.getOuterBindingIdentifiers();if(e[r]===t.identifier){this.maybeConvertFromExportDeclaration(o)}}const l=e||i.block;if((l==null?void 0:l.type)==="SwitchStatement"){l.cases.forEach(e=>{i.traverse(e,a,this)})}else{i.traverse(l,a,this)}if(!e){i.removeOwnBinding(r);i.bindings[n]=t;this.binding.identifier.name=n}if(o){this.maybeConvertFromClassFunctionDeclaration(o);this.maybeConvertFromClassFunctionExpression(o)}}}t.default=Renamer;function skipAllButComputedMethodKey(e){if(!e.isMethod()||!e.node.computed){e.skip();return}const t=s.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}},56485:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.explode=explode;t.verify=verify;t.merge=merge;var n=r(26266);var i=r(79584);function explode(e){if(e._exploded)return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=t.split("|");if(r.length===1)continue;const n=e[t];delete e[t];for(const t of r){e[t]=n}}verify(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=n[t];if(!r)continue;const i=e[t];for(const e of Object.keys(i)){i[e]=wrapCheck(r,i[e])}delete e[t];if(r.types){for(const t of r.types){if(e[t]){mergePair(e[t],i)}else{e[t]=i}}}else{mergePair(e,i)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];let n=i.FLIPPED_ALIAS_KEYS[t];const s=i.DEPRECATED_KEYS[t];if(s){console.trace(`Visitor defined for ${t} but it has been renamed to ${s}`);n=[s]}if(!n)continue;delete e[t];for(const t of n){const n=e[t];if(n){mergePair(n,r)}else{e[t]=Object.assign({},r)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify(e){if(e._verified)return;if(typeof e==="function"){throw new Error("You passed `traverse()` a function when it expected a visitor object, "+"are you sure you didn't mean `{ enter: Function }`?")}for(const t of Object.keys(e)){if(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(i.TYPES.indexOf(t)<0){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`)}const r=e[t];if(typeof r==="object"){for(const e of Object.keys(r)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,r[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const r=[].concat(t);for(const t of r){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],r){const n={};for(let i=0;ie.toString())}return n});n[i]=s}return n}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];if(typeof r==="function"){e[t]={enter:r}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const r=function(r){if(e.checkPath(r)){return t.apply(this,arguments)}};r.toString=(()=>t.toString());return r}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"){return true}return false}function mergePair(e,t){for(const r of Object.keys(t)){e[r]=[].concat(e[r]||[],t[r])}}},48542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(10576);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},49309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(88035);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},78666:()=>{},91496:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(86024);var i=r(34233);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(15035);var i=r(6389);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},46551:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(15035);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},15035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(91496);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},90980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(15035)},11313:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(91784);var i=r(22541);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(15035);var i=r(53158);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},86938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(12613);function clone(e){return(0,n.default)(e,false)}},98290:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(12613);function cloneDeep(e){return(0,n.default)(e)}},15703:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(12613);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},12613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(86024);var i=r(91784);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},82934:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(12613);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},84365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(99735);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},99735:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},80304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(28120);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},73512:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(28120);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},26244:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(28120);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},33928:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(26244);var i=r(73512);var s=r(80304);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},95460:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(91442);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},60638:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(86024);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},91442:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},8133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(27817);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},25520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(99529);var i=r(91784);var s=r(15035);var a=r(12613);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},11655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(10188);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},27817:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(91784);var i=r(15035);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},54784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(91784);var i=r(15035);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},16653:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(91784);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},10188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(52288);var i=r(85531);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},6060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(91784);var i=r(12613);var s=r(37552);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},55096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(25520);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},75121:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(91784);var i=r(15035);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},90990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(52288);var i=r(15035);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},28264:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(88035);var i=r(52288);var s=r(85531);var a=r(91442);var o=r(34382);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},33471:(e,t,r)=>{"use strict";var n=r(34382);var i=r(28264);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},97166:(e,t,r)=>{"use strict";var n=r(34382);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:false},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"))}})},86024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(28264);r(97166);r(51009);r(77673);r(33471);r(84380);var i=r(34382);var s=r(40564);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},51009:(e,t,r)=>{"use strict";var n=r(34382);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},77673:(e,t,r)=>{"use strict";var n=r(34382);var i=r(40564);{(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")}}})},40564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(34382);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},84380:(e,t,r)=>{"use strict";var n=r(34382);var i=r(28264);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},34382:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(88035);var i=r(34233);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},79584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(16514);var s=r(5547);var a=r(11313);var o=r(48542);var l=r(49309);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(46551);var p=r(896);var c=r(40808);var f=r(15035);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(90980);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(12613);var h=r(86938);var m=r(98290);var T=r(15703);var S=r(82934);var b=r(84365);var E=r(99735);var g=r(80304);var x=r(73512);var P=r(33928);var A=r(26244);var v=r(95460);var O=r(60638);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(91442);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(8133);var D=r(11655);var N=r(27817);var C=r(54784);var j=r(16653);var _=r(10188);var L=r(6060);var k=r(55096);var B=r(75121);var M=r(90990);var F=r(86024);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(33073);var K=r(6291);var V=r(12437);var U=r(18192);var X=r(37552);var J=r(6389);var Y=r(99529);var W=r(50756);var q=r(98973);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(3441);var H=r(51927);var G=r(88035);var $=r(26762);var Q=r(20620);var Z=r(71768);var ee=r(86445);var te=r(10576);var re=r(70208);var ne=r(52041);var ie=r(56325);var se=r(59555);var ae=r(71324);var oe=r(17258);var le=r(53464);var ue=r(52288);var pe=r(17039);var ce=r(88730);var fe=r(34233);var de=r(19536);var ye=r(91784);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(78666);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},33073:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(15035);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},6389:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(91784);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},6291:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(91442);var i=r(33928);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},12437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(15035);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},18192:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(91442);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},37552:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(3441);var i=r(18192);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},53158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(91784);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},99529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(91784);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(99529);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},98973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(86024);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(86024);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},28120:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},22541:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(15035);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},19536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(88730);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},91784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(51927);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},88035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(51927);var i=r(17258);var s=r(52041);var a=r(86024);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},26762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(99529);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},20620:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(91784);var i=r(86445);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},71768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(17258);var i=r(91784);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},86445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(91784);var i=r(91442);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},10576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(86024);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},70208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(86024);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(86024);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},56325:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},59555:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(91784);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},71324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(91784);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},17258:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(86024);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},53464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(52288);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},52288:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(85531);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},17039:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(91784);var i=r(91442);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},88730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(91784);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},16514:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(19536);const i=(0,n.default)("React.Component");var s=i;t.default=s},34233:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(86024);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},19078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;const r=/^[ \t]+$/;class Buffer{constructor(e){this._map=null;this._buf="";this._last=0;this._queue=[];this._position={line:1,column:0};this._sourcePosition={identifierName:null,line:null,column:null,filename:null};this._disallowedPop=null;this._map=e}get(){this._flush();const e=this._map;const t={code:this._buf.trimRight(),map:null,rawMappings:e==null?void 0:e.getRawMappings()};if(e){Object.defineProperty(t,"map",{configurable:true,enumerable:true,get(){return this.map=e.get()},set(e){Object.defineProperty(this,"map",{value:e,writable:true})}})}return t}append(e){this._flush();const{line:t,column:r,filename:n,identifierName:i,force:s}=this._sourcePosition;this._append(e,t,r,i,n,s)}queue(e){if(e==="\n"){while(this._queue.length>0&&r.test(this._queue[0][0])){this._queue.shift()}}const{line:t,column:n,filename:i,identifierName:s,force:a}=this._sourcePosition;this._queue.unshift([e,t,n,s,i,a])}_flush(){let e;while(e=this._queue.pop()){this._append(...e)}}_append(e,t,r,n,i,s){this._buf+=e;this._last=e.charCodeAt(e.length-1);let a=e.indexOf("\n");let o=0;if(a!==0){this._mark(t,r,n,i,s)}while(a!==-1){this._position.line++;this._position.column=0;o=a+1;if(o0&&this._queue[0][0]==="\n"){this._queue.shift()}}removeLastSemicolon(){if(this._queue.length>0&&this._queue[0][0]===";"){this._queue.shift()}}getLastChar(){let e;if(this._queue.length>0){const t=this._queue[0][0];e=t.charCodeAt(0)}else{e=this._last}return e}endsWithCharAndNewline(){const e=this._queue;if(e.length>0){const t=e[0][0];const r=t.charCodeAt(0);if(r!==10)return;if(e.length>1){const t=e[1][0];return t.charCodeAt(0)}else{return this._last}}}hasContent(){return this._queue.length>0||!!this._last}exactSource(e,t){this.source("start",e,true);t();this.source("end",e);this._disallowPop("start",e)}source(e,t,r){if(e&&!t)return;this._normalizePosition(e,t,this._sourcePosition,r)}withSource(e,t,r){if(!this._map)return r();const n=this._sourcePosition.line;const i=this._sourcePosition.column;const s=this._sourcePosition.filename;const a=this._sourcePosition.identifierName;this.source(e,t);r();if((!this._sourcePosition.force||this._sourcePosition.line!==n||this._sourcePosition.column!==i||this._sourcePosition.filename!==s)&&(!this._disallowedPop||this._disallowedPop.line!==n||this._disallowedPop.column!==i||this._disallowedPop.filename!==s)){this._sourcePosition.line=n;this._sourcePosition.column=i;this._sourcePosition.filename=s;this._sourcePosition.identifierName=a;this._sourcePosition.force=false;this._disallowedPop=null}}_disallowPop(e,t){if(e&&!t)return;this._disallowedPop=this._normalizePosition(e,t)}_normalizePosition(e,t,r,n){const i=t?t[e]:null;if(r===undefined){r={identifierName:null,line:null,column:null,filename:null,force:false}}const s=r.line;const a=r.column;const o=r.filename;r.identifierName=e==="start"&&(t==null?void 0:t.identifierName)||null;r.line=i==null?void 0:i.line;r.column=i==null?void 0:i.column;r.filename=t==null?void 0:t.filename;if(n||r.line!==s||r.column!==a||r.filename!==o){r.force=n}return r}getCurrentColumn(){const e=this._queue.reduce((e,t)=>t[0]+e,"");const t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t}getCurrentLine(){const e=this._queue.reduce((e,t)=>t[0]+e,"");let t=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.File=File;t.Program=Program;t.BlockStatement=BlockStatement;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;var n=r(97163);function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){this.printInnerComments(e,false);this.printSequence(e.directives,e);if(e.directives&&e.directives.length)this.newline();this.printSequence(e.body,e)}function BlockStatement(e){var t;this.token("{");this.printInnerComments(e);const r=(t=e.directives)==null?void 0:t.length;if(e.body.length||r){this.newline();this.printSequence(e.directives,e,{indent:true});if(r)this.newline();this.printSequence(e.body,e,{indent:true});this.removeTrailingNewline();this.source("end",e.loc);if(!this.endsWith(10))this.newline();this.rightBrace()}else{this.source("end",e.loc);this.token("}")}}function Directive(e){this.print(e.value,e);this.semicolon()}const i=/(?:^|[^\\])(?:\\\\)*'/;const s=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t);return}const{value:r}=e;if(!s.test(r)){this.token(`"${r}"`)}else if(!i.test(r)){this.token(`'${r}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}\n`)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},80111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassBody=ClassBody;t.ClassProperty=ClassProperty;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t._classMethodHead=_classMethodHead;t.StaticBlock=StaticBlock;var n=r(97163);const{isExportDefaultDeclaration:i,isExportNamedDeclaration:s}=n;function ClassDeclaration(e,t){if(!this.format.decoratorsBeforeExport||!i(t)&&!s(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.token("{");this.printInnerComments(e);if(e.body.length===0){this.token("}")}else{this.newline();this.indent();this.printSequence(e.body,e);this.dedent();if(!this.endsWith(10))this.newline();this.rightBrace()}}function ClassProperty(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,true);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.token("?")}if(e.definite){this.token("!")}this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,false);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.token("{");if(e.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace()}}},94447:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UnaryExpression=UnaryExpression;t.DoExpression=DoExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.UpdateExpression=UpdateExpression;t.ConditionalExpression=ConditionalExpression;t.NewExpression=NewExpression;t.SequenceExpression=SequenceExpression;t.ThisExpression=ThisExpression;t.Super=Super;t.Decorator=Decorator;t.OptionalMemberExpression=OptionalMemberExpression;t.OptionalCallExpression=OptionalCallExpression;t.CallExpression=CallExpression;t.Import=Import;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.AssignmentPattern=AssignmentPattern;t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.BindExpression=BindExpression;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.PrivateName=PrivateName;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.ModuleExpression=ModuleExpression;t.AwaitExpression=t.YieldExpression=void 0;var n=r(97163);var i=r(40523);const{isCallExpression:s,isLiteral:a,isMemberExpression:o,isNewExpression:l}=n;function UnaryExpression(e){if(e.operator==="void"||e.operator==="delete"||e.operator==="typeof"||e.operator==="throw"){this.word(e.operator);this.space()}else{this.token(e.operator)}this.print(e.argument,e)}function DoExpression(e){if(e.async){this.word("async");this.space()}this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.token("(");this.print(e.expression,e);this.token(")")}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.startTerminatorless(true);this.print(e.argument,e);this.endTerminatorless();this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.token("?");this.space();this.print(e.consequent,e);this.space();this.token(":");this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!s(t,{callee:e})&&!o(t)&&!l(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function Decorator(e){this.token("@");this.print(e.expression,e);this.newline()}function OptionalMemberExpression(e){this.print(e.object,e);if(!e.computed&&o(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(a(e.property)&&typeof e.property.value==="number"){t=true}if(e.optional){this.token("?.")}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{if(!e.optional){this.token(".")}this.print(e.property,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.token("(");this.printList(e.arguments,e);this.token(")")}function Import(){this.word("import")}function buildYieldAwait(e){return function(t){this.word(e);if(t.delegate){this.token("*")}if(t.argument){this.space();const e=this.startTerminatorless();this.print(t.argument,t);this.endTerminatorless(e)}}}const u=buildYieldAwait("yield");t.YieldExpression=u;const p=buildYieldAwait("await");t.AwaitExpression=p;function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.token("?");this.print(e.left.typeAnnotation,e);this.space();this.token("=");this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!i.needsParens(e,t);if(r){this.token("(")}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.token(")")}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&o(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(a(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{this.token(".");this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.token(".");this.print(e.property,e)}function PrivateName(e){this.token("#");this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.token("%");this.word(e.name)}function ModuleExpression(e){this.word("module");this.space();this.token("{");if(e.body.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body.body,e,{indent:true});this.rightBrace()}}},95755:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareFunction=DeclareFunction;t.InferredPredicate=InferredPredicate;t.DeclaredPredicate=DeclaredPredicate;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareVariable=DeclareVariable;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.EnumDeclaration=EnumDeclaration;t.EnumBooleanBody=EnumBooleanBody;t.EnumNumberBody=EnumNumberBody;t.EnumStringBody=EnumStringBody;t.EnumSymbolBody=EnumSymbolBody;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumBooleanMember=EnumBooleanMember;t.EnumNumberMember=EnumNumberMember;t.EnumStringMember=EnumStringMember;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t._interfaceish=_interfaceish;t._variance=_variance;t.InterfaceDeclaration=InterfaceDeclaration;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;t.NumberTypeAnnotation=NumberTypeAnnotation;t.StringTypeAnnotation=StringTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeParameter=TypeParameter;t.OpaqueType=OpaqueType;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;t.IndexedAccessType=IndexedAccessType;t.OptionalIndexedAccessType=OptionalIndexedAccessType;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return s.NumericLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return s.StringLiteral}});var n=r(97163);var i=r(65132);var s=r(717);const{isDeclareExportDeclaration:a,isStatement:o}=n;function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e);this.token("[");this.token("]")}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!a(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!a(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.token("%");this.word("checks")}function DeclaredPredicate(e){this.token("%");this.word("checks");this.token("(");this.print(e.value,e);this.token(")")}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.token(".");this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!a(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!a(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.apply(this,arguments)}function DeclareExportAllDeclaration(){this.word("declare");this.space();i.ExportAllDeclaration.apply(this,arguments)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}if(t.hasUnknownMembers){e.token("...");e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.token(",")}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!o(t))this.semicolon()}else{this.token("{");if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.token("}");if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.token("*")}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.token("(");if(e.this){this.word("this");this.token(":");this.space();this.print(e.this.typeAnnotation,e);if(e.params.length||e.rest){this.token(",");this.space()}}this.printList(e.params,e);if(e.rest){if(e.params.length){this.token(",");this.space()}this.token("...");this.print(e.rest,e)}this.token(")");if(t.type==="ObjectTypeCallProperty"||t.type==="DeclareFunction"||t.type==="ObjectTypeProperty"&&t.method){this.token(":")}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.token("?");if(e.name){this.token(":");this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e)}function _interfaceish(e){var t;this.print(e.id,e);this.print(e.typeParameters,e);if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.mixins&&e.mixins.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if(e.implements&&e.implements.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function _variance(e){if(e.variance){if(e.variance.kind==="plus"){this.token("+")}else if(e.variance.kind==="minus"){this.token("-")}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.token("&");this.space()}function InterfaceTypeAnnotation(e){this.word("interface");if(e.extends&&e.extends.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.token("?");this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.token("[");this.printList(e.types,e);this.token("]")}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.token("=");this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.token(":");this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.token("=");this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.token("{")}const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];if(t.length){this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.token(",");this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.token("}")}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.token("[");this.token("[");this.print(e.id,e);this.token("]");this.token("]");if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.token("[");if(e.id){this.print(e.id,e);this.token(":");this.space()}this.print(e.key,e);this.token("]");this.token(":");this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.token(".");this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.token("|");this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.token("(");this.print(e.expression,e);this.print(e.typeAnnotation,e);this.token(")")}function Variance(e){if(e.kind==="plus"){this.token("+")}else{this.token("-")}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function OptionalIndexedAccessType(e){this.print(e.objectType,e);if(e.optional){this.token("?.")}this.token("[");this.print(e.indexType,e);this.token("]")}},52506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(60699);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})});var i=r(94447);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})});var s=r(15994);Object.keys(s).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})});var a=r(80111);Object.keys(a).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})});var o=r(92250);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})});var l=r(65132);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(717);Object.keys(u).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})});var p=r(95755);Object.keys(p).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})});var c=r(10530);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var f=r(10412);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(74871);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})})},10412:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXIdentifier=JSXIdentifier;t.JSXNamespacedName=JSXNamespacedName;t.JSXMemberExpression=JSXMemberExpression;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;t.JSXElement=JSXElement;t.JSXOpeningElement=JSXOpeningElement;t.JSXClosingElement=JSXClosingElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXFragment=JSXFragment;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXClosingFragment=JSXClosingFragment;var n=r(97163);function JSXAttribute(e){this.print(e.name,e);if(e.value){this.token("=");this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.token(":");this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.token(".");this.print(e.property,e)}function JSXSpreadAttribute(e){this.token("{");this.token("...");this.print(e.argument,e);this.token("}")}function JSXExpressionContainer(e){this.token("{");this.print(e.expression,e);this.token("}")}function JSXSpreadChild(e){this.token("{");this.token("...");this.print(e.expression,e);this.token("}")}function JSXText(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t)}else{this.token(e.value)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.token("<");this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.token(">")}}function JSXClosingElement(e){this.token("")}function JSXEmptyExpression(e){this.printInnerComments(e)}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.token("<");this.token(">")}function JSXClosingFragment(){this.token("")}},92250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._params=_params;t._parameters=_parameters;t._param=_param;t._methodHead=_methodHead;t._predicate=_predicate;t._functionHead=_functionHead;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;var n=r(97163);const{isIdentifier:i}=n;function _params(e){this.print(e.typeParameters,e);this.token("(");this._parameters(e.params,e);this.token(")");this.print(e.returnType,e)}function _parameters(e,t){for(let r=0;r");this.space();this.print(e.body,e)}function hasTypesOrComments(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}},65132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImportSpecifier=ImportSpecifier;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportSpecifier=ExportSpecifier;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportAllDeclaration=ExportAllDeclaration;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ImportDeclaration=ImportDeclaration;t.ImportAttribute=ImportAttribute;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;var n=r(97163);const{isClassDeclaration:i,isExportDefaultSpecifier:s,isExportNamespaceSpecifier:a,isImportDefaultSpecifier:o,isImportNamespaceSpecifier:l,isStatement:u}=n;function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.exported,e)}function ExportAllDeclaration(e){this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.token("*");this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e);this.semicolon()}function ExportNamedDeclaration(e){if(this.format.decoratorsBeforeExport&&i(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(e){if(this.format.decoratorsBeforeExport&&i(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();this.word("default");this.space();ExportDeclaration.apply(this,arguments)}function ExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!u(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const t=e.specifiers.slice(0);let r=false;for(;;){const n=t[0];if(s(n)||a(n)){r=true;this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length||!t.length&&!r){this.token("{");if(t.length){this.space();this.printList(t,e);this.space()}this.token("}")}if(e.source){this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e)}this.semicolon()}}function ImportDeclaration(e){this.word("import");this.space();if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}const t=e.specifiers.slice(0);if(t!=null&&t.length){for(;;){const r=t[0];if(o(r)||l(r)){this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length){this.token("{");this.space();this.printList(t,e);this.space();this.token("}")}this.space();this.word("from");this.space()}this.print(e.source,e);this.printAssertions(e);{var r;if((r=e.attributes)!=null&&r.length){this.space();this.word("with");this.space();this.printList(e.attributes,e)}}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.token(":");this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.local,e)}},15994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WithStatement=WithStatement;t.IfStatement=IfStatement;t.ForStatement=ForStatement;t.WhileStatement=WhileStatement;t.DoWhileStatement=DoWhileStatement;t.LabeledStatement=LabeledStatement;t.TryStatement=TryStatement;t.CatchClause=CatchClause;t.SwitchStatement=SwitchStatement;t.SwitchCase=SwitchCase;t.DebuggerStatement=DebuggerStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForOfStatement=t.ForInStatement=void 0;var n=r(97163);const{isFor:i,isForStatement:s,isIfStatement:a,isStatement:o}=n;function WithStatement(e){this.word("with");this.space();this.token("(");this.print(e.object,e);this.token(")");this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.token("(");this.print(e.test,e);this.token(")");this.space();const t=e.alternate&&a(getLastStatement(e.consequent));if(t){this.token("{");this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.token("}")}if(e.alternate){if(this.endsWith(125))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){if(!o(e.body))return e;return getLastStatement(e.body)}function ForStatement(e){this.word("for");this.space();this.token("(");this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.token(";");if(e.test){this.space();this.print(e.test,e)}this.token(";");if(e.update){this.space();this.print(e.update,e)}this.token(")");this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.printBlock(e)}const l=function(e){return function(t){this.word("for");this.space();if(e==="of"&&t.await){this.word("await");this.space()}this.token("(");this.print(t.left,t);this.space();this.word(e);this.space();this.print(t.right,t);this.token(")");this.printBlock(t)}};const u=l("in");t.ForInStatement=u;const p=l("of");t.ForOfStatement=p;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.semicolon()}function buildLabelStatement(e,t="label"){return function(r){this.word(e);const n=r[t];if(n){this.space();const e=t=="label";const i=this.startTerminatorless(e);this.print(n,r);this.endTerminatorless(i)}this.semicolon()}}const c=buildLabelStatement("continue");t.ContinueStatement=c;const f=buildLabelStatement("return","argument");t.ReturnStatement=f;const d=buildLabelStatement("break");t.BreakStatement=d;const y=buildLabelStatement("throw","argument");t.ThrowStatement=y;function LabeledStatement(e){this.print(e.label,e);this.token(":");this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.token("(");this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.token(")");this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.token("(");this.print(e.discriminant,e);this.token(")");this.space();this.token("{");this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.token("}")}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.token(":")}else{this.word("default");this.token(":")}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function variableDeclarationIndent(){this.token(",");this.newline();if(this.endsWith(10)){for(let e=0;e<4;e++)this.space(true)}}function constDeclarationIndent(){this.token(",");this.newline();if(this.endsWith(10)){for(let e=0;e<6;e++)this.space(true)}}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}this.word(e.kind);this.space();let r=false;if(!i(t)){for(const t of e.declarations){if(t.init){r=true}}}let n;if(r){n=e.kind==="const"?constDeclarationIndent:variableDeclarationIndent}this.printList(e.declarations,e,{separator:n});if(i(t)){if(s(t)){if(t.init===e)return}else{if(t.left===e)return}}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.token("!");this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.token("=");this.space();this.print(e.init,e)}}},60699:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;var n=r(97163);function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const i=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(i)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Identifier=Identifier;t.ArgumentPlaceholder=ArgumentPlaceholder;t.SpreadElement=t.RestElement=RestElement;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.RecordExpression=RecordExpression;t.TupleExpression=TupleExpression;t.RegExpLiteral=RegExpLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.StringLiteral=StringLiteral;t.BigIntLiteral=BigIntLiteral;t.DecimalLiteral=DecimalLiteral;t.TopicReference=TopicReference;t.PipelineTopicExpression=PipelineTopicExpression;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;var n=r(97163);var i=r(87504);const{isAssignmentPattern:s,isIdentifier:a}=n;function Identifier(e){this.exactSource(e.loc,()=>{this.word(e.name)})}function ArgumentPlaceholder(){this.token("?")}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.token("{");this.printInnerComments(e);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token("}")}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{if(s(e.value)&&a(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&a(e.key)&&a(e.value)&&e.key.name===e.value.name){return}}this.token(":");this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.token("[");this.printInnerComments(e);for(let n=0;n0)this.space();this.print(i,e);if(n0)this.space();this.print(i,e);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypeParameter=TSTypeParameter;t.TSParameterProperty=TSParameterProperty;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSQualifiedName=TSQualifiedName;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSPropertySignature=TSPropertySignature;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.TSMethodSignature=TSMethodSignature;t.TSIndexSignature=TSIndexSignature;t.TSAnyKeyword=TSAnyKeyword;t.TSBigIntKeyword=TSBigIntKeyword;t.TSUnknownKeyword=TSUnknownKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSVoidKeyword=TSVoidKeyword;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSNullKeyword=TSNullKeyword;t.TSNeverKeyword=TSNeverKeyword;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSThisType=TSThisType;t.TSFunctionType=TSFunctionType;t.TSConstructorType=TSConstructorType;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.TSTypeReference=TSTypeReference;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeLiteral=TSTypeLiteral;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;t.tsPrintBraced=tsPrintBraced;t.TSArrayType=TSArrayType;t.TSTupleType=TSTupleType;t.TSOptionalType=TSOptionalType;t.TSRestType=TSRestType;t.TSNamedTupleMember=TSNamedTupleMember;t.TSUnionType=TSUnionType;t.TSIntersectionType=TSIntersectionType;t.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;t.TSConditionalType=TSConditionalType;t.TSInferType=TSInferType;t.TSParenthesizedType=TSParenthesizedType;t.TSTypeOperator=TSTypeOperator;t.TSIndexedAccessType=TSIndexedAccessType;t.TSMappedType=TSMappedType;t.TSLiteralType=TSLiteralType;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSInterfaceBody=TSInterfaceBody;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSModuleDeclaration=TSModuleDeclaration;t.TSModuleBlock=TSModuleBlock;t.TSImportType=TSImportType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSExternalModuleReference=TSExternalModuleReference;t.TSNonNullExpression=TSNonNullExpression;t.TSExportAssignment=TSExportAssignment;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;var n=r(97163);function TSTypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TSTypeParameter(e){this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e){if(e.declare){this.word("declare");this.space()}this._functionHead(e);this.token(";")}function TSDeclareMethod(e){this._classMethodHead(e);this.token(";")}function TSQualifiedName(e){this.print(e.left,e);this.token(".");this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(";")}function tsPrintPropertyOrMethodName(e){if(e.computed){this.token("[")}this.print(e.key,e);if(e.computed){this.token("]")}if(e.optional){this.token("?")}}function TSMethodSignature(e){const{kind:t}=e;if(t==="set"||t==="get"){this.word(t);this.space()}this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSIndexSignature(e){const{readonly:t,static:r}=e;if(r){this.word("static");this.space()}if(t){this.word("readonly");this.space()}this.token("[");this._parameters(e.parameters,e);this.token("]");this.print(e.typeAnnotation,e);this.token(";")}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){if(e.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.space();this.token("=>");this.space();this.print(e.typeAnnotation.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e);this.print(e.typeParameters,e)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName)}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){this.tsPrintBraced(e,t)}function tsPrintBraced(e,t){this.token("{");if(e.length){this.indent();this.newline();for(const r of e){this.print(r,t);this.newline()}this.dedent();this.rightBrace()}else{this.token("}")}}function TSArrayType(e){this.print(e.elementType,e);this.token("[]")}function TSTupleType(e){this.token("[");this.printList(e.elementTypes,e);this.token("]")}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.token("?")}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.token("?");this.token(":");this.space();this.print(e.elementType,e)}function TSUnionType(e){this.tsPrintUnionOrIntersectionType(e,"|")}function TSIntersectionType(e){this.tsPrintUnionOrIntersectionType(e,"&")}function tsPrintUnionOrIntersectionType(e,t){this.printJoin(e.types,e,{separator(){this.space();this.token(t);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.token("?");this.space();this.print(e.trueType);this.space();this.token(":");this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.token("(");this.print(e.typeAnnotation,e);this.token(")")}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:i}=e;this.token("{");this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.token("[");this.word(i.name);this.space();this.word("in");this.space();this.print(i.constraint,i);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.token("]");if(r){tokenIfPlusMinus(this,r);this.token("?")}this.token(":");this.space();this.print(e.typeAnnotation,e);this.space();this.token("}")}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:i,body:s}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(i!=null&&i.length){this.space();this.word("extends");this.space();this.printList(i,e)}this.space();this.print(s,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:i}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.token("=");this.space();this.print(i,e);this.token(";")}function TSAsExpression(e){const{expression:t,typeAnnotation:r}=e;this.print(t,e);this.space();this.word("as");this.space();this.print(r,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.token("<");this.print(t,e);this.token(">");this.space();this.print(r,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:i}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();this.tsPrintBraced(i,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(",")}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.token(";");return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.token(".");this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){this.tsPrintBraced(e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.token("(");this.print(t,e);this.token(")");if(r){this.token(".");this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.token("=");this.space();this.print(n,e);this.token(";")}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.token(")")}function TSNonNullExpression(e){this.print(e.expression,e);this.token("!")}function TSExportAssignment(e){this.word("export");this.space();this.token("=");this.space();this.print(e.expression,e);this.token(";")}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.print(e.typeAnnotation,e)}function tsPrintClassMemberModifiers(e,t){if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.override){this.word("override");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},43187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generate;t.CodeGenerator=void 0;var n=r(43575);var i=r(79287);class Generator extends i.default{constructor(e,t={},r){const i=normalizeOptions(r,t);const s=t.sourceMaps?new n.default(t,r):null;super(i,s);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:true,minimal:false},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType,topicToken:t.topicToken};{r.jsonCompatibleStrings=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0)}if(r.compact==="auto"){r.compact=e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}return r}class CodeGenerator{constructor(e,t,r){this._generator=void 0;this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function generate(e,t,r){const n=new Generator(e,t,r);return n.generate()}},40523:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsWhitespace=needsWhitespace;t.needsWhitespaceBefore=needsWhitespaceBefore;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsParens=needsParens;var n=r(61269);var i=r(90761);var s=r(97163);const{isCallExpression:a,isExpressionStatement:o,isMemberExpression:l,isNewExpression:u}=s;function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,i){const s=n(e,t,i);return s==null?r(e,t,i):s}:r}for(const t of Object.keys(e)){const r=s.FLIPPED_ALIAS_KEYS[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const p=expandAliases(i);const c=expandAliases(n.nodes);const f=expandAliases(n.list);function find(e,t,r,n){const i=e[t.type];return i?i(t,r,n):null}function isOrHasCallExpression(e){if(a(e)){return true}return l(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return 0;if(o(e)){e=e.expression}let n=find(c,e,t);if(!n){const i=find(f,e,t);if(i){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NullableTypeAnnotation=NullableTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.ObjectExpression=ObjectExpression;t.DoExpression=DoExpression;t.Binary=Binary;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.TSInferType=TSInferType;t.BinaryExpression=BinaryExpression;t.SequenceExpression=SequenceExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;t.ClassExpression=ClassExpression;t.UnaryLike=UnaryLike;t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;t.ConditionalExpression=ConditionalExpression;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.AssignmentExpression=AssignmentExpression;t.LogicalExpression=LogicalExpression;t.Identifier=Identifier;var n=r(97163);const{isArrayTypeAnnotation:i,isArrowFunctionExpression:s,isAssignmentExpression:a,isAwaitExpression:o,isBinary:l,isBinaryExpression:u,isCallExpression:p,isClassDeclaration:c,isClassExpression:f,isConditional:d,isConditionalExpression:y,isExportDeclaration:h,isExportDefaultDeclaration:m,isExpressionStatement:T,isFor:S,isForInStatement:b,isForOfStatement:E,isForStatement:g,isIfStatement:x,isIndexedAccessType:P,isIntersectionTypeAnnotation:A,isLogicalExpression:v,isMemberExpression:O,isNewExpression:I,isNullableTypeAnnotation:w,isObjectPattern:D,isOptionalCallExpression:N,isOptionalMemberExpression:C,isReturnStatement:j,isSequenceExpression:_,isSwitchStatement:L,isTSArrayType:k,isTSAsExpression:B,isTSIntersectionType:M,isTSNonNullExpression:F,isTSOptionalType:R,isTSRestType:K,isTSTypeAssertion:V,isTSUnionType:U,isTaggedTemplateExpression:X,isThrowStatement:J,isTypeAnnotation:Y,isUnaryLike:W,isUnionTypeAnnotation:q,isVariableDeclarator:z,isWhileStatement:H,isYieldExpression:G}=n;const $={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};const Q=(e,t)=>(c(t)||f(t))&&t.superClass===e;const Z=(e,t)=>(O(t)||C(t))&&t.object===e||(p(t)||N(t)||I(t))&&t.callee===e||X(t)&&t.tag===e||F(t);function NullableTypeAnnotation(e,t){return i(t)}function FunctionTypeAnnotation(e,t,r){return q(t)||A(t)||i(t)||Y(t)&&s(r[r.length-3])}function UpdateExpression(e,t){return Z(e,t)||Q(e,t)}function ObjectExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,arrowBody:true})}function DoExpression(e,t,r){return!e.async&&isFirstInContext(r,{expressionStatement:true})}function Binary(e,t){if(e.operator==="**"&&u(t,{operator:"**"})){return t.left===e}if(Q(e,t)){return true}if(Z(e,t)||W(t)||o(t)){return true}if(l(t)){const r=t.operator;const n=$[r];const i=e.operator;const s=$[i];if(n===s&&t.right===e&&!v(t)||n>s){return true}}}function UnionTypeAnnotation(e,t){return i(t)||w(t)||A(t)||q(t)}function OptionalIndexedAccessType(e,t){return P(t,{objectType:e})}function TSAsExpression(){return true}function TSTypeAssertion(){return true}function TSUnionType(e,t){return k(t)||R(t)||M(t)||U(t)||K(t)}function TSInferType(e,t){return k(t)||R(t)}function BinaryExpression(e,t){return e.operator==="in"&&(z(t)||S(t))}function SequenceExpression(e,t){if(g(t)||J(t)||j(t)||x(t)&&t.test===e||H(t)&&t.test===e||b(t)&&t.right===e||L(t)&&t.discriminant===e||T(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return l(t)||W(t)||Z(e,t)||o(t)&&G(e)||y(t)&&e===t.test||Q(e,t)}function ClassExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function UnaryLike(e,t){return Z(e,t)||u(t,{operator:"**",left:e})||Q(e,t)}function FunctionExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function ArrowFunctionExpression(e,t){return h(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(W(t)||l(t)||y(t,{test:e})||o(t)||V(t)||B(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return p(t,{callee:e})||O(t,{object:e})}function AssignmentExpression(e,t){if(D(e.left)){return true}else{return ConditionalExpression(e,t)}}function LogicalExpression(e,t){switch(e.operator){case"||":if(!v(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return v(t,{operator:"??"});case"??":return v(t)&&t.operator!=="??"}}function Identifier(e,t,r){if(e.name==="let"){const n=O(t,{object:e,computed:true})||C(t,{object:e,computed:true,optional:false});return isFirstInContext(r,{expressionStatement:n,forHead:n,forInHead:n,forOfHead:true})}return e.name==="async"&&E(t)&&e===t.left}function isFirstInContext(e,{expressionStatement:t=false,arrowBody:r=false,exportDefault:n=false,forHead:i=false,forInHead:o=false,forOfHead:u=false}){let p=e.length-1;let c=e[p];p--;let f=e[p];while(p>=0){if(t&&T(f,{expression:c})||n&&m(f,{declaration:c})||r&&s(f,{body:c})||i&&g(f,{init:c})||o&&b(f,{left:c})||u&&E(f,{left:c})){return true}if(Z(c,f)&&!I(f)||_(f)&&f.expressions[0]===c||d(f,{test:c})||l(f,{left:c})||a(f,{left:c})){c=f;p--;f=e[p]}else{return false}}return false}},61269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.list=t.nodes=void 0;var n=r(97163);const{isArrayExpression:i,isAssignmentExpression:s,isBinary:a,isBlockStatement:o,isCallExpression:l,isFunction:u,isIdentifier:p,isLiteral:c,isMemberExpression:f,isObjectExpression:d,isOptionalCallExpression:y,isOptionalMemberExpression:h,isStringLiteral:m}=n;function crawl(e,t={}){if(f(e)||h(e)){crawl(e.object,t);if(e.computed)crawl(e.property,t)}else if(a(e)||s(e)){crawl(e.left,t);crawl(e.right,t)}else if(l(e)||y(e)){t.hasCall=true;crawl(e.callee,t)}else if(u(e)){t.hasFunction=true}else if(p(e)){t.hasHelper=t.hasHelper||isHelper(e.callee)}return t}function isHelper(e){if(f(e)){return isHelper(e.object)||isHelper(e.property)}else if(p(e)){return e.name==="require"||e.name[0]==="_"}else if(l(e)){return isHelper(e.callee)}else if(a(e)||s(e)){return p(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return c(e)||d(e)||i(e)||p(e)||f(e)}const T={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return{before:t.hasFunction,after:true}}},SwitchCase(e,t){return{before:!!e.consequent.length||t.cases[0]===e,after:!e.consequent.length&&t.cases[t.cases.length-1]===e}},LogicalExpression(e){if(u(e.left)||u(e.right)){return{after:true}}},Literal(e){if(m(e)&&e.value==="use strict"){return{after:true}}},CallExpression(e){if(u(e.callee)||isHelper(e)){return{before:true,after:true}}},OptionalCallExpression(e){if(u(e.callee)){return{before:true,after:true}}},VariableDeclaration(e){for(let t=0;te.init)},ArrayExpression(e){return e.elements},ObjectExpression(e){return e.properties}};t.list=S;[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach(function([e,t]){if(typeof t==="boolean"){t={after:t,before:t}}[e].concat(n.FLIPPED_ALIAS_KEYS[e]||[]).forEach(function(e){T[e]=function(){return t}})})},79287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(19078);var i=r(40523);var s=r(97163);var a=r(52506);const o=/e/i;const l=/\.0+$/;const u=/^0[box]/;const p=/^\s*[@#]__PURE__\s*$/;const{isProgram:c,isFile:f,isEmptyStatement:d}=s;const{needsParens:y,needsWhitespaceAfter:h,needsWhitespaceBefore:m}=i;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._insideAux=false;this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new WeakSet;this._endsWithInteger=false;this._endsWithWord=false;this.format=e;this._buf=new n.default(t)}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();this._append(";",!e)}rightBrace(){if(this.format.minified){this._buf.removeLastSemicolon()}this.token("}")}space(e=false){if(this.format.compact)return;if(e){this._space()}else if(this._buf.hasContent()){const e=this.getLastChar();if(e!==32&&e!==10){this._space()}}}word(e){if(this._endsWithWord||this.endsWith(47)&&e.charCodeAt(0)===47){this._space()}this._maybeAddAuxComment();this._append(e);this._endsWithWord=true}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!u.test(e)&&!o.test(e)&&!l.test(e)&&e.charCodeAt(e.length-1)!==46}token(e){const t=this.getLastChar();const r=e.charCodeAt(0);if(e==="--"&&t===33||r===43&&t===43||r===45&&t===45||r===46&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e)}newline(e=1){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}const t=this.endsWithCharAndNewline();if(t===10)return;if(t===123||t===58){e--}if(e<=0)return;for(let t=0;t{n.call(this,e,t)});this._printTrailingComments(e);if(s)this.token(")");this._printStack.pop();this.format.concise=r;this._insideAux=i}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e})}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e})}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e!=null&&e.length))return;if(r.indent)this.indent();const n={addNewlines:r.addNewlines};for(let i=0;i0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(!d(t)){this.space()}this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(false,e))}_printLeadingComments(e){this._printComments(this._getComments(true,e),true)}printInnerComments(e,t=true){var r;if(!((r=e.innerComments)!=null&&r.length))return;if(t)this.indent();this._printComments(e.innerComments);if(t)this.dedent()}printSequence(e,t,r={}){r.statement=true;return this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}return this.printJoin(e,t,r)}_printNewline(e,t,r,n){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}let i=0;if(this._buf.hasContent()){if(!e)i++;if(n.addNewlines)i+=n.addNewlines(e,t)||0;const s=e?m:h;if(s(t,r))i++}this.newline(Math.min(2,i))}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e,t){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;this._printedComments.add(e);const r=e.type==="CommentBlock";const n=r&&!t&&!this._noLineTerminator;if(n&&this._buf.hasContent())this.newline(1);const i=this.getLastChar();if(i!==91&&i!==123){this.space()}let s=!r&&!this._noLineTerminator?`//${e.value}\n`:`/*${e.value}*/`;if(r&&this.format.indent.adjustMultilineComment){var a;const t=(a=e.loc)==null?void 0:a.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");s=s.replace(e,"\n")}const r=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());s=s.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}if(this.endsWith(47))this._space();this.withSource("start",e.loc,()=>{this._append(s)});if(n)this.newline(1)}_printComments(e,t){if(!(e!=null&&e.length))return;if(t&&e.length===1&&p.test(e[0].value)){this._printComment(e[0],this._buf.hasContent()&&!this.endsWith(10))}else{for(const t of e){this._printComment(t)}}}printAssertions(e){var t;if((t=e.assertions)!=null&&t.length){this.space();this.word("assert");this.space();this.token("{");this.space();this.printList(e.assertions,e);this.space();this.token("}")}}}Object.assign(Printer.prototype,a);{Printer.prototype.Noop=function Noop(){}}var T=Printer;t.default=T;function commaSeparator(){this.token(",");this.space()}},43575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(96241);class SourceMap{constructor(e,t){this._cachedMap=void 0;this._code=void 0;this._opts=void 0;this._rawMappings=void 0;this._lastGenLine=void 0;this._lastSourceLine=void 0;this._lastSourceColumn=void 0;this._cachedMap=null;this._code=t;this._opts=e;this._rawMappings=[]}get(){if(!this._cachedMap){const e=this._cachedMap=new n.SourceMapGenerator({sourceRoot:this._opts.sourceRoot});const t=this._code;if(typeof t==="string"){e.setSourceContent(this._opts.sourceFileName.replace(/\\/g,"/"),t)}else if(typeof t==="object"){Object.keys(t).forEach(r=>{e.setSourceContent(r.replace(/\\/g,"/"),t[r])})}this._rawMappings.forEach(t=>e.addMapping(t),e)}return this._cachedMap.toJSON()}getRawMappings(){return this._rawMappings.slice()}mark(e,t,r,n,i,s,a){if(this._lastGenLine!==e&&r===null)return;if(!a&&this._lastGenLine===e&&this._lastSourceLine===r&&this._lastSourceColumn===n){return}this._cachedMap=null;this._lastGenLine=e;this._lastSourceLine=r;this._lastSourceColumn=n;this._rawMappings.push({name:i||undefined,generated:{line:e,column:t},source:r==null?undefined:(s||this._opts.sourceFileName).replace(/\\/g,"/"),original:r==null?undefined:{line:r,column:n}})}}t.default=SourceMap},18940:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(18940);var i=r(5394)},5394:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},8301:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(71261);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},67817:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertClassProperty=assertClassProperty;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertPrivateName=assertPrivateName;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTopicReference=assertTopicReference;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertPrivate=assertPrivate;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(91885);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTopicReference(e,t){assert("TopicReference",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},91508:()=>{},8081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(7866);var i=r(40577);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(70953);var i=r(1193);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},14924:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(70953);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},70953:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.classProperty=classProperty;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.privateName=privateName;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.topicReference=topicReference;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(8081);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function topicReference(){return(0,n.default)("TopicReference",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},55925:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TopicReference",{enumerable:true,get:function(){return n.topicReference}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(70953)},23463:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(81180);var i=r(70131);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(70953);var i=r(76648);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},46172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(96115);function clone(e){return(0,n.default)(e,false)}},60735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(96115);function cloneDeep(e){return(0,n.default)(e)}},48074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(96115);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},96115:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(7866);var i=r(81180);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},71105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(96115);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},63348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(55083);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},55083:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},48719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(5095);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},98061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(5095);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},73954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(5095);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},23913:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(73954);var i=r(98061);var s=r(48719);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},40663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(84400);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},9257:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_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.PRIVATE_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(7866);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},84400:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},12691:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(88407);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},71694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(46571);var i=r(81180);var s=r(70953);var a=r(96115);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},95406:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(59534);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},88407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(81180);var i=r(70953);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},77068:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(81180);var i=r(70953);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},91855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(81180);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},59534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(4982);var i=r(29873);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},22453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(81180);var i=r(96115);var s=r(19063);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},68627:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(71694);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},90941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(81180);var i=r(70953);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},70062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(4982);var i=r(70953);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},45410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(91885);var i=r(4982);var s=r(29873);var a=r(84400);var o=r(25889);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("value"))}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},f,{value:{validate:(0,o.assertNodeType)("Expression"),optional:true},definite:{validate:(0,o.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,o.assertValueType)("boolean"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},variance:{validate:(0,o.assertNodeType)("Variance"),optional:true}})});(0,o.default)("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,o.assertNodeType)("PrivateName")},value:{validate:(0,o.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,o.assertValueType)("boolean"),optional:true},definite:{validate:(0,o.assertValueType)("boolean"),optional:true},variance:{validate:(0,o.assertNodeType)("Variance"),optional:true}}});(0,o.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({},d,u,{key:{validate:(0,o.assertNodeType)("PrivateName")},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")}}})},10543:(e,t,r)=>{"use strict";var n=r(25889);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]});(0,n.default)("TopicReference",{aliases:["Expression"]});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},32786:(e,t,r)=>{"use strict";var n=r(25889);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"),impltype:(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:false},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"))}})},7866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(45410);r(32786);r(3214);r(48896);r(10543);r(51814);var i=r(25889);var s=r(51765);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},3214:(e,t,r)=>{"use strict";var n=r(25889);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},48896:(e,t,r)=>{"use strict";var n=r(25889);var i=r(51765);{(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")}}})},51765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(25889);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},51814:(e,t,r)=>{"use strict";var n=r(25889);var i=r(45410);var s=r(91885);const a=(0,n.assertValueType)("boolean");const o={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,n.assertValueType)("boolean"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,o)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,o)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const l={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const u={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:l};(0,n.default)("TSCallSignatureDeclaration",u);(0,n.default)("TSConstructSignatureDeclaration",u);const p={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(a),optional:(0,n.validateOptional)(a)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},p,{readonly:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression"),kind:{validate:(0,n.assertOneOf)("get","set")}})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},l,p,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(a),static:(0,n.validateOptional)(a),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 f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:l}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},l,{abstract:(0,n.validateOptional)(a)})}));(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)(a)}});(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:a,default:false},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)(a),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const e=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral");const t=(0,n.assertOneOf)("-");const r=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral");function validator(n,i,a){if((0,s.default)("UnaryExpression",a)){t(a,"operator",a.operator);e(a,"argument",a.argument)}else{r(n,i,a)}}validator.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","UnaryExpression"];return validator}()}}});(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)(a),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)(a),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)(a),const:(0,n.validateOptional)(a),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)(a),global:(0,n.validateOptional)(a),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)(a),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:true}}});(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},25889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(91885);var i=r(40577);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},97163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(21666);var s=r(941);var a=r(23463);var o=r(8301);var l=r(67817);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(14924);var p=r(94012);var c=r(85266);var f=r(70953);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(55925);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(96115);var h=r(46172);var m=r(60735);var T=r(48074);var S=r(71105);var b=r(63348);var E=r(55083);var g=r(48719);var x=r(98061);var P=r(23913);var A=r(73954);var v=r(40663);var O=r(9257);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(84400);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(12691);var D=r(95406);var N=r(88407);var C=r(77068);var j=r(91855);var _=r(59534);var L=r(22453);var k=r(68627);var B=r(90941);var M=r(70062);var F=r(7866);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(59089);var K=r(57045);var V=r(45050);var U=r(46239);var X=r(19063);var J=r(1193);var Y=r(46571);var W=r(59719);var q=r(3791);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(62648);var H=r(78038);var G=r(91885);var $=r(8818);var Q=r(71956);var Z=r(13995);var ee=r(80177);var te=r(71261);var re=r(80210);var ne=r(55353);var ie=r(69455);var se=r(95663);var ae=r(88807);var oe=r(67643);var le=r(61881);var ue=r(4982);var pe=r(27973);var ce=r(66641);var fe=r(40577);var de=r(33062);var ye=r(81180);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(91508);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},59089:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(70953);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},1193:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(81180);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},57045:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(84400);var i=r(23913);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},45050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(70953);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},46239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(84400);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},19063:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(62648);var i=r(46239);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},76648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(81180);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},46571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(81180);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(46571);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},3791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(7866);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(7866);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},5095:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},70131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(70953);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},33062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(66641);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},81180:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isClassProperty=isClassProperty;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isPrivateName=isPrivateName;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTopicReference=isTopicReference;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isPrivate=isPrivate;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(78038);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="TopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TopicReference"===r||"PipelineTopicExpression"===r||"PipelineBareFunction"===r||"PipelinePrimaryTopicReference"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},91885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(78038);var i=r(67643);var s=r(55353);var a=r(7866);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},8818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(46571);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},71956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(81180);var i=r(80177);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},13995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(67643);var i=r(81180);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},80177:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(81180);var i=r(84400);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},71261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(7866);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},80210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(7866);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(7866);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},69455:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},95663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(81180);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},88807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(81180);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},67643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(7866);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},61881:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(4982);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},4982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(29873);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},27973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(81180);var i=r(84400);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},66641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(81180);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},21666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(33062);const i=(0,n.default)("React.Component");var s=i;t.default=s},40577:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(7866);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},96659:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=annotateAsPure;var n=r(58740);const i="#__PURE__";const s=({leadingComments:e})=>!!e&&e.some(e=>/[@#]__PURE__/.test(e.value));function annotateAsPure(e){const t=e["node"]||e;if(s(t)){return}n.addComment(t,"leading",i)}},98518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(98518);var i=r(60316)},60316:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},10171:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(31231);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},70679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(23998);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},96382:()=>{},83352:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(7766);var i=r(93885);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(60402);var i=r(64001);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},81334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(60402);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},60402:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(83352);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},31177:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(60402)},56374:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(52317);var i=r(20956);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(60402);var i=r(3937);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},47487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(85414);function clone(e){return(0,n.default)(e,false)}},6558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(85414);function cloneDeep(e){return(0,n.default)(e)}},18006:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(85414);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},85414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(7766);var i=r(52317);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},26825:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(85414);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},97521:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(94016);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},94016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},38125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(20395);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},96508:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(20395);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},62260:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(20395);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},89472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(62260);var i=r(96508);var s=r(38125);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},90050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(30992);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},32921:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(7766);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},30992:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},47791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(15431);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},12614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(96663);var i=r(52317);var s=r(60402);var a=r(85414);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},23615:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(82011);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},15431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(52317);var i=r(60402);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},60219:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(52317);var i=r(60402);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},36061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(52317);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},82011:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(62162);var i=r(85429);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},55212:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(52317);var i=r(85414);var s=r(24977);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},24195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(12614);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},52674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(52317);var i=r(60402);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},56895:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(62162);var i=r(60402);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},23870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(23998);var i=r(62162);var s=r(85429);var a=r(30992);var o=r(4397);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},51655:(e,t,r)=>{"use strict";var n=r(4397);var i=r(23870);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},91872:(e,t,r)=>{"use strict";var n=r(4397);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:false},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"))}})},7766:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(23870);r(91872);r(27193);r(47393);r(51655);r(67788);var i=r(4397);var s=r(70026);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},27193:(e,t,r)=>{"use strict";var n=r(4397);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},47393:(e,t,r)=>{"use strict";var n=r(4397);var i=r(70026);{(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")}}})},70026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(4397);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},67788:(e,t,r)=>{"use strict";var n=r(4397);var i=r(23870);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},4397:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(23998);var i=r(93885);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},58740:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(37952);var s=r(21411);var a=r(56374);var o=r(10171);var l=r(70679);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(81334);var p=r(85804);var c=r(45949);var f=r(60402);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(31177);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(85414);var h=r(47487);var m=r(6558);var T=r(18006);var S=r(26825);var b=r(97521);var E=r(94016);var g=r(38125);var x=r(96508);var P=r(89472);var A=r(62260);var v=r(90050);var O=r(32921);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(30992);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(47791);var D=r(23615);var N=r(15431);var C=r(60219);var j=r(36061);var _=r(82011);var L=r(55212);var k=r(24195);var B=r(52674);var M=r(56895);var F=r(7766);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(19230);var K=r(25666);var V=r(83961);var U=r(62153);var X=r(24977);var J=r(64001);var Y=r(96663);var W=r(6231);var q=r(32837);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(87622);var H=r(45821);var G=r(23998);var $=r(20279);var Q=r(25196);var Z=r(87863);var ee=r(9424);var te=r(31231);var re=r(85986);var ne=r(50110);var ie=r(5016);var se=r(99031);var ae=r(17014);var oe=r(8686);var le=r(14243);var ue=r(62162);var pe=r(30269);var ce=r(46302);var fe=r(93885);var de=r(27030);var ye=r(52317);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(96382);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},19230:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(60402);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},64001:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(52317);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},25666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(30992);var i=r(89472);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},83961:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(60402);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},62153:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(30992);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},24977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(87622);var i=r(62153);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},3937:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(52317);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},96663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(52317);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(96663);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},32837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(7766);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(7766);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},20395:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},20956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(60402);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},27030:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(46302);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},52317:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(45821);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},23998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(45821);var i=r(8686);var s=r(50110);var a=r(7766);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},20279:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(96663);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},25196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(52317);var i=r(9424);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},87863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(8686);var i=r(52317);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},9424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(52317);var i=r(30992);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},31231:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(7766);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},85986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(7766);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(7766);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},5016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},99031:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(52317);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},17014:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(52317);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},8686:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(7766);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},14243:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(62162);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},62162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(85429);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},30269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(52317);var i=r(30992);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},46302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(52317);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},37952:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(27030);const i=(0,n.default)("React.Component");var s=i;t.default=s},93885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(7766);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},58983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(82016);var i=r(29086);function _default(e){const{build:t,operator:r}=e;return{AssignmentExpression(e){const{node:s,scope:a}=e;if(s.operator!==r+"=")return;const o=[];const l=(0,n.default)(s.left,o,this,a);o.push(i.assignmentExpression("=",l.ref,t(l.uid,s.right)));e.replaceWith(i.sequenceExpression(o))},BinaryExpression(e){const{node:n}=e;if(n.operator===r){e.replaceWith(t(n.left,n.right))}}}}},50424:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(50424);var i=r(31290)},31290:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},9944:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(40656);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},73266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(63184);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},17033:()=>{},33019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(94938);var i=r(55472);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(40894);var i=r(7370);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},9757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(40894);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},40894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(33019);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},43398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(40894)},26972:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(9151);var i=r(8176);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(40894);var i=r(8218);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},60648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(56670);function clone(e){return(0,n.default)(e,false)}},39088:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(56670);function cloneDeep(e){return(0,n.default)(e)}},66213:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(56670);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},56670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(94938);var i=r(9151);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},43005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(56670);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},28442:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(61530);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},61530:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},13956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(71724);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},2109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(71724);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},72767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(71724);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},54405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(72767);var i=r(2109);var s=r(13956);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},97061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(23144);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},17794:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(94938);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},23144:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},68038:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(4834);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},71585:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(9161);var i=r(9151);var s=r(40894);var a=r(56670);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},96709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(34870);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},4834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(9151);var i=r(40894);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},86175:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(9151);var i=r(40894);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},65819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(9151);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},34870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(17064);var i=r(77079);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},85479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(9151);var i=r(56670);var s=r(11340);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},33645:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(71585);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},7186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(9151);var i=r(40894);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},36041:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(17064);var i=r(40894);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},28669:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(63184);var i=r(17064);var s=r(77079);var a=r(23144);var o=r(18365);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},93088:(e,t,r)=>{"use strict";var n=r(18365);var i=r(28669);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},31489:(e,t,r)=>{"use strict";var n=r(18365);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:false},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"))}})},94938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(28669);r(31489);r(34660);r(78052);r(93088);r(3581);var i=r(18365);var s=r(31111);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},34660:(e,t,r)=>{"use strict";var n=r(18365);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},78052:(e,t,r)=>{"use strict";var n=r(18365);var i=r(31111);{(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")}}})},31111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(18365);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},3581:(e,t,r)=>{"use strict";var n=r(18365);var i=r(28669);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},18365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(63184);var i=r(55472);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},29086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(21545);var s=r(63206);var a=r(26972);var o=r(9944);var l=r(73266);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(9757);var p=r(5842);var c=r(65233);var f=r(40894);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(43398);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(56670);var h=r(60648);var m=r(39088);var T=r(66213);var S=r(43005);var b=r(28442);var E=r(61530);var g=r(13956);var x=r(2109);var P=r(54405);var A=r(72767);var v=r(97061);var O=r(17794);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(23144);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(68038);var D=r(96709);var N=r(4834);var C=r(86175);var j=r(65819);var _=r(34870);var L=r(85479);var k=r(33645);var B=r(7186);var M=r(36041);var F=r(94938);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(44895);var K=r(1965);var V=r(2962);var U=r(79208);var X=r(11340);var J=r(7370);var Y=r(9161);var W=r(68353);var q=r(52312);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(63272);var H=r(65370);var G=r(63184);var $=r(9821);var Q=r(72581);var Z=r(86839);var ee=r(58869);var te=r(40656);var re=r(39984);var ne=r(1432);var ie=r(41247);var se=r(66076);var ae=r(23561);var oe=r(41440);var le=r(8190);var ue=r(17064);var pe=r(30198);var ce=r(86616);var fe=r(55472);var de=r(8856);var ye=r(9151);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(17033);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},44895:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(40894);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},7370:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(9151);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},1965:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(23144);var i=r(54405);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},2962:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(40894);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},79208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(23144);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},11340:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(63272);var i=r(79208);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},8218:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(9151);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},9161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(9151);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(9161);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},52312:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(94938);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(94938);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},71724:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},8176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(40894);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},8856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(86616);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},9151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(65370);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},63184:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(65370);var i=r(41440);var s=r(1432);var a=r(94938);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},9821:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(9161);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},72581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(9151);var i=r(58869);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},86839:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(41440);var i=r(9151);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},58869:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(9151);var i=r(23144);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},40656:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(94938);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},39984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(94938);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(94938);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},41247:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},66076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(9151);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},23561:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(9151);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},41440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(94938);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},8190:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(17064);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},17064:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(77079);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},30198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(9151);var i=r(23144);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},86616:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(9151);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},21545:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8856);const i=(0,n.default)("React.Component");var s=i;t.default=s},55472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(94938);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},81444:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var n=r(62519);var i=r(33625);var s=r(74048);function getInclusionReasons(e,t,r){const a=r[e]||{};return Object.keys(t).reduce((e,r)=>{const o=(0,s.getLowestImplementedVersion)(a,r);const l=t[r];if(!o){e[r]=(0,i.prettifyVersion)(l)}else{const t=(0,s.isUnreleasedVersion)(o,r);const a=(0,s.isUnreleasedVersion)(l,r);if(!a&&(t||n.lt(l.toString(),(0,s.semverify)(o)))){e[r]=(0,i.prettifyVersion)(l)}}return e},{})}},38616:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var n=r(62519);var i=r(72153);var s=r(74048);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const i=r.filter(r=>{const i=(0,s.getLowestImplementedVersion)(t,r);if(!i){return true}const a=e[r];if((0,s.isUnreleasedVersion)(a,r)){return false}if((0,s.isUnreleasedVersion)(i,r)){return true}if(!n.valid(a.toString())){throw new Error(`Invalid version passed for target "${r}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return n.gt((0,s.semverify)(i),a.toString())});return i.length===0}function isRequired(e,t,{compatData:r=i,includes:n,excludes:s}={}){if(s!=null&&s.has(e))return false;if(n!=null&&n.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,n,i,s,a){const o=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,n,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(i){i.forEach(e=>!r.has(e)&&o.add(e))}if(s){s.forEach(e=>!t.has(e)&&o.delete(e))}return o}},34487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return u.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return c.isRequired}});var n=r(3561);var i=r(69562);var s=r(1335);var a=r(74048);var o=r(58601);var l=r(9451);var u=r(33625);var p=r(81444);var c=r(38616);const f=s["es6.module"];const d=new i.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e)){if(!(r in l.TargetNames)){throw new Error(d.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,i.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){d.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[r,n]=t.split(" ");const i=o.browserNameMap[r];if(!i){return e}try{const t=n.split("-")[0].toLowerCase();const s=(0,a.isUnreleasedVersion)(t,r);if(!e[i]){e[i]=s?t:(0,a.semverify)(t);return e}const o=e[i];const l=(0,a.isUnreleasedVersion)(o,r);if(l&&s){e[i]=(0,a.getLowestUnreleased)(o,t,r)}else if(l){e[i]=(0,a.semverify)(t)}else if(!l&&!s){const r=(0,a.semverify)(t);e[i]=(0,a.semverMin)(o,r)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(r){throw new Error(d.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const y={__default(e,t){const r=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]},node(e,t){const r=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,r]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=n(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var r;let{browsers:i,esmodules:s}=e;const{configPath:o="."}=t;validateBrowsers(i);const l=generateTargets(e);let u=validateTargetNames(l);const p=!!i;const c=p||Object.keys(u).length>0;const d=!t.ignoreBrowserslistConfig&&!c;if(!i&&d){i=n.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(i==null){{i=[]}}}if(s&&(s!=="intersect"||!((r=i)!=null&&r.length))){i=Object.keys(f).map(e=>`${e} >= ${f[e]}`).join(", ");s=false}if(i){const e=resolveTargets(i);if(s==="intersect"){for(const t of Object.keys(e)){const r=e[t];if(f[t]){e[t]=(0,a.getHighestUnreleased)(r,(0,a.semverify)(f[t]),t)}else{delete e[t]}}}u=Object.assign(e,u)}const h={};const m=[];for(const e of Object.keys(u).sort()){var T;const t=u[e];if(typeof t==="number"&&t%1!==0){m.push({target:e,value:t})}const r=(T=y[e])!=null?T:y.__default;const[n,i]=r(e,t);if(i){h[n]=i}}outputDecimalWarning(m);return h}},9451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung"};t.TargetNames=r},33625:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var n=r(62519);var i=r(58601);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[n.major(e)];const r=n.minor(e);const i=n.patch(e);if(r||i){t.push(r)}if(i){t.push(i)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];const s=i.unreleasedLabels[r];if(typeof n==="string"&&s!==n){n=prettifyVersion(n)}t[r]=n;return t},{})}},58601:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const n={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=n},74048:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var n=r(62519);var i=r(69562);var s=r(58601);const a=/^(\d+|\d+.\d+)$/;const o=new i.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&n.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&n.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const r=s.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const n=s.unreleasedLabels[r];const i=[e,t].some(e=>e===n);if(i){return e===i?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},64158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasOwnDecorators=hasOwnDecorators;t.hasDecorators=hasDecorators;t.buildDecoratedClass=buildDecoratedClass;var n=r(85850);var i=r(846);var s=r(98733);function hasOwnDecorators(e){return!!(e.decorators&&e.decorators.length)}function hasDecorators(e){return hasOwnDecorators(e)||e.body.body.some(hasOwnDecorators)}function prop(e,t){if(!t)return null;return n.types.objectProperty(n.types.identifier(e),t)}function method(e,t){return n.types.objectMethod("method",n.types.identifier(e),[],n.types.blockStatement(t))}function takeDecorators(e){let t;if(e.decorators&&e.decorators.length>0){t=n.types.arrayExpression(e.decorators.map(e=>e.expression))}e.decorators=undefined;return t}function getKey(e){if(e.computed){return e.key}else if(n.types.isIdentifier(e.key)){return n.types.stringLiteral(e.key.name)}else{return n.types.stringLiteral(String(e.key.value))}}function extractElementDescriptor(e,t,r){const{node:a,scope:o}=r;const l=r.isClassMethod();if(r.isPrivate()){throw r.buildCodeFrameError(`Private ${l?"methods":"fields"} in decorated classes are not supported yet.`)}new i.default({methodPath:r,objectRef:e,superRef:t,file:this,refToPreserve:e}).replace();const u=[prop("kind",n.types.stringLiteral(l?a.kind:"field")),prop("decorators",takeDecorators(a)),prop("static",a.static&&n.types.booleanLiteral(true)),prop("key",getKey(a))].filter(Boolean);if(l){const e=a.computed?null:a.key;n.types.toExpression(a);u.push(prop("value",(0,s.default)({node:a,id:e,scope:o})||a))}else if(a.value){u.push(method("value",n.template.statements.ast`return ${a.value}`))}else{u.push(prop("value",o.buildUndefinedNode()))}r.remove();return n.types.objectExpression(u)}function addDecorateHelper(e){try{return e.addHelper("decorate")}catch(e){if(e.code==="BABEL_HELPER_UNKNOWN"){e.message+="\n '@babel/plugin-transform-decorators' in non-legacy mode"+" requires '@babel/core' version ^7.0.2 and you appear to be using"+" an older version."}throw e}}function buildDecoratedClass(e,t,r,i){const{node:s,scope:a}=t;const o=a.generateUidIdentifier("initialize");const l=s.id&&t.isDeclaration();const u=t.isInStrictMode();const{superClass:p}=s;s.type="ClassDeclaration";if(!s.id)s.id=n.types.cloneNode(e);let c;if(p){c=a.generateUidIdentifierBasedOnNode(s.superClass,"super");s.superClass=c}const f=takeDecorators(s);const d=n.types.arrayExpression(r.filter(e=>!e.node.abstract).map(extractElementDescriptor.bind(i,s.id,c)));const y=n.template.expression.ast` + ${addDecorateHelper(i)}( + ${f||n.types.nullLiteral()}, + function (${o}, ${p?n.types.cloneNode(c):null}) { + ${s} + return { F: ${n.types.cloneNode(s.id)}, d: ${d} }; }, + ${p} + ) + `;if(!u){y.arguments[1].body.directives.push(n.types.directive(n.types.directiveLiteral("use strict")))}let h=y;let m="arguments.1.body.body.0";if(l){h=n.template.statement.ast`let ${e} = ${y}`;m="declarations.0.init."+m}return{instanceNodes:[n.template.statement.ast`${n.types.cloneNode(o)}(this)`],wrapClass(e){e.replaceWith(h);return e.get(m)}}}},76912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enableFeature=enableFeature;t.isLoose=isLoose;t.verifyUsedFeatures=verifyUsedFeatures;t.FEATURES=void 0;var n=r(64158);const i=Object.freeze({fields:1<<1,privateMethods:1<<2,decorators:1<<3,privateIn:1<<4,staticBlocks:1<<5});t.FEATURES=i;const s=new Map([[i.fields,"@babel/plugin-proposal-class-properties"],[i.privateMethods,"@babel/plugin-proposal-private-methods"],[i.privateIn,"@babel/plugin-proposal-private-property-in-object"]]);const a="@babel/plugin-class-features/featuresKey";const o="@babel/plugin-class-features/looseKey";const l="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function enableFeature(e,t,r){if(!hasFeature(e,t)||canIgnoreLoose(e,t)){e.set(a,e.get(a)|t);if(r==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"){setLoose(e,t,true);e.set(l,e.get(l)|t)}else if(r==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"){setLoose(e,t,false);e.set(l,e.get(l)|t)}else{setLoose(e,t,r)}}let n;let i;for(const[t,r]of s){if(!hasFeature(e,t))continue;const s=isLoose(e,t);if(canIgnoreLoose(e,t)){continue}else if(n===!s){throw new Error("'loose' mode configuration must be the same for @babel/plugin-proposal-class-properties, "+"@babel/plugin-proposal-private-methods and "+"@babel/plugin-proposal-private-property-in-object (when they are enabled).")}else{n=s;i=r}}if(n!==undefined){for(const[t,r]of s){if(hasFeature(e,t)&&isLoose(e,t)!==n){setLoose(e,t,n);console.warn(`Though the "loose" option was set to "${!n}" in your @babel/preset-env `+`config, it will not be used for ${r} since the "loose" mode option was set to `+`"${n}" for ${i}.\nThe "loose" option must be the `+`same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods `+`and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can `+`silence this warning by explicitly adding\n`+`\t["${r}", { "loose": ${n} }]\n`+`to the "plugins" section of your Babel config.`)}}}}function hasFeature(e,t){return!!(e.get(a)&t)}function isLoose(e,t){return!!(e.get(o)&t)}function setLoose(e,t,r){if(r)e.set(o,e.get(o)|t);else e.set(o,e.get(o)&~t);e.set(l,e.get(l)&~t)}function canIgnoreLoose(e,t){return!!(e.get(l)&t)}function verifyUsedFeatures(e,t){if((0,n.hasOwnDecorators)(e.node)){if(!hasFeature(t,i.decorators)){throw e.buildCodeFrameError("Decorators are not enabled."+"\nIf you are using "+'["@babel/plugin-proposal-decorators", { "legacy": true }], '+'make sure it comes *before* "@babel/plugin-proposal-class-properties" '+"and enable loose mode, like so:\n"+'\t["@babel/plugin-proposal-decorators", { "legacy": true }]\n'+'\t["@babel/plugin-proposal-class-properties", { "loose": true }]')}if(e.isPrivate()){throw e.buildCodeFrameError(`Private ${e.isClassMethod()?"methods":"fields"} in decorated classes are not supported yet.`)}}if(e.isPrivateMethod!=null&&e.isPrivateMethod()){if(!hasFeature(t,i.privateMethods)){throw e.buildCodeFrameError("Class private methods are not enabled.")}}if(e.isPrivateName()&&e.parentPath.isBinaryExpression({operator:"in",left:e.node})){if(!hasFeature(t,i.privateIn)){throw e.buildCodeFrameError("Private property in checks are not enabled.")}}if(e.isProperty()){if(!hasFeature(t,i.fields)){throw e.buildCodeFrameError("Class fields are not enabled.")}}if(e.isStaticBlock!=null&&e.isStaticBlock()){if(!hasFeature(t,i.staticBlocks)){throw e.buildCodeFrameError("Static class blocks are not enabled. "+"Please add `@babel/plugin-proposal-class-static-block` to your configuration.")}}}},11752:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPrivateNamesMap=buildPrivateNamesMap;t.buildPrivateNamesNodes=buildPrivateNamesNodes;t.transformPrivateNamesUsage=transformPrivateNamesUsage;t.buildFieldsInitNodes=buildFieldsInitNodes;var n=r(85850);var i=r(846);var s=r(45318);var a=r(68720);var o=r(96659);var l=r(38389);function buildPrivateNamesMap(e){const t=new Map;for(const r of e){const e=r.isPrivate();const n=!r.isProperty();const i=!r.node.static;if(e){const{name:e}=r.node.key.id;const s=t.has(e)?t.get(e):{id:r.scope.generateUidIdentifier(e),static:!i,method:n};if(r.node.kind==="get"){s.getId=r.scope.generateUidIdentifier(`get_${e}`)}else if(r.node.kind==="set"){s.setId=r.scope.generateUidIdentifier(`set_${e}`)}else if(r.node.kind==="method"){s.methodId=r.scope.generateUidIdentifier(e)}t.set(e,s)}}return t}function buildPrivateNamesNodes(e,t,r){const i=[];for(const[s,a]of e){const{static:e,method:l,getId:u,setId:p}=a;const c=u||p;const f=n.types.cloneNode(a.id);let d;if(t){d=n.types.callExpression(r.addHelper("classPrivateFieldLooseKey"),[n.types.stringLiteral(s)])}else if(!e){d=n.types.newExpression(n.types.identifier(!l||c?"WeakMap":"WeakSet"),[])}if(d){(0,o.default)(d);i.push(n.template.statement.ast`var ${f} = ${d}`)}}return i}function privateNameVisitorFactory(e){const t=Object.assign({},e,{Class(e){const{privateNamesMap:n}=this;const i=e.get("body.body");const s=new Map(n);const a=[];for(const e of i){if(!e.isPrivate())continue;const{name:t}=e.node.key.id;s.delete(t);a.push(t)}if(!a.length){return}e.get("body").traverse(r,Object.assign({},this,{redeclared:a}));e.traverse(t,Object.assign({},this,{privateNamesMap:s}));e.skipKey("body")}});const r=n.traverse.visitors.merge([Object.assign({},e),i.environmentVisitor]);return t}const u=privateNameVisitorFactory({PrivateName(e,{noDocumentAll:t}){const{privateNamesMap:r,redeclared:n}=this;const{node:i,parentPath:s}=e;if(!s.isMemberExpression({property:i})&&!s.isOptionalMemberExpression({property:i})){return}const{name:a}=i.id;if(!r.has(a))return;if(n&&n.includes(a))return;this.handle(s,t)}});const p=privateNameVisitorFactory({BinaryExpression(e){const{operator:t,left:r,right:i}=e.node;if(t!=="in")return;if(!e.get("left").isPrivateName())return;const{privateFieldsAsProperties:s,privateNamesMap:a,redeclared:o}=this;const{name:l}=r.id;if(!a.has(l))return;if(o&&o.includes(l))return;if(s){const{id:t}=a.get(l);e.replaceWith(n.template.expression.ast` + Object.prototype.hasOwnProperty.call(${i}, ${n.types.cloneNode(t)}) + `);return}const{id:u,static:p}=a.get(l);if(p){e.replaceWith(n.template.expression.ast`${i} === ${this.classRef}`);return}e.replaceWith(n.template.expression.ast`${n.types.cloneNode(u)}.has(${i})`)}});const c={memoise(e,t){const{scope:r}=e;const{object:n}=e.node;const i=r.maybeGenerateMemoised(n);if(!i){return}this.memoiser.set(n,i,t)},receiver(e){const{object:t}=e.node;if(this.memoiser.has(t)){return n.types.cloneNode(this.memoiser.get(t))}return n.types.cloneNode(t)},get(e){const{classRef:t,privateNamesMap:r,file:i}=this;const{name:s}=e.node.property.id;const{id:a,static:o,method:l,methodId:u,getId:p,setId:c}=r.get(s);const f=p||c;if(o){const r=l&&!f?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return n.types.callExpression(i.addHelper(r),[this.receiver(e),n.types.cloneNode(t),n.types.cloneNode(a)])}if(l){if(f){if(!p&&c){if(i.availableHelper("writeOnlyError")){return n.types.sequenceExpression([this.receiver(e),n.types.callExpression(i.addHelper("writeOnlyError"),[n.types.stringLiteral(`#${s}`)])])}console.warn(`@babel/helpers is outdated, update it to silence this warning.`)}return n.types.callExpression(i.addHelper("classPrivateFieldGet"),[this.receiver(e),n.types.cloneNode(a)])}return n.types.callExpression(i.addHelper("classPrivateMethodGet"),[this.receiver(e),n.types.cloneNode(a),n.types.cloneNode(u)])}return n.types.callExpression(i.addHelper("classPrivateFieldGet"),[this.receiver(e),n.types.cloneNode(a)])},boundGet(e){this.memoise(e,1);return n.types.callExpression(n.types.memberExpression(this.get(e),n.types.identifier("bind")),[this.receiver(e)])},set(e,t){const{classRef:r,privateNamesMap:i,file:s}=this;const{name:a}=e.node.property.id;const{id:o,static:l,method:u,setId:p,getId:c}=i.get(a);const f=c||p;if(l){const i=u&&!f?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return n.types.callExpression(s.addHelper(i),[this.receiver(e),n.types.cloneNode(r),n.types.cloneNode(o),t])}if(u){if(p){return n.types.callExpression(s.addHelper("classPrivateFieldSet"),[this.receiver(e),n.types.cloneNode(o),t])}return n.types.sequenceExpression([this.receiver(e),t,n.types.callExpression(s.addHelper("readOnlyError"),[n.types.stringLiteral(`#${a}`)])])}return n.types.callExpression(s.addHelper("classPrivateFieldSet"),[this.receiver(e),n.types.cloneNode(o),t])},destructureSet(e){const{classRef:t,privateNamesMap:r,file:i}=this;const{name:s}=e.node.property.id;const{id:a,static:o}=r.get(s);if(o){try{var l=i.addHelper("classStaticPrivateFieldDestructureSet")}catch(e){throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \n"+"please update @babel/helpers to the latest version.")}return n.types.memberExpression(n.types.callExpression(l,[this.receiver(e),n.types.cloneNode(t),n.types.cloneNode(a)]),n.types.identifier("value"))}return n.types.memberExpression(n.types.callExpression(i.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),n.types.cloneNode(a)]),n.types.identifier("value"))},call(e,t){this.memoise(e,1);return(0,a.default)(this.get(e),this.receiver(e),t,false)},optionalCall(e,t){this.memoise(e,1);return(0,a.default)(this.get(e),this.receiver(e),t,true)}};const f={get(e){const{privateNamesMap:t,file:r}=this;const{object:i}=e.node;const{name:s}=e.node.property.id;return n.template.expression`BASE(REF, PROP)[PROP]`({BASE:r.addHelper("classPrivateFieldLooseBase"),REF:n.types.cloneNode(i),PROP:n.types.cloneNode(t.get(s).id)})},boundGet(e){return n.types.callExpression(n.types.memberExpression(this.get(e),n.types.identifier("bind")),[n.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return n.types.callExpression(this.get(e),t)},optionalCall(e,t){return n.types.optionalCallExpression(this.get(e),t,true)}};function transformPrivateNamesUsage(e,t,r,{privateFieldsAsProperties:n,noDocumentAll:i},a){if(!r.size)return;const o=t.get("body");const l=n?f:c;(0,s.default)(o,u,Object.assign({privateNamesMap:r,classRef:e,file:a},l,{noDocumentAll:i}));o.traverse(p,{privateNamesMap:r,classRef:e,file:a,privateFieldsAsProperties:n})}function buildPrivateFieldInitLoose(e,t,r){const{id:i}=r.get(t.node.key.id.name);const s=t.node.value||t.scope.buildUndefinedNode();return n.template.statement.ast` + Object.defineProperty(${e}, ${n.types.cloneNode(i)}, { + // configurable is false by default + // enumerable is false by default + writable: true, + value: ${s} }); - `};const d=(e,t,r)=>{const n=t.lazy?s.callExpression(s.identifier(t.name),[]):s.identifier(t.name);const{stringSpecifiers:i}=e;return Array.from(t.reexports,([t,a])=>{let o;if(i.has(a)){o=s.memberExpression(s.cloneNode(n),s.stringLiteral(a),true)}else{o=o=s.memberExpression(s.cloneNode(n),s.identifier(a))}const l={EXPORTS:e.exportName,EXPORT_NAME:t,NAMESPACE_IMPORT:o};if(r){if(i.has(t)){return f.looseComputed(l)}else{return f.loose(l)}}else{return f.spec(l)}})};function buildESModuleHeader(e,t=false){return(t?i.default.statement` - EXPORTS.__esModule = true; - `:i.default.statement` - Object.defineProperty(EXPORTS, "__esModule", { - value: true, - }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?i.default.statement` - Object.keys(NAMESPACE).forEach(function(key) { - if (key === "default" || key === "__esModule") return; - VERIFY_NAME_LIST; - if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; - - EXPORTS[key] = NAMESPACE[key]; - }); - `:i.default.statement` - Object.keys(NAMESPACE).forEach(function(key) { - if (key === "default" || key === "__esModule") return; - VERIFY_NAME_LIST; - if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; - - Object.defineProperty(EXPORTS, key, { - enumerable: true, - get: function() { - return NAMESPACE[key]; - }, - }); + `}function buildPrivateInstanceFieldInitSpec(e,t,r){const{id:i}=r.get(t.node.key.id.name);const s=t.node.value||t.scope.buildUndefinedNode();return n.template.statement.ast`${n.types.cloneNode(i)}.set(${e}, { + // configurable is always false for private elements + // enumerable is always false for private elements + writable: true, + value: ${s}, + })`}function buildPrivateStaticFieldInitSpec(e,t){const r=t.get(e.node.key.id.name);const{id:i,getId:s,setId:a,initAdded:o}=r;const l=s||a;if(!e.isProperty()&&(o||!l))return;if(l){t.set(e.node.key.id.name,Object.assign({},r,{initAdded:true}));return n.template.statement.ast` + var ${n.types.cloneNode(i)} = { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${s?s.name:e.scope.buildUndefinedNode()}, + set: ${a?a.name:e.scope.buildUndefinedNode()} + } + `}const u=e.node.value||e.scope.buildUndefinedNode();return n.template.statement.ast` + var ${n.types.cloneNode(i)} = { + // configurable is false by default + // enumerable is false by default + writable: true, + value: ${u} + }; + `}function buildPrivateMethodInitLoose(e,t,r){const i=r.get(t.node.key.id.name);const{methodId:s,id:a,getId:o,setId:l,initAdded:u}=i;if(u)return;if(s){return n.template.statement.ast` + Object.defineProperty(${e}, ${a}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + value: ${s.name} }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,i.default)` - if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||e.reexportAll}if(!n||Object.keys(r).length===0)return null;const i=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:i.name,statement:s.variableDeclaration("var",[s.variableDeclarator(i,s.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false){const n=[];const i=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){n.push(buildInitStatement(t,r.names,s.identifier(e)))}else{i.push(...r.names)}}for(const e of t.source.values()){if(!r){n.push(...d(t,e,r))}for(const t of e.reexportNamespace){i.push(t)}}n.push(...(0,a.default)(i,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}));return n}const h={computed:i.default.expression`EXPORTS["NAME"] = VALUE`,default:i.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:i}=e;return s.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:i,NAME:t,VALUE:e};if(n.has(t)){return h.computed(r)}else{return h.default(r)}},r))}},30206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var s=r(74246);var i=_interopRequireDefault(r(76729));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function normalizeModuleAndLoadMetadata(e,t,{noInterop:r=false,loose:n=false,lazy:s=false,esNamespaceOnly:i=false}={}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{loose:n,lazy:s},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}if(r)e.interop="none";else if(i){if(e.interop==="namespace"){e.interop="default"}}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function getModuleMetadata(e,{loose:t,lazy:r},s){const i=getLocalExportMetadata(e,t,s);const a=new Map;const o=t=>{const r=t.value;let s=a.get(r);if(!s){s={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false};a.set(r,s)}return s};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(!e.isExportSpecifier()){throw e.buildCodeFrameError("Unexpected export specifier type")}const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);if(n==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,t]of a){if(r!==false&&!(isSideEffectImport(t)||t.reexportAll)){if(r===true){t.lazy=!/\./.test(e)}else if(Array.isArray(r)){t.lazy=r.indexOf(e)!==-1}else if(typeof r==="function"){t.lazy=r(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:i,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.node.specifiers.forEach(e=>{n.set(e.local.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const s=new Map;const i=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}i(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const s=i(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){i(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return s}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},54288:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=_interopRequireDefault(r(42357));var s=_interopRequireWildcard(r(63760));var i=_interopRequireDefault(r(36900));var a=_interopRequireDefault(r(14525));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const i=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,s]of n.imports){r.set(t,[e,s,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}e.traverse(o,{metadata:t,requeueInParent:i,scope:e.scope,exported:n});(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));e.traverse(c,{seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],i)=>{const a=t.source.get(e);if(n){if(a.lazy)i=s.callExpression(i,[]);return i}let o=s.identifier(a.name);if(a.lazy)o=s.callExpression(o,[]);const l=t.stringSpecifiers.has(r);return s.memberExpression(o,l?s.stringLiteral(r):s.identifier(r),l)}})}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:i}=e.node;if(!i)throw new Error("Expected class to have a name");const a=i.name;const o=r.get(a)||[];if(o.length>0){const r=s.expressionStatement(l(n,o,s.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(i=>{const a=r.get(i)||[];if(a.length>0){const r=s.expressionStatement(l(n,a,s.identifier(i)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const i=n.has(r);return s.assignmentExpression("=",s.memberExpression(s.identifier(e.exportName),i?s.stringLiteral(r):s.identifier(r),i),t)},r)};const u=e=>{return i.default.expression.ast` - (function() { - throw new Error('"' + '${e}' + '" is read-only.'); - })() - `};const c={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:i,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=e.scope.getBinding(o);const u=n.getBinding(o);if(u!==l)return;const c=i.get(o);if(c){const t=r(c,e.node);t.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&s.isMemberExpression(t)){e.replaceWith(s.sequenceExpression([s.numericLiteral(0),t]))}else if(e.isJSXIdentifier()&&s.isMemberExpression(t)){const{object:r,property:n}=t;e.replaceWith(s.JSXMemberExpression(s.JSXIdentifier(r.name),s.JSXIdentifier(n.name)))}else{e.replaceWith(t)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:i,exported:a,requeueInParent:o,buildImportReference:c}=this;if(r.has(e.node))return;r.add(e.node);const p=e.get("left");if(p.isMemberExpression())return;if(p.isIdentifier()){const r=p.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const f=a.get(r);const d=i.get(r);if((f==null?void 0:f.length)>0||d){(0,n.default)(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=c(d,t.left);t.right=s.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,f,t));o(e)}}else{const r=p.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const c=n.find(e=>i.has(e));if(c){e.node.right=s.sequenceExpression([e.node.right,u(c)])}const f=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){f.push(l(this.metadata,t,s.identifier(e)))}});if(f.length>0){let t=s.sequenceExpression(f);if(e.parentPath.isExpressionStatement()){t=s.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:i,scope:a}=this;if(!s.isVariableDeclaration(n)){let r=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(s.getOuterBindingIdentifiers(n))){if(i.get(e)&&a.getBinding(e)===t.getBinding(e)){r=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!r){return}const u=t.generateUidIdentifierBasedOnNode(n);o.unshiftContainer("body",s.expressionStatement(s.assignmentExpression("=",n,u)));e.get("left").replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.cloneNode(u))]));t.registerDeclaration(e.get("left"))}}}},76813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(846);var s=_interopRequireDefault(r(18442));var i=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function rewriteThis(e){(0,s.default)(e.node,Object.assign({},a,{noScope:true}))}const a=s.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(i.unaryExpression("void",i.numericLiteral(0),true))}}])},68720:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _default(e,t,r,s){if(r.length===1&&n.isSpreadElement(r[0])&&n.isIdentifier(r[0].argument,{name:"arguments"})){return n.callExpression(n.memberExpression(e,n.identifier("apply")),[t,r[0].argument])}else{if(s){return n.optionalCallExpression(n.optionalMemberExpression(e,n.identifier("call"),false,true),[t,...r],false)}return n.callExpression(n.memberExpression(e,n.identifier("call")),[t,...r])}}},70287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,n)=>{if(!t.assertVersion){t=Object.assign(copyApiObject(t),{assertVersion(e){throwVersionError(e,t.version)}})}return e(t,r||{},n)}}function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},4317:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.is=is;t.pullFlag=pullFlag;var n=_interopRequireDefault(r(39214));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function is(e,t){return e.type==="RegExpLiteral"&&e.flags.indexOf(t)>=0}function pullFlag(e,t){const r=e.flags.split("");if(e.flags.indexOf(t)<0)return;(0,n.default)(r,t);e.flags=r.join("")}},79763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=_interopRequireDefault(r(79818));var s=_interopRequireDefault(r(13134));var i=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a={Function(e){e.skip()},AwaitExpression(e,{wrapAwait:t}){const r=e.get("argument");if(e.parentPath.isYieldExpression()){e.replaceWith(r.node);return}e.replaceWith(i.yieldExpression(t?i.callExpression(i.cloneNode(t),[r.node]):r.node))}};function _default(e,t){e.traverse(a,{wrapAwait:t.wrapAwait});const r=checkIsIIFE(e);e.node.async=false;e.node.generator=true;(0,n.default)(e,i.cloneNode(t.wrapAsync));const o=e.isObjectMethod()||e.isClassMethod()||e.parentPath.isObjectProperty()||e.parentPath.isClassProperty();if(!o&&!r&&e.isExpression()){(0,s.default)(e)}function checkIsIIFE(e){if(e.parentPath.isCallExpression({callee:e.node})){return true}const{parentPath:t}=e;if(t.isMemberExpression()&&i.isIdentifier(t.node.property,{name:"bind"})){const{parentPath:e}=t;return e.isCallExpression()&&e.node.arguments.length===1&&i.isThisExpression(e.node.arguments[0])&&e.parentPath.isCallExpression({callee:e.node})}return false}}},13134:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=annotateAsPure;var n=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}const s="#__PURE__";const i=({leadingComments:e})=>!!e&&e.some(e=>/[@#]__PURE__/.test(e.value));function annotateAsPure(e){const t=e["node"]||e;if(i(t)){return}n.addComment(t,"leading",s)}},846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.skipAllButComputedKey=skipAllButComputedKey;t.default=t.environmentVisitor=void 0;var n=_interopRequireDefault(r(18442));var s=_interopRequireDefault(r(44756));var i=_interopRequireDefault(r(68720));var a=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getPrototypeOfExpression(e,t,r,n){e=a.cloneNode(e);const s=t||n?e:a.memberExpression(e,a.identifier("prototype"));return a.callExpression(r.addHelper("getPrototypeOf"),[s])}function skipAllButComputedKey(e){if(!e.node.computed){e.skip();return}const t=a.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}const o={[`${a.StaticBlock?"StaticBlock|":""}ClassPrivateProperty|TypeAnnotation`](e){e.skip()},Function(e){if(e.isMethod())return;if(e.isArrowFunctionExpression())return;e.skip()},"Method|ClassProperty"(e){skipAllButComputedKey(e)}};t.environmentVisitor=o;const l=n.default.visitors.merge([o,{Super(e,t){const{node:r,parentPath:n}=e;if(!n.isMemberExpression({object:r}))return;t.handle(n)}}]);const u={memoise(e,t){const{scope:r,node:n}=e;const{computed:s,property:i}=n;if(!s){return}const a=r.maybeGenerateMemoised(i);if(!a){return}this.memoiser.set(i,a,t)},prop(e){const{computed:t,property:r}=e.node;if(this.memoiser.has(r)){return a.cloneNode(this.memoiser.get(r))}if(t){return a.cloneNode(r)}return a.stringLiteral(r.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("get"),[t.memo?a.sequenceExpression([t.memo,r]):r,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:a.thisExpression()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:a.assignmentExpression("=",e,a.thisExpression()),this:a.cloneNode(e)}},set(e,t){const r=this._getThisRefs();const n=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("set"),[r.memo?a.sequenceExpression([r.memo,n]):n,this.prop(e),t,r.this,a.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),a.cloneNode(r.this),t,false)},optionalCall(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),a.cloneNode(r.this),t,true)}};const c=Object.assign({},u,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return a.cloneNode(this.memoiser.get(t))}return a.cloneNode(t)},get(e){const{isStatic:t,superRef:r}=this;const{computed:n}=e.node;const s=this.prop(e);let i;if(t){i=r?a.cloneNode(r):a.memberExpression(a.identifier("Function"),a.identifier("prototype"))}else{i=r?a.memberExpression(a.cloneNode(r),a.identifier("prototype")):a.memberExpression(a.identifier("Object"),a.identifier("prototype"))}return a.memberExpression(i,s,n)},set(e,t){const{computed:r}=e.node;const n=this.prop(e);return a.assignmentExpression("=",a.memberExpression(a.thisExpression(),n,r),t)},destructureSet(e){const{computed:t}=e.node;const r=this.prop(e);return a.memberExpression(a.thisExpression(),r,t)},call(e,t){return(0,i.default)(this.get(e),a.thisExpression(),t,false)},optionalCall(e,t){return(0,i.default)(this.get(e),a.thisExpression(),t,true)}});class ReplaceSupers{constructor(e){const t=e.methodPath;this.methodPath=t;this.isDerivedConstructor=t.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=t.isObjectMethod()||t.node.static;this.isPrivateMethod=t.isPrivate()&&t.isMethod();this.file=e.file;this.superRef=e.superRef;this.isLoose=e.isLoose;this.opts=e}getObjectRef(){return a.cloneNode(this.opts.objectRef||this.opts.getObjectRef())}replace(){const e=this.isLoose?c:u;(0,s.default)(this.methodPath,l,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),superRef:this.superRef},e))}}t.default=ReplaceSupers},14525:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function simplifyAccess(e,t){e.traverse(s,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const s={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const s=e.get("argument");if(!s.isIdentifier())return;const i=s.node.name;if(!r.has(i))return;if(t.getBinding(i)!==e.scope.getBinding(i)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,s.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(i),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",s.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const r=t.name;e.scope.push({id:t});const i=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",s.node)),n.assignmentExpression("=",n.cloneNode(s.node),i),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:s}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const i=e.get("left");if(!i.isIdentifier())return;const a=i.node.name;if(!s.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=n.binaryExpression(e.node.operator.slice(0,-1),n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},76729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=splitExportDeclaration;var n=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function splitExportDeclaration(e){if(!e.isExportDeclaration()){throw new Error("Only export declarations can be split.")}const t=e.isExportDefaultDeclaration();const r=e.get("declaration");const s=r.isClassDeclaration();if(t){const t=r.isFunctionDeclaration()||s;const i=r.isScope()?r.scope.parent:r.scope;let a=r.node.id;let o=false;if(!a){o=true;a=i.generateUidIdentifier("default");if(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)]);const u=n.exportNamedDeclaration(null,[n.exportSpecifier(n.cloneNode(a),n.identifier("default"))]);e.insertAfter(u);e.replaceWith(l);if(o){i.registerDeclaration(e)}return e}if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const i=r.getOuterBindingIdentifiers();const a=Object.keys(i).map(e=>{return n.exportSpecifier(n.identifier(e),n.identifier(e))});const o=n.exportNamedDeclaration(null,a);e.insertAfter(o);e.replaceWith(r.node);return e}},14705:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0,n=Array.from(e);r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(14705);var s=r(8755)},8755:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},25684:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findSuggestion=findSuggestion;const{min:r}=Math;function levenshtein(e,t){let n=[],s=[],i,a;const o=e.length,l=t.length;if(!o){return l}if(!l){return o}for(a=0;a<=l;a++){n[a]=a}for(i=1;i<=o;i++){for(s=[i],a=1;a<=l;a++){s[a]=e[i-1]===t[a-1]?n[a-1]:r(n[a-1],n[a],s[a-1])+1}n=s}return s[l]}function findSuggestion(e,t){const n=t.map(t=>levenshtein(t,e));return t[n.indexOf(r(...n))]}},69562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"OptionValidator",{enumerable:true,get:function(){return n.OptionValidator}});Object.defineProperty(t,"findSuggestion",{enumerable:true,get:function(){return s.findSuggestion}});var n=r(17626);var s=r(25684)},17626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionValidator=void 0;var n=r(25684);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,t){const r=Object.keys(t);for(const t of Object.keys(e)){if(!r.includes(t)){throw new Error(this.formatMessage(`'${t}' is not a valid top-level option.\n- Did you mean '${(0,n.findSuggestion)(t,r)}'?`))}}}validateBooleanOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="boolean",`'${e}' option must be a boolean.`)}return t}validateStringOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="string",`'${e}' option must be a string.`)}return t}invariant(e,t){if(!e){throw new Error(this.formatMessage(t))}}formatMessage(e){return`${this.descriptor}: ${e}`}}t.OptionValidator=OptionValidator},79818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=wrapFunction;var n=_interopRequireDefault(r(98733));var s=_interopRequireDefault(r(36900));var i=_interopRequireWildcard(r(63760));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=s.default.expression(`\n (function () {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })()\n`);const o=s.default.expression(`\n (function () {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })()\n`);const l=(0,s.default)(`\n function NAME(PARAMS) { return REF.apply(this, arguments); }\n function REF() {\n REF = FUNCTION;\n return REF.apply(this, arguments);\n }\n`);function classOrObjectMethod(e,t){const r=e.node;const n=r.body;const s=i.functionExpression(null,[],i.blockStatement(n.body),true);n.body=[i.returnStatement(i.callExpression(i.callExpression(t,[s]),[]))];r.async=false;r.generator=false;e.get("body.body.0.argument.callee.arguments.0").unwrapFunctionEnvironment()}function plainFunction(e,t){const r=e.node;const s=e.isFunctionDeclaration();const u=r.id;const c=s?l:u?o:a;if(e.isArrowFunctionExpression()){e.arrowFunctionToExpression()}r.id=null;if(s){r.type="FunctionExpression"}const p=i.callExpression(t,[r]);const f=c({NAME:u||null,REF:e.scope.generateUidIdentifier(u?u.name:"ref"),FUNCTION:p,PARAMS:r.params.reduce((t,r)=>{t.done=t.done||i.isAssignmentPattern(r)||i.isRestElement(r);if(!t.done){t.params.push(e.scope.generateUidIdentifier("x"))}return t},{params:[],done:false}).params});if(s){e.replaceWith(f[0]);e.insertAfter(f[1])}else{const t=f.callee.body.body[1].argument;if(!u){(0,n.default)({node:t,parent:e.parent,scope:e.scope})}if(!t||t.id||r.params.length){e.replaceWith(f)}else{e.replaceWith(p)}}}function wrapFunction(e,t){if(e.isClassMethod()||e.isObjectMethod()){classOrObjectMethod(e,t)}else{plainFunction(e,t)}}},210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var n=r(87762);const s={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=s;const i={minVersion:"7.5.0",ast:()=>n.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=i;const a={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>n.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},84565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(87762);var s=r(210);const i=Object.assign({__proto__:null},s);var a=i;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});i.asyncIterator=o("7.0.0-beta.0")` + `}const p=o||l;if(p){r.set(t.node.key.id.name,Object.assign({},i,{initAdded:true}));return n.template.statement.ast` + Object.defineProperty(${e}, ${a}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${o?o.name:t.scope.buildUndefinedNode()}, + set: ${l?l.name:t.scope.buildUndefinedNode()} + }); + `}}function buildPrivateInstanceMethodInitSpec(e,t,r){const i=r.get(t.node.key.id.name);const{id:s,getId:a,setId:o,initAdded:l}=i;if(l)return;const u=a||o;if(u){r.set(t.node.key.id.name,Object.assign({},i,{initAdded:true}));return n.template.statement.ast` + ${s}.set(${e}, { + get: ${a?a.name:t.scope.buildUndefinedNode()}, + set: ${o?o.name:t.scope.buildUndefinedNode()} + }); + `}return n.template.statement.ast`${s}.add(${e})`}function buildPublicFieldInitLoose(e,t){const{key:r,computed:i}=t.node;const s=t.node.value||t.scope.buildUndefinedNode();return n.types.expressionStatement(n.types.assignmentExpression("=",n.types.memberExpression(e,r,i||n.types.isLiteral(r)),s))}function buildPublicFieldInitSpec(e,t,r){const{key:i,computed:s}=t.node;const a=t.node.value||t.scope.buildUndefinedNode();return n.types.expressionStatement(n.types.callExpression(r.addHelper("defineProperty"),[e,s||n.types.isLiteral(i)?i:n.types.stringLiteral(i.name),a]))}function buildPrivateStaticMethodInitLoose(e,t,r,i){const s=i.get(t.node.key.id.name);const{id:a,methodId:o,getId:l,setId:u,initAdded:p}=s;if(p)return;const c=l||u;if(c){i.set(t.node.key.id.name,Object.assign({},s,{initAdded:true}));return n.template.statement.ast` + Object.defineProperty(${e}, ${a}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${l?l.name:t.scope.buildUndefinedNode()}, + set: ${u?u.name:t.scope.buildUndefinedNode()} + }) + `}return n.template.statement.ast` + Object.defineProperty(${e}, ${a}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + value: ${o.name} + }); + `}function buildPrivateMethodDeclaration(e,t,r=false){const i=t.get(e.node.key.id.name);const{id:s,methodId:a,getId:o,setId:l,getterDeclared:u,setterDeclared:p,static:c}=i;const{params:f,body:d,generator:y,async:h}=e.node;const m=o&&!u&&f.length===0;const T=l&&!p&&f.length>0;let S=a;if(m){t.set(e.node.key.id.name,Object.assign({},i,{getterDeclared:true}));S=o}else if(T){t.set(e.node.key.id.name,Object.assign({},i,{setterDeclared:true}));S=l}else if(c&&!r){S=s}return n.types.functionDeclaration(n.types.cloneNode(S),f,d,y,h)}const d=n.traverse.visitors.merge([{ThisExpression(e,t){t.needsClassRef=true;e.replaceWith(n.types.cloneNode(t.classRef))}},i.environmentVisitor]);const y={ReferencedIdentifier(e,t){if(e.scope.bindingIdentifierEquals(e.node.name,t.innerBinding)){t.needsClassRef=true;e.node.name=t.classRef.name}}};function replaceThisContext(e,t,r,s,a,o,l){var u;const p={classRef:t,needsClassRef:false,innerBinding:l};const c=new i.default({methodPath:e,constantSuper:o,file:s,refToPreserve:t,getSuperRef:r,getObjectRef(){p.needsClassRef=true;return a||e.node.static?t:n.types.memberExpression(t,n.types.identifier("prototype"))}});c.replace();if(a||e.isProperty()){e.traverse(d,p)}if((u=p.classRef)!=null&&u.name&&p.classRef.name!==(l==null?void 0:l.name)){e.traverse(y,p)}return p.needsClassRef}function buildFieldsInitNodes(e,t,r,i,s,a,o,u,p){let c=false;let f;const d=[];const y=[];const h=[];const m=n.types.isIdentifier(t)?()=>t:()=>{var e;(e=f)!=null?e:f=r[0].scope.generateUidIdentifierBasedOnNode(t);return f};for(const t of r){l.assertFieldTransformed(t);const r=t.node.static;const f=!r;const T=t.isPrivate();const S=!T;const b=t.isProperty();const E=!b;const g=t.isStaticBlock==null?void 0:t.isStaticBlock();if(r||E&&T||g){const r=replaceThisContext(t,e,m,s,g,u,p);c=c||r}switch(true){case g:d.push(n.template.statement.ast`(() => ${n.types.blockStatement(t.node.body)})()`);break;case r&&T&&b&&o:c=true;d.push(buildPrivateFieldInitLoose(n.types.cloneNode(e),t,i));break;case r&&T&&b&&!o:c=true;d.push(buildPrivateStaticFieldInitSpec(t,i));break;case r&&S&&b&&a:c=true;d.push(buildPublicFieldInitLoose(n.types.cloneNode(e),t));break;case r&&S&&b&&!a:c=true;d.push(buildPublicFieldInitSpec(n.types.cloneNode(e),t,s));break;case f&&T&&b&&o:y.push(buildPrivateFieldInitLoose(n.types.thisExpression(),t,i));break;case f&&T&&b&&!o:y.push(buildPrivateInstanceFieldInitSpec(n.types.thisExpression(),t,i));break;case f&&T&&E&&o:y.unshift(buildPrivateMethodInitLoose(n.types.thisExpression(),t,i));h.push(buildPrivateMethodDeclaration(t,i,o));break;case f&&T&&E&&!o:y.unshift(buildPrivateInstanceMethodInitSpec(n.types.thisExpression(),t,i));h.push(buildPrivateMethodDeclaration(t,i,o));break;case r&&T&&E&&!o:c=true;d.unshift(buildPrivateStaticFieldInitSpec(t,i));h.push(buildPrivateMethodDeclaration(t,i,o));break;case r&&T&&E&&o:c=true;d.unshift(buildPrivateStaticMethodInitLoose(n.types.cloneNode(e),t,s,i));h.push(buildPrivateMethodDeclaration(t,i,o));break;case f&&S&&b&&a:y.push(buildPublicFieldInitLoose(n.types.thisExpression(),t));break;case f&&S&&b&&!a:y.push(buildPublicFieldInitSpec(n.types.thisExpression(),t,s));break;default:throw new Error("Unreachable.")}}return{staticNodes:d.filter(Boolean),instanceNodes:y.filter(Boolean),pureStaticNodes:h.filter(Boolean),wrapClass(t){for(const e of r){e.remove()}if(f){t.scope.push({id:n.types.cloneNode(f)});t.set("superClass",n.types.assignmentExpression("=",f,t.node.superClass))}if(!c)return t;if(t.isClassExpression()){t.scope.push({id:e});t.replaceWith(n.types.assignmentExpression("=",n.types.cloneNode(e),t.node))}else if(!t.node.id){t.node.id=e}return t}}}},34971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(t,"injectInitialization",{enumerable:true,get:function(){return l.injectInitialization}});Object.defineProperty(t,"enableFeature",{enumerable:true,get:function(){return u.enableFeature}});Object.defineProperty(t,"FEATURES",{enumerable:true,get:function(){return u.FEATURES}});var n=r(85850);var i=r(98733);var s=r(76729);var a=r(11752);var o=r(64158);var l=r(93391);var u=r(76912);const p="7.14.6".split(".").reduce((e,t)=>e*1e5+ +t,0);const c="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:t,loose:r,manipulateOptions:f,api:d={assumption:()=>{}}}){const y=d.assumption("setPublicClassFields");const h=d.assumption("privateFieldsAsProperties");const m=d.assumption("constantSuper");const T=d.assumption("noDocumentAll");if(r===true){const t=[];if(y!==undefined){t.push(`"setPublicClassFields"`)}if(h!==undefined){t.push(`"privateFieldsAsProperties"`)}if(t.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${t.join(" and ")}`+` assumption${t.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsProperties": true\n`+`\t}`)}}return{name:e,manipulateOptions:f,pre(){(0,u.enableFeature)(this.file,t,r);if(!this.file.get(c)||this.file.get(c)0){(0,l.injectInitialization)(e,f,N,(e,t)=>{if(d)return;for(const r of S){if(r.node.static)continue;r.traverse(e,t)}})}e=C(e);e.insertBefore([...O,...I]);if(w.length>0){e.insertAfter(w)}if(D.length>0){e.find(e=>e.isStatement()||e.isDeclaration()).insertAfter(D)}},PrivateName(e){if(this.file.get(c)!==p||e.parentPath.isPrivate({key:e.node})){return}throw e.buildCodeFrameError(`Unknown PrivateName "${e}"`)},ExportDefaultDeclaration(e){if(this.file.get(c)!==p)return;const t=e.get("declaration");if(t.isClassDeclaration()&&(0,o.hasDecorators)(t.node)){if(t.node.id){(0,s.default)(e)}else{t.node.type="ClassExpression"}}}}}}},93391:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.injectInitialization=injectInitialization;t.extractComputedKeys=extractComputedKeys;var n=r(85850);var i=r(846);const s=n.traverse.visitors.merge([{Super(e){const{node:t,parentPath:r}=e;if(r.isCallExpression({callee:t})){this.push(r)}}},i.environmentVisitor]);const a={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e){if(this.scope.hasOwnBinding(e.node.name)){this.scope.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,t){if(t.classBinding&&t.classBinding===e.scope.getBinding(e.node.name)){const r=t.file.addHelper("classNameTDZError");const i=n.types.callExpression(r,[n.types.stringLiteral(e.node.name)]);e.replaceWith(n.types.sequenceExpression([i,e.node]));e.skip()}}const o={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,t,r,i){if(!r.length)return;const o=!!e.node.superClass;if(!t){const r=n.types.classMethod("constructor",n.types.identifier("constructor"),[],n.types.blockStatement([]));if(o){r.params=[n.types.restElement(n.types.identifier("args"))];r.body.body.push(n.template.statement.ast`super(...args)`)}[t]=e.get("body").unshiftContainer("body",r)}if(i){i(a,{scope:t.scope})}if(o){const e=[];t.traverse(s,e);let i=true;for(const t of e){if(i){t.insertAfter(r);i=false}else{t.insertAfter(r.map(e=>n.types.cloneNode(e)))}}}else{t.get("body").unshiftContainer("body",r)}}function extractComputedKeys(e,t,r,i){const s=[];const a={classBinding:t.node.id&&t.scope.getBinding(t.node.id.name),file:i};for(const e of r){const r=e.get("key");if(r.isReferencedIdentifier()){handleClassTDZ(r,a)}else{r.traverse(o,a)}const i=e.node;if(!r.isConstantExpression()){const e=t.scope.generateUidIdentifierBasedOnNode(i.key);t.scope.push({id:e,kind:"let"});s.push(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(e),i.key)));i.key=n.types.cloneNode(e)}}return s}},38389:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-proposal-class-properties\n`+` - @babel/plugin-proposal-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},45318:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(2707);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:true,get:function(){return e[r]}})}})}t["default"]=e;return Object.freeze(t)}var i=_interopNamespace(n);function willPathCastToBoolean(e){const t=e;const{node:r,parentPath:n}=t;if(n.isLogicalExpression()){const{operator:e,right:t}=n.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(n)}}if(n.isSequenceExpression()){const{expressions:e}=n.node;if(e[e.length-1]===r){return willPathCastToBoolean(n)}else{return true}}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:r}=t;t.count--;if(t.count===0){return i.assignmentExpression("=",r,e)}return r}set(e,t,r){return this._map.set(e,{count:r,value:t})}}function toNonOptional(e,t){const{node:r}=e;if(e.isOptionalMemberExpression()){return i.memberExpression(t,r.property,r.computed)}if(e.isOptionalCallExpression()){const n=e.get("callee");if(e.node.optional&&n.isOptionalMemberExpression()){const{object:s}=n.node;const a=e.scope.maybeGenerateMemoised(s)||s;n.get("object").replaceWith(i.assignmentExpression("=",a,s));return i.callExpression(i.memberExpression(t,i.identifier("call")),[a,...r.arguments])}return i.callExpression(t,r.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:r,listKey:n}=e;const i=t.node;if(n){if(r!==i[n])return true}else{if(r!==i)return true}e=t}return false}const s={memoise(){},handle(e,t){const{node:r,parent:n,parentPath:s,scope:a}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const o=e.find(({node:t,parent:r,parentPath:n})=>{if(n.isOptionalMemberExpression()){return r.optional||r.object!==t}if(n.isOptionalCallExpression()){return t!==e.node&&r.optional||r.callee!==t}return true});if(a.path.isPattern()){o.replaceWith(i.callExpression(i.arrowFunctionExpression([],o.node),[]));return}const l=willPathCastToBoolean(o);const u=o.parentPath;if(u.isUpdateExpression({argument:r})||u.isAssignmentExpression({left:r})){throw e.buildCodeFrameError(`can't handle assignment`)}const p=u.isUnaryExpression({operator:"delete"});if(p&&o.isOptionalMemberExpression()&&o.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let c=e;for(;;){if(c.isOptionalMemberExpression()){if(c.node.optional)break;c=c.get("object");continue}else if(c.isOptionalCallExpression()){if(c.node.optional)break;c=c.get("callee");continue}throw new Error(`Internal error: unexpected ${c.node.type}`)}const f=c.isOptionalMemberExpression()?"object":"callee";const d=c.node[f];const y=a.maybeGenerateMemoised(d);const h=y!=null?y:d;const m=s.isOptionalCallExpression({callee:r});const T=s.isCallExpression({callee:r});c.replaceWith(toNonOptional(c,h));if(m){if(n.optional){s.replaceWith(this.optionalCall(e,n.arguments))}else{s.replaceWith(this.call(e,n.arguments))}}else if(T){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let S=e.node;for(let t=e;t!==o;){const{parentPath:e}=t;if(e===o&&m&&n.optional){S=e.node;break}S=toNonOptional(e,S);t=e}let b;const E=o.parentPath;if(i.isMemberExpression(S)&&E.isOptionalCallExpression({callee:o.node,optional:true})){const{object:t}=S;b=e.scope.maybeGenerateMemoised(t);if(b){S.object=i.assignmentExpression("=",b,t)}}let g=o;if(p){g=E;S=E.node}const x=y?i.assignmentExpression("=",i.cloneNode(h),i.cloneNode(d)):i.cloneNode(h);if(l){let e;if(t){e=i.binaryExpression("!=",x,i.nullLiteral())}else{e=i.logicalExpression("&&",i.binaryExpression("!==",x,i.nullLiteral()),i.binaryExpression("!==",i.cloneNode(h),a.buildUndefinedNode()))}g.replaceWith(i.logicalExpression("&&",e,S))}else{let e;if(t){e=i.binaryExpression("==",x,i.nullLiteral())}else{e=i.logicalExpression("||",i.binaryExpression("===",x,i.nullLiteral()),i.binaryExpression("===",i.cloneNode(h),a.buildUndefinedNode()))}g.replaceWith(i.conditionalExpression(e,p?i.booleanLiteral(true):a.buildUndefinedNode(),S))}if(b){const e=E.node;E.replaceWith(i.optionalCallExpression(i.optionalMemberExpression(e.callee,i.identifier("call"),false,true),[i.cloneNode(b),...e.arguments],false))}return}if(s.isUpdateExpression({argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=n;this.memoise(e,2);const o=i.binaryExpression(t[0],i.unaryExpression("+",this.get(e)),i.numericLiteral(1));if(a){s.replaceWith(this.set(e,o))}else{const{scope:t}=e;const n=t.generateUidIdentifierBasedOnNode(r);t.push({id:n});o.left=i.assignmentExpression("=",i.cloneNode(n),o.left);s.replaceWith(i.sequenceExpression([this.set(e,o),i.cloneNode(n)]))}return}if(s.isAssignmentExpression({left:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:r}=n;if(t==="="){s.replaceWith(this.set(e,r))}else{const n=t.slice(0,-1);if(i.LOGICAL_OPERATORS.includes(n)){this.memoise(e,1);s.replaceWith(i.logicalExpression(n,this.get(e),this.set(e,r)))}else{this.memoise(e,2);s.replaceWith(this.set(e,i.binaryExpression(n,this.get(e),r)))}}return}if(s.isCallExpression({callee:r})){s.replaceWith(this.call(e,n.arguments));return}if(s.isOptionalCallExpression({callee:r})){if(a.path.isPattern()){s.replaceWith(i.callExpression(i.arrowFunctionExpression([],s.node),[]));return}s.replaceWith(this.optionalCall(e,n.arguments));return}if(s.isForXStatement({left:r})||s.isObjectProperty({value:r})&&s.parentPath.isObjectPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isObjectProperty({value:n})&&s.parentPath.parentPath.isObjectPattern()||s.isArrayPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isArrayPattern()||s.isRestElement()){e.replaceWith(this.destructureSet(e));return}e.replaceWith(this.get(e))}};function memberExpressionToFunctions(e,t,r){e.traverse(t,Object.assign({},s,r,{memoiser:new AssignmentMemoiser}))}t.default=memberExpressionToFunctions},50236:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(50236);var i=r(19576)},19576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},98297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(9661);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},89245:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(94069);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},52835:()=>{},93232:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(69704);var i=r(58674);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(62533);var i=r(10129);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},63484:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(62533);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},62533:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(93232);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},81855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(62533)},26165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(83336);var i=r(12785);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(62533);var i=r(63349);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},22170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(91152);function clone(e){return(0,n.default)(e,false)}},20168:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(91152);function cloneDeep(e){return(0,n.default)(e)}},70798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(91152);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},91152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(69704);var i=r(83336);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},92186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(91152);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},86487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(81302);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},81302:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},93701:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(92860);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},64159:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(92860);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},39965:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(92860);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},64171:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(39965);var i=r(64159);var s=r(93701);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},78410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(32954);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},91172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(69704);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},32954:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},77298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(27268);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},94923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(61561);var i=r(83336);var s=r(62533);var a=r(91152);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},85693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(18364);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},27268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(83336);var i=r(62533);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},41642:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(83336);var i=r(62533);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},35309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(83336);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},18364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(36277);var i=r(88465);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},31650:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(83336);var i=r(91152);var s=r(68106);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},92856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(94923);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},56558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(83336);var i=r(62533);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},41361:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36277);var i=r(62533);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},67426:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(94069);var i=r(36277);var s=r(88465);var a=r(32954);var o=r(7120);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},52445:(e,t,r)=>{"use strict";var n=r(7120);var i=r(67426);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},73186:(e,t,r)=>{"use strict";var n=r(7120);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:false},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"))}})},69704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(67426);r(73186);r(21910);r(29672);r(52445);r(49192);var i=r(7120);var s=r(70242);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},21910:(e,t,r)=>{"use strict";var n=r(7120);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},29672:(e,t,r)=>{"use strict";var n=r(7120);var i=r(70242);{(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")}}})},70242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(7120);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},49192:(e,t,r)=>{"use strict";var n=r(7120);var i=r(67426);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},7120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(94069);var i=r(58674);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},2707:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(28942);var s=r(5598);var a=r(26165);var o=r(98297);var l=r(89245);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(63484);var p=r(86055);var c=r(68296);var f=r(62533);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(81855);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(91152);var h=r(22170);var m=r(20168);var T=r(70798);var S=r(92186);var b=r(86487);var E=r(81302);var g=r(93701);var x=r(64159);var P=r(64171);var A=r(39965);var v=r(78410);var O=r(91172);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(32954);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(77298);var D=r(85693);var N=r(27268);var C=r(41642);var j=r(35309);var _=r(18364);var L=r(31650);var k=r(92856);var B=r(56558);var M=r(41361);var F=r(69704);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(32736);var K=r(35835);var V=r(6771);var U=r(93076);var X=r(68106);var J=r(10129);var Y=r(61561);var W=r(11880);var q=r(42172);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(79494);var H=r(37830);var G=r(94069);var $=r(69515);var Q=r(19764);var Z=r(59822);var ee=r(95829);var te=r(9661);var re=r(64634);var ne=r(68669);var ie=r(17429);var se=r(30823);var ae=r(21708);var oe=r(71155);var le=r(61079);var ue=r(36277);var pe=r(4505);var ce=r(91682);var fe=r(58674);var de=r(20260);var ye=r(83336);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(52835);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},32736:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(62533);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},10129:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(83336);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},35835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(32954);var i=r(64171);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},6771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(62533);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},93076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(32954);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},68106:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(79494);var i=r(93076);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},63349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(83336);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},61561:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(83336);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(61561);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},42172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(69704);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(69704);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},92860:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},12785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(62533);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},20260:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(91682);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},83336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(37830);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},94069:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(37830);var i=r(71155);var s=r(68669);var a=r(69704);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},69515:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(61561);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},19764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(83336);var i=r(95829);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},59822:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(71155);var i=r(83336);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},95829:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(83336);var i=r(32954);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},9661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(69704);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},64634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(69704);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(69704);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},17429:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},30823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(83336);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},21708:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(83336);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},71155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(69704);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},61079:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(36277);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},36277:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(88465);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},4505:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(83336);var i=r(32954);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},91682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(83336);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},28942:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20260);const i=(0,n.default)("React.Component");var s=i;t.default=s},58674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(69704);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},60060:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enableFeature=enableFeature;t.hasFeature=hasFeature;t.runtimeKey=t.featuresKey=t.FEATURES=void 0;const r=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3});t.FEATURES=r;const n="@babel/plugin-regexp-features/featuresKey";t.featuresKey=n;const i="@babel/plugin-regexp-features/runtimeKey";t.runtimeKey=i;function enableFeature(e,t){return e|t}function hasFeature(e,t){return!!(e&t)}},36610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var n=r(4864);var i=r(60060);var s=r(27185);var a=r(85850);var o=r(96659);function pullFlag(e,t){e.flags=e.flags.replace(t,"")}const l="7.14.5".split(".").reduce((e,t)=>e*1e5+ +t,0);const u="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:t,options:r={}}){return{name:e,pre(){var e;const{file:n}=this;const s=(e=n.get(i.featuresKey))!=null?e:0;let a=(0,i.enableFeature)(s,i.FEATURES[t]);const{useUnicodeFlag:o,runtime:p=true}=r;if(o===false){a=(0,i.enableFeature)(a,i.FEATURES.unicodeFlag)}if(a!==s){n.set(i.featuresKey,a)}if(!p){n.set(i.runtimeKey,false)}if(!n.has(u)||n.get(u){f[e]=t})}r.pattern=n(r.pattern,r.flags,c);if(c.namedGroup&&Object.keys(f).length>0&&p&&!isRegExpTest(e)){const t=a.types.callExpression(this.addHelper("wrapRegExp"),[r,a.types.valueToNode(f)]);(0,o.default)(t);e.replaceWith(t)}if((0,i.hasFeature)(u,i.FEATURES.unicodeFlag)){pullFlag(r,"u")}if((0,i.hasFeature)(u,i.FEATURES.dotAllFlag)){pullFlag(r,"s")}}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},27185:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.generateRegexpuOptions=generateRegexpuOptions;var n=r(60060);function generateRegexpuOptions(e,t){let r=false,i=false,s=false,a=false;const{flags:o,pattern:l}=e;const u=o.includes("u");if(u){if(!(0,n.hasFeature)(t,n.FEATURES.unicodeFlag)){r=true}if((0,n.hasFeature)(t,n.FEATURES.unicodePropertyEscape)&&/\\[pP]{/.test(l)){s=true}}if((0,n.hasFeature)(t,n.FEATURES.dotAllFlag)&&o.indexOf("s")>=0){i=true}if((0,n.hasFeature)(t,n.FEATURES.namedCaptureGroups)&&/\(\?<(?![=!])/.test(l)){a=true}if(!a&&!s&&!i&&(!u||r)){return null}if(u&&o.indexOf("s")>=0){i=true}return{useUnicodeFlag:r,onNamedGroup:()=>{},namedGroup:a,unicodePropertyEscape:s,dotAllFlag:i,lookbehind:true}}},19178:(e,t,r)=>{"use strict";t.__esModule=true;t.stringifyTargetsMultiline=stringifyTargetsMultiline;t.stringifyTargets=stringifyTargets;t.presetEnvSilentDebugHeader=void 0;var n=r(34487);const i="#__secret_key__@babel/preset-env__don't_log_debug_header_and_resolved_targets";t.presetEnvSilentDebugHeader=i;function stringifyTargetsMultiline(e){return JSON.stringify((0,n.prettifyTargets)(e),null,2)}function stringifyTargets(e){return JSON.stringify(e).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }')}},72881:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireWildcard(r(85850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var 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;if(s&&(s.get||s.set)){Object.defineProperty(r,i,s)}else{r[i]=e[i]}}}r.default=e;if(t){t.set(e,r)}return r}const{types:i}=n.default||n;class ImportsCache{constructor(e){this._imports=new WeakMap;this._anonymousImports=new WeakMap;this._lastImports=new WeakMap;this._resolver=e}storeAnonymous(e,t,r){const n=this._normalizeKey(e,t);const s=this._ensure(this._anonymousImports,e,Set);if(s.has(n))return;const a=r(e.node.sourceType==="script",i.stringLiteral(this._resolver(t)));s.add(n);this._injectImport(e,a)}storeNamed(e,t,r,n){const s=this._normalizeKey(e,t,r);const a=this._ensure(this._imports,e,Map);if(!a.has(s)){const{node:o,name:l}=n(e.node.sourceType==="script",i.stringLiteral(this._resolver(t)),i.identifier(r));a.set(s,l);this._injectImport(e,o)}return i.identifier(a.get(s))}_injectImport(e,t){let r=this._lastImports.get(e);if(r&&r.node&&r.parent===e.node&&r.container===e.node.body){r=r.insertAfter(t)}else{r=e.unshiftContainer("body",t)}r=r[r.length-1];this._lastImports.set(e,r)}_ensure(e,t,r){let n=e.get(t);if(!n){n=new r;e.set(t,n)}return n}_normalizeKey(e,t,r=""){const{sourceType:n}=e.node;return`${r&&n}::${t}::${r}`}}t.default=ImportsCache},71192:(e,t,r)=>{"use strict";t.__esModule=true;t.default=definePolyfillProvider;var n=r(69624);var i=_interopRequireWildcard(r(34487));var s=r(34887);var a=_interopRequireDefault(r(72881));var o=r(19178);var l=r(16792);var u=_interopRequireWildcard(r(63414));var p=_interopRequireWildcard(r(58752));var c=_interopRequireDefault(r(87209));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var 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;if(s&&(s.get||s.set)){Object.defineProperty(r,i,s)}else{r[i]=e[i]}}}r.default=e;if(t){t.set(e,r)}return r}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var i,s;for(s=0;s=0)continue;r[i]=e[i]}return r}const f=i.default.default||i.default;function resolveOptions(e,t){const{method:r,targets:n,ignoreBrowserslistConfig:i,configPath:s,debug:a,shouldInjectPolyfill:o,absoluteImports:l}=e,u=_objectWithoutPropertiesLoose(e,["method","targets","ignoreBrowserslistConfig","configPath","debug","shouldInjectPolyfill","absoluteImports"]);let p;if(r==="usage-global")p="usageGlobal";else if(r==="entry-global")p="entryGlobal";else if(r==="usage-pure")p="usagePure";else if(typeof r!=="string"){throw new Error(".method must be a string")}else{throw new Error(`.method must be one of "entry-global", "usage-global"`+` or "usage-pure" (received ${JSON.stringify(r)})`)}if(typeof o==="function"){if(e.include||e.exclude){throw new Error(`.include and .exclude are not supported when using the`+` .shouldInjectPolyfill function.`)}}else if(o!=null){throw new Error(`.shouldInjectPolyfill must be a function, or undefined`+` (received ${JSON.stringify(o)})`)}if(l!=null&&typeof l!=="boolean"&&typeof l!=="string"){throw new Error(`.absoluteImports must be a boolean, a string, or undefined`+` (received ${JSON.stringify(l)})`)}let c;if(n||s||i){const e=typeof n==="string"||Array.isArray(n)?{browsers:n}:n;c=f(e,{ignoreBrowserslistConfig:i,configPath:s})}else{c=t.targets()}return{method:r,methodName:p,targets:c,absoluteImports:l!=null?l:false,shouldInjectPolyfill:o,debug:!!a,providerOptions:u}}function instantiateProvider(e,t,r,n,o,u){const{method:f,methodName:d,targets:y,debug:h,shouldInjectPolyfill:m,providerOptions:T,absoluteImports:S}=resolveOptions(t,u);const b=(0,s.createUtilsGetter)(new a.default(e=>p.resolve(n,e,S)));let E,g;let x;let P;let A;const v=new Map;const O={babel:u,getUtils:b,method:t.method,targets:y,createMetaResolver:c.default,shouldInjectPolyfill(t){if(P===undefined){throw new Error(`Internal error in the ${e.name} provider: `+`shouldInjectPolyfill() can't be called during initialization.`)}if(!P.has(t)){console.warn(`Internal error in the ${I.name} provider: `+`unknown polyfill "${t}".`)}if(A&&!A(t))return false;let r=(0,i.isRequired)(t,y,{compatData:x,includes:E,excludes:g});if(m){r=m(t,r);if(typeof r!=="boolean"){throw new Error(`.shouldInjectPolyfill must return a boolean.`)}}return r},debug(e){o().found=true;if(!h||!e)return;if(o().polyfills.has(I.name))return;o().polyfills.set(e,x&&e&&x[e])},assertDependency(e,t="*"){if(r===false)return;if(S){return}const i=t==="*"?e:`${e}@^${t}`;const s=r.all?false:mapGetOr(v,`${e} :: ${n}`,()=>p.has(n,e));if(!s){o().missingDeps.add(i)}}};const I=e(O,T,n);if(typeof I[d]!=="function"){throw new Error(`The "${I.name||e.name}" provider doesn't `+`support the "${f}" polyfilling method.`)}if(Array.isArray(I.polyfills)){P=new Set(I.polyfills);A=I.filterPolyfills}else if(I.polyfills){P=new Set(Object.keys(I.polyfills));x=I.polyfills;A=I.filterPolyfills}else{P=new Set}({include:E,exclude:g}=(0,l.validateIncludeExclude)(I.name||e.name,P,T.include||[],T.exclude||[]));return{debug:h,method:f,targets:y,provider:I,callProvider(e,t){const r=b(t);I[d](e,r,t)}}}function definePolyfillProvider(e){return(0,n.declare)((t,r,n)=>{t.assertVersion(7);const{traverse:s}=t;let a;const c=(0,l.applyMissingDependenciesDefaults)(r,t);const{debug:f,method:d,targets:y,provider:h,callProvider:m}=instantiateProvider(e,r,c,n,()=>a,t);const T=d==="entry-global"?u.entry:u.usage;const S=h.visitor?s.visitors.merge([T(m),h.visitor]):T(m);if(f&&f!==o.presetEnvSilentDebugHeader){console.log(`${h.name}: \`DEBUG\` option`);console.log(`\nUsing targets: ${(0,o.stringifyTargetsMultiline)(y)}`);console.log(`\nUsing polyfills with \`${d}\` method:`)}return{name:"inject-polyfills",visitor:S,pre(){var e;a={polyfills:new Map,found:false,providers:new Set,missingDeps:new Set};(e=h.pre)==null?void 0:e.apply(this,arguments)},post(){var e;(e=h.post)==null?void 0:e.apply(this,arguments);if(c!==false){if(c.log==="per-file"){p.logMissing(a.missingDeps)}else{p.laterLogMissing(a.missingDeps)}}if(!f)return;if(this.filename)console.log(`\n[${this.filename}]`);if(a.polyfills.size===0){console.log(d==="entry-global"?a.found?`Based on your targets, the ${h.name} polyfill did not add any polyfill.`:`The entry point for the ${h.name} polyfill has not been found.`:`Based on your code and targets, the ${h.name} polyfill did not add any polyfill.`);return}if(d==="entry-global"){console.log(`The ${h.name} polyfill entry has been replaced with `+`the following polyfills:`)}else{console.log(`The ${h.name} polyfill added the following polyfills:`)}for(const[e,t]of a.polyfills){if(t){const r=(0,i.getInclusionReasons)(e,y,t);const n=JSON.stringify(r).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }');console.log(` ${e} ${n}`)}else{console.log(` ${e}`)}}}}})}function mapGetOr(e,t,r){let n=e.get(t);if(n===undefined){n=r();e.set(t,n)}return n}},87209:(e,t,r)=>{"use strict";t.__esModule=true;t.default=createMetaResolver;var n=r(34887);const i=new Set(["global","globalThis","self","window"]);function createMetaResolver(e){const{static:t,instance:r,global:s}=e;return e=>{if(e.kind==="global"&&s&&(0,n.has)(s,e.name)){return{kind:"global",desc:s[e.name],name:e.name}}if(e.kind==="property"||e.kind==="in"){const{placement:a,object:o,key:l}=e;if(o&&a==="static"){if(s&&i.has(o)&&(0,n.has)(s,l)){return{kind:"global",desc:s[l],name:l}}if(t&&(0,n.has)(t,o)&&(0,n.has)(t[o],l)){return{kind:"static",desc:t[o][l],name:`${o}$${l}`}}}if(r&&(0,n.has)(r,l)){return{kind:"instance",desc:r[l],name:`${l}`}}}}}},58752:(e,t,r)=>{"use strict";t.__esModule=true;t.resolve=resolve;t.has=has;t.logMissing=logMissing;t.laterLogMissing=laterLogMissing;var n=_interopRequireDefault(r(85622));var i=_interopRequireDefault(r(66272));var s=_interopRequireDefault(r(20923));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=parseFloat(process.versions.node)>=8.9;function resolve(e,t,r){if(r===false)return t;let i=e;if(typeof r==="string"){i=n.default.resolve(i,r)}let o,l;let u=t.indexOf("/");if(t[0]==="@"){u=t.indexOf("/",u+1)}if(u===-1){o=t;l=""}else{o=t.slice(0,u);l=t.slice(u)}try{let r;if(a){r=require.resolve(`${o}/package.json`,{paths:[i]})}else{r=s.default.sync(`${o}/package.json`,{basedir:i})}return n.default.dirname(r)+l}catch(r){if(r.code!=="MODULE_NOT_FOUND")throw r;throw Object.assign(new Error(`Failed to resolve "${t}" relative to "${e}"`),{code:"BABEL_POLYFILL_NOT_FOUND",polyfill:t,dirname:e})}}function has(e,t){try{if(a){require.resolve(t,{paths:[e]})}else{s.default.sync(t,{basedir:e})}return true}catch(e){return false}}function logMissing(e){if(e.size===0)return;const t=Array.from(e).sort().join(" ");console.warn("\nSome polyfills have been added but are not present in your dependencies.\n"+"Please run one of the following commands:\n"+`\tnpm install --save ${t}\n`+`\tyarn add ${t}\n`);process.exitCode=1}let o=new Set;const l=(0,i.default)(()=>{logMissing(o);o=new Set},100);function laterLogMissing(e){if(e.size===0)return;e.forEach(e=>o.add(e));l()}},16792:(e,t,r)=>{"use strict";t.__esModule=true;t.validateIncludeExclude=validateIncludeExclude;t.applyMissingDependenciesDefaults=applyMissingDependenciesDefaults;var n=r(34887);function patternToRegExp(e){if(e instanceof RegExp)return e;try{return new RegExp(`^${e}$`)}catch(e){return null}}function buildUnusedError(e,t){if(!t.length)return"";return` - The following "${e}" patterns didn't match any polyfill:\n`+t.map(e=>` ${String(e)}\n`).join("")}function buldDuplicatesError(e){if(!e.size)return"";return` - The following polyfills were matched both by "include" and "exclude" patterns:\n`+Array.from(e,e=>` ${e}\n`).join("")}function validateIncludeExclude(e,t,r,i){let s;const a=e=>{const r=patternToRegExp(e);if(!r)return false;let n=false;for(const e of t){if(r.test(e)){n=true;s.add(e)}}return!n};const o=s=new Set;const l=Array.from(r).filter(a);const u=s=new Set;const p=Array.from(i).filter(a);const c=(0,n.intersection)(o,u);if(c.size>0||l.length>0||p.length>0){throw new Error(`Error while validating the "${e}" provider options:\n`+buildUnusedError("include",l)+buildUnusedError("exclude",p)+buldDuplicatesError(c))}return{include:o,exclude:u}}function applyMissingDependenciesDefaults(e,t){const{missingDependencies:r={}}=e;if(r===false)return false;const n=t.caller(e=>e==null?void 0:e.name);const{log:i="deferred",inject:s=(n==="rollup-plugin-babel"?"throw":"import"),all:a=false}=r;return{log:i,inject:s,all:a}}},34887:(e,t,r)=>{"use strict";t.__esModule=true;t.intersection=intersection;t.has=has;t.resolveKey=resolveKey;t.resolveSource=resolveSource;t.getImportSource=getImportSource;t.getRequireSource=getRequireSource;t.createUtilsGetter=createUtilsGetter;var n=_interopRequireWildcard(r(85850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var 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;if(s&&(s.get||s.set)){Object.defineProperty(r,i,s)}else{r[i]=e[i]}}}r.default=e;if(t){t.set(e,r)}return r}const{types:i,template:s}=n.default||n;function intersection(e,t){const r=new Set;e.forEach(e=>t.has(e)&&r.add(e));return r}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function getType(e){return Object.prototype.toString.call(e).slice(8,-1)}function resolveId(e){if(e.isIdentifier()&&!e.scope.hasBinding(e.node.name,true)){return e.node.name}const{deopt:t}=e.evaluate();if(t&&t.isIdentifier()){return t.node.name}}function resolveKey(e,t=false){const{node:r,parent:n,scope:i}=e;if(e.isStringLiteral())return r.value;const{name:s}=r;const a=e.isIdentifier();if(a&&!(t||n.computed))return s;if(t&&e.isMemberExpression()&&e.get("object").isIdentifier({name:"Symbol"})&&!i.hasBinding("Symbol",true)){const t=resolveKey(e.get("property"),e.node.computed);if(t)return"Symbol."+t}if(!a||i.hasBinding(s,true)){const{value:t}=e.evaluate();if(typeof t==="string")return t}}function resolveSource(e){if(e.isMemberExpression()&&e.get("property").isIdentifier({name:"prototype"})){const t=resolveId(e.get("object"));if(t){return{id:t,placement:"prototype"}}return{id:null,placement:null}}const t=resolveId(e);if(t){return{id:t,placement:"static"}}const{value:r}=e.evaluate();if(r!==undefined){return{id:getType(r),placement:"prototype"}}else if(e.isRegExpLiteral()){return{id:"RegExp",placement:"prototype"}}else if(e.isFunction()){return{id:"Function",placement:"prototype"}}return{id:null,placement:null}}function getImportSource({node:e}){if(e.specifiers.length===0)return e.source.value}function getRequireSource({node:e}){if(!i.isExpressionStatement(e))return;const{expression:t}=e;const r=i.isCallExpression(t)&&i.isIdentifier(t.callee)&&t.callee.name==="require"&&t.arguments.length===1&&i.isStringLiteral(t.arguments[0]);if(r)return t.arguments[0].value}function hoist(e){e._blockHoist=3;return e}function createUtilsGetter(e){return t=>{const r=t.findParent(e=>e.isProgram());return{injectGlobalImport(t){e.storeAnonymous(r,t,(e,t)=>{return e?s.statement.ast`require(${t})`:i.importDeclaration([],t)})},injectNamedImport(t,n,a=n){return e.storeNamed(r,t,n,(e,t,n)=>{const o=r.scope.generateUidIdentifier(a);return{node:e?hoist(s.statement.ast` + var ${o} = require(${t}).${n} + `):i.importDeclaration([i.importSpecifier(o,n)],t),name:o.name}})},injectDefaultImport(t,n=t){return e.storeNamed(r,t,"default",(e,t)=>{const a=r.scope.generateUidIdentifier(n);return{node:e?hoist(s.statement.ast`var ${a} = require(${t})`):i.importDeclaration([i.importDefaultSpecifier(a)],t),name:a.name}})}}}}},22179:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=r(34887);var i=e=>({ImportDeclaration(t){const r=(0,n.getImportSource)(t);if(!r)return;e({kind:"import",source:r},t)},Program(t){t.get("body").forEach(t=>{const r=(0,n.getRequireSource)(t);if(!r)return;e({kind:"import",source:r},t)})}});t.default=i},63414:(e,t,r)=>{"use strict";t.__esModule=true;t.entry=t.usage=void 0;var n=_interopRequireDefault(r(47768));t.usage=n.default;var i=_interopRequireDefault(r(22179));t.entry=i.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},47768:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=r(34887);var i=e=>{function property(t,r,n,i){return e({kind:"property",object:t,key:r,placement:n},i)}return{ReferencedIdentifier(t){const{node:{name:r},scope:n}=t;if(n.getBindingIdentifier(r))return;e({kind:"global",name:r},t)},MemberExpression(e){const t=(0,n.resolveKey)(e.get("property"),e.node.computed);if(!t||t==="prototype")return;const r=e.get("object");const i=r.scope.getBinding(r.node.name);if(i&&i.path.isImportNamespaceSpecifier())return;const s=(0,n.resolveSource)(r);return property(s.id,t,s.placement,e)},ObjectPattern(e){const{parentPath:t,parent:r}=e;let i;if(t.isVariableDeclarator()){i=t.get("init")}else if(t.isAssignmentExpression()){i=t.get("right")}else if(t.isFunction()){const n=t.parentPath;if(n.isCallExpression()||n.isNewExpression()){if(n.node.callee===r){i=n.get("arguments")[e.key]}}}let s=null;let a=null;if(i)({id:s,placement:a}=(0,n.resolveSource)(i));for(const t of e.get("properties")){if(t.isObjectProperty()){const e=(0,n.resolveKey)(t.get("key"));if(e)property(s,e,a,t)}}},BinaryExpression(t){if(t.node.operator!=="in")return;const r=(0,n.resolveSource)(t.get("right"));const i=(0,n.resolveKey)(t.get("left"),true);if(!i)return;e({kind:"in",object:r.id,key:i,placement:r.placement},t)}}};t.default=i},69624:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},20923:(e,t,r)=>{var n=r(29851);n.core=r(74335);n.isCore=r(91634);n.sync=r(56809);e.exports=n},29851:(e,t,r)=>{var n=r(35747);var i=r(85622);var s=r(2117);var a=r(74958);var o=r(17548);var l=r(21176);var u=n.realpath&&typeof n.realpath.native==="function"?n.realpath.native:n.realpath;var p=function isFile(e,t){n.stat(e,function(e,r){if(!e){return t(null,r.isFile()||r.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)})};var c=function isDirectory(e,t){n.stat(e,function(e,r){if(!e){return t(null,r.isDirectory())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)})};var f=function realpath(e,t){u(e,function(r,n){if(r&&r.code!=="ENOENT")t(r);else t(null,r?e:n)})};var d=function maybeRealpath(e,t,r,n){if(r&&r.preserveSymlinks===false){e(t,n)}else{n(null,t)}};var y=function defaultReadPackage(e,t,r){e(t,function(e,t){if(e)r(e);else{try{var n=JSON.parse(t);r(null,n)}catch(e){r(null)}}})};var h=function getPackageCandidates(e,t,r){var n=a(t,r,e);for(var s=0;s{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;Error.prepareStackTrace=e;return t[2].getFileName()}},74335:(e,t,r)=>{var n=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(e){var t=e.split(" ");var r=t.length>1?t[0]:"=";var i=(t.length>1?t[1]:t[0]).split(".");for(var s=0;s<3;++s){var a=parseInt(n[s]||0,10);var o=parseInt(i[s]||0,10);if(a===o){continue}if(r==="<"){return a="){return a>=o}else{return false}}return r===">="}function matchesRange(e){var t=e.split(/ ?&& ?/);if(t.length===0){return false}for(var r=0;r{var n=r(21176);e.exports=function isCore(e){return n(e)}},74958:(e,t,r)=>{var n=r(85622);var i=n.parse||r(50731);var s=function getNodeModulesDirs(e,t){var r="/";if(/^([A-Za-z]:)/.test(e)){r=""}else if(/^\\\\/.test(e)){r="\\\\"}var s=[e];var a=i(e);while(a.dir!==s[s.length-1]){s.push(a.dir);a=i(a.dir)}return s.reduce(function(e,i){return e.concat(t.map(function(e){return n.resolve(r,i,e)}))},[])};e.exports=function nodeModulesPaths(e,t,r){var n=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(r,e,function(){return s(e,n)},t)}var i=s(e,n);return t&&t.paths?i.concat(t.paths):i}},17548:e=>{e.exports=function(e,t){return t||{}}},56809:(e,t,r)=>{var n=r(21176);var i=r(35747);var s=r(85622);var a=r(2117);var o=r(74958);var l=r(17548);var u=i.realpathSync&&typeof i.realpathSync.native==="function"?i.realpathSync.native:i.realpathSync;var p=function isFile(e){try{var t=i.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isFile()||t.isFIFO()};var c=function isDirectory(e){try{var t=i.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isDirectory()};var f=function realpathSync(e){try{return u(e)}catch(e){if(e.code!=="ENOENT"){throw e}}return e};var d=function maybeRealpathSync(e,t,r){if(r&&r.preserveSymlinks===false){return e(t)}return t};var y=function defaultReadPackageSync(e,t){var r=e(t);try{var n=JSON.parse(r);return n}catch(e){}};var h=function getPackageCandidates(e,t,r){var n=o(t,r,e);for(var i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(50639);function getObjRef(e,t,r){let i;if(n.isIdentifier(e)){if(r.hasBinding(e.name)){return e}else{i=e}}else if(n.isMemberExpression(e)){i=e.object;if(n.isSuper(i)||n.isIdentifier(i)&&r.hasBinding(i.name)){return i}}else{throw new Error(`We can't explode this node type ${e["type"]}`)}const s=r.generateUidIdentifierBasedOnNode(i);r.push({id:s});t.push(n.assignmentExpression("=",n.cloneNode(s),n.cloneNode(i)));return s}function getPropRef(e,t,r){const i=e.property;if(n.isPrivateName(i)){throw new Error("We can't generate property ref for private name, please install `@babel/plugin-proposal-class-properties`")}const s=n.toComputedKey(e,i);if(n.isLiteral(s)&&n.isPureish(s))return s;const a=r.generateUidIdentifierBasedOnNode(i);r.push({id:a});t.push(n.assignmentExpression("=",n.cloneNode(a),n.cloneNode(i)));return a}function _default(e,t,r,i,s){let a;if(n.isIdentifier(e)&&s){a=e}else{a=getObjRef(e,t,i)}let o,l;if(n.isIdentifier(e)){o=n.cloneNode(e);l=a}else{const r=getPropRef(e,t,i);const s=e.computed||n.isLiteral(r);l=n.memberExpression(n.cloneNode(a),n.cloneNode(r),s);o=n.memberExpression(n.cloneNode(a),n.cloneNode(r),s)}return{uid:l,ref:o}}},43014:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(43014);var i=r(88928)},88928:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},49255:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(22524);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},9066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(75662);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},27316:()=>{},33939:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(86047);var i=r(94e3);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(11496);var i=r(75563);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},94336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(11496);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},11496:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(33939);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},23732:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(11496)},8397:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(37046);var i=r(86433);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(11496);var i=r(54758);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},13781:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(50488);function clone(e){return(0,n.default)(e,false)}},8189:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(50488);function cloneDeep(e){return(0,n.default)(e)}},46082:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(50488);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},50488:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(86047);var i=r(37046);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},82527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(50488);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},92420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(47678);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},47678:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},42101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(99381);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},74592:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(99381);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},68550:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(99381);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},87968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(68550);var i=r(74592);var s=r(42101);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},11543:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(9460);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},86813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(86047);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},9460:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},26089:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(72053);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},82125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(73238);var i=r(37046);var s=r(11496);var a=r(50488);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},79925:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(45024);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},72053:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(37046);var i=r(11496);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},58477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(37046);var i=r(11496);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},37419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(37046);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},45024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(83058);var i=r(42926);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},98994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(37046);var i=r(50488);var s=r(88336);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},58396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(82125);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},1629:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(37046);var i=r(11496);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},72855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(83058);var i=r(11496);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},95825:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(75662);var i=r(83058);var s=r(42926);var a=r(9460);var o=r(46565);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},25401:(e,t,r)=>{"use strict";var n=r(46565);var i=r(95825);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},63985:(e,t,r)=>{"use strict";var n=r(46565);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:false},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"))}})},86047:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(95825);r(63985);r(74939);r(54837);r(25401);r(11614);var i=r(46565);var s=r(88529);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},74939:(e,t,r)=>{"use strict";var n=r(46565);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},54837:(e,t,r)=>{"use strict";var n=r(46565);var i=r(88529);{(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")}}})},88529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(46565);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},11614:(e,t,r)=>{"use strict";var n=r(46565);var i=r(95825);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},46565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(75662);var i=r(94e3);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},50639:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(81656);var s=r(147);var a=r(8397);var o=r(49255);var l=r(9066);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(94336);var p=r(49902);var c=r(6928);var f=r(11496);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(23732);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(50488);var h=r(13781);var m=r(8189);var T=r(46082);var S=r(82527);var b=r(92420);var E=r(47678);var g=r(42101);var x=r(74592);var P=r(87968);var A=r(68550);var v=r(11543);var O=r(86813);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(9460);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(26089);var D=r(79925);var N=r(72053);var C=r(58477);var j=r(37419);var _=r(45024);var L=r(98994);var k=r(58396);var B=r(1629);var M=r(72855);var F=r(86047);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(19645);var K=r(16343);var V=r(93647);var U=r(68118);var X=r(88336);var J=r(75563);var Y=r(73238);var W=r(12853);var q=r(75418);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(57353);var H=r(7655);var G=r(75662);var $=r(59990);var Q=r(94005);var Z=r(90711);var ee=r(43364);var te=r(22524);var re=r(42866);var ne=r(88633);var ie=r(48351);var se=r(68941);var ae=r(26974);var oe=r(6435);var le=r(85278);var ue=r(83058);var pe=r(96474);var ce=r(59800);var fe=r(94e3);var de=r(10984);var ye=r(37046);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(27316);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},19645:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(11496);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},75563:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(37046);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},16343:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(9460);var i=r(87968);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},93647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(11496);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},68118:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(9460);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},88336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(57353);var i=r(68118);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},54758:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(37046);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},73238:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(37046);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(73238);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},75418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(86047);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(86047);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},99381:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},86433:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(11496);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},10984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(59800);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},37046:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(7655);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},75662:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(7655);var i=r(6435);var s=r(88633);var a=r(86047);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},59990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(73238);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},94005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(37046);var i=r(43364);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},90711:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(6435);var i=r(37046);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},43364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(37046);var i=r(9460);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},22524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(86047);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},42866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(86047);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(86047);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},48351:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},68941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(37046);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},26974:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(37046);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},6435:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(86047);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},85278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(83058);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},83058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(42926);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},96474:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(37046);var i=r(9460);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},59800:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(37046);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},81656:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(10984);const i=(0,n.default)("React.Component");var s=i;t.default=s},94000:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(86047);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},98733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(45162);var i=r(36900);var s=r(56538);const a=(0,i.default)(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const o=(0,i.default)(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const l={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const r=e.scope.getBindingIdentifier(t.name);if(r!==t.outerDeclar)return;t.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(s.isNullLiteral(e)){return"null"}if(s.isRegExpLiteral(e)){return`_${e.pattern}_${e.flags}`}if(s.isTemplateLiteral(e)){return e.quasis.map(e=>e.value.raw).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,t,r,i){if(e.selfReference){if(i.hasBinding(r.name)&&!i.hasGlobal(r.name)){i.rename(r.name)}else{if(!s.isFunction(t))return;let e=a;if(t.generator){e=o}const l=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:i.generateUidIdentifier(r.name)}).expression;const u=l.callee.body.body[0].params;for(let e=0,r=(0,n.default)(t);ee)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(58563);var i=r(59860)},59860:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},87578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(44538);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},29994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(66631);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},21583:()=>{},92706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(50144);var i=r(71329);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(31746);var i=r(32789);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},56035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(31746);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},31746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(92706);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},5493:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(31746)},13470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(26197);var i=r(74498);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(31746);var i=r(37786);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},78421:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(67015);function clone(e){return(0,n.default)(e,false)}},92002:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(67015);function cloneDeep(e){return(0,n.default)(e)}},72753:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(67015);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},67015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(50144);var i=r(26197);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},3167:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(67015);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},36980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(56026);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},56026:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},95762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(58638);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},12065:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(58638);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},50215:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(58638);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},47390:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(50215);var i=r(12065);var s=r(95762);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},15399:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(19700);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},32679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(50144);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},19700:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},67604:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(36973);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},98987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(64946);var i=r(26197);var s=r(31746);var a=r(67015);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},51912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(1717);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},36973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(26197);var i=r(31746);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},72682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(26197);var i=r(31746);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},14998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(26197);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},1717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(28516);var i=r(97567);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},17968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(26197);var i=r(67015);var s=r(68160);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},56132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(98987);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},15230:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(26197);var i=r(31746);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},56199:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(28516);var i=r(31746);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},35212:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(66631);var i=r(28516);var s=r(97567);var a=r(19700);var o=r(8536);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},80823:(e,t,r)=>{"use strict";var n=r(8536);var i=r(35212);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},49905:(e,t,r)=>{"use strict";var n=r(8536);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:false},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"))}})},50144:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(35212);r(49905);r(84693);r(54547);r(80823);r(48030);var i=r(8536);var s=r(77250);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},84693:(e,t,r)=>{"use strict";var n=r(8536);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},54547:(e,t,r)=>{"use strict";var n=r(8536);var i=r(77250);{(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")}}})},77250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(8536);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},48030:(e,t,r)=>{"use strict";var n=r(8536);var i=r(35212);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},8536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(66631);var i=r(71329);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},56538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(37183);var s=r(85465);var a=r(13470);var o=r(87578);var l=r(29994);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(56035);var p=r(44057);var c=r(60340);var f=r(31746);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(5493);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(67015);var h=r(78421);var m=r(92002);var T=r(72753);var S=r(3167);var b=r(36980);var E=r(56026);var g=r(95762);var x=r(12065);var P=r(47390);var A=r(50215);var v=r(15399);var O=r(32679);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(19700);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(67604);var D=r(51912);var N=r(36973);var C=r(72682);var j=r(14998);var _=r(1717);var L=r(17968);var k=r(56132);var B=r(15230);var M=r(56199);var F=r(50144);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(59886);var K=r(56028);var V=r(46020);var U=r(61419);var X=r(68160);var J=r(32789);var Y=r(64946);var W=r(58916);var q=r(99870);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(47278);var H=r(91592);var G=r(66631);var $=r(56865);var Q=r(58564);var Z=r(11566);var ee=r(49042);var te=r(44538);var re=r(65765);var ne=r(54842);var ie=r(22399);var se=r(19054);var ae=r(56357);var oe=r(18742);var le=r(29558);var ue=r(28516);var pe=r(52411);var ce=r(85432);var fe=r(71329);var de=r(20542);var ye=r(26197);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(21583);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},59886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(31746);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},32789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(26197);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},56028:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(19700);var i=r(47390);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},46020:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(31746);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},61419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(19700);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},68160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(47278);var i=r(61419);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},37786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(26197);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},64946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(26197);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64946);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},99870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(50144);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(50144);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},58638:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},74498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(31746);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},20542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(85432);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},26197:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(91592);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},66631:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(91592);var i=r(18742);var s=r(54842);var a=r(50144);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},56865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(64946);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},58564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(26197);var i=r(49042);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},11566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(18742);var i=r(26197);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},49042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(26197);var i=r(19700);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},44538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(50144);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},65765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(50144);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(50144);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},22399:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},19054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(26197);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},56357:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(26197);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},18742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(50144);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},29558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(28516);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},28516:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(97567);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},52411:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(26197);var i=r(19700);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},85432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(26197);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},37183:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20542);const i=(0,n.default)("React.Component");var s=i;t.default=s},71329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(50144);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},45162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(7144);function _default(e){const t=e.params;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(90561);var i=r(85637)},85637:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},14848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(89131);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},33283:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(75256);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},23371:()=>{},20090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(86087);var i=r(23018);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(39729);var i=r(74951);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},62186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(39729);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},39729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(20090);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},41667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(39729)},84149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(30098);var i=r(95954);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(39729);var i=r(42373);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},68854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(56391);function clone(e){return(0,n.default)(e,false)}},44562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(56391);function cloneDeep(e){return(0,n.default)(e)}},88814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(56391);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},56391:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(86087);var i=r(30098);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},52450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(56391);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},28476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(82038);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},82038:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},45726:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(48336);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},8274:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(48336);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},23950:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(48336);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},54859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(23950);var i=r(8274);var s=r(45726);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},46464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(31118);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},77395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(86087);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},31118:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},67399:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(43693);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},68747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(17466);var i=r(30098);var s=r(39729);var a=r(56391);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},60577:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(53821);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},43693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(30098);var i=r(39729);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},10774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(30098);var i=r(39729);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},31092:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(30098);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},53821:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(58176);var i=r(16446);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},73195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(30098);var i=r(56391);var s=r(45737);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},84712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(68747);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},26049:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(30098);var i=r(39729);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},72543:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(58176);var i=r(39729);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},60128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(75256);var i=r(58176);var s=r(16446);var a=r(31118);var o=r(53100);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},80261:(e,t,r)=>{"use strict";var n=r(53100);var i=r(60128);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},39334:(e,t,r)=>{"use strict";var n=r(53100);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:false},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"))}})},86087:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(60128);r(39334);r(92827);r(52971);r(80261);r(96486);var i=r(53100);var s=r(11750);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},92827:(e,t,r)=>{"use strict";var n=r(53100);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},52971:(e,t,r)=>{"use strict";var n=r(53100);var i=r(11750);{(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")}}})},11750:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(53100);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},96486:(e,t,r)=>{"use strict";var n=r(53100);var i=r(60128);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},53100:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(75256);var i=r(23018);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},7144:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(72834);var s=r(92145);var a=r(84149);var o=r(14848);var l=r(33283);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(62186);var p=r(72519);var c=r(99644);var f=r(39729);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(41667);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(56391);var h=r(68854);var m=r(44562);var T=r(88814);var S=r(52450);var b=r(28476);var E=r(82038);var g=r(45726);var x=r(8274);var P=r(54859);var A=r(23950);var v=r(46464);var O=r(77395);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(31118);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(67399);var D=r(60577);var N=r(43693);var C=r(10774);var j=r(31092);var _=r(53821);var L=r(73195);var k=r(84712);var B=r(26049);var M=r(72543);var F=r(86087);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(37287);var K=r(29853);var V=r(30061);var U=r(61263);var X=r(45737);var J=r(74951);var Y=r(17466);var W=r(79036);var q=r(64024);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(35874);var H=r(97422);var G=r(75256);var $=r(30850);var Q=r(50005);var Z=r(89033);var ee=r(19987);var te=r(89131);var re=r(34392);var ne=r(35810);var ie=r(12810);var se=r(6285);var ae=r(82178);var oe=r(82814);var le=r(52028);var ue=r(58176);var pe=r(87141);var ce=r(62166);var fe=r(23018);var de=r(1872);var ye=r(30098);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(23371);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},37287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(39729);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},74951:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(30098);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},29853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(31118);var i=r(54859);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},30061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(39729);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},61263:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(31118);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},45737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(35874);var i=r(61263);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},42373:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(30098);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},17466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(30098);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(17466);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},64024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(86087);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(86087);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},48336:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},95954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(39729);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},1872:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(62166);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},30098:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(97422);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},75256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(97422);var i=r(82814);var s=r(35810);var a=r(86087);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},30850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(17466);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},50005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(30098);var i=r(19987);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},89033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(82814);var i=r(30098);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},19987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(30098);var i=r(31118);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},89131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(86087);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},34392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(86087);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(86087);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},12810:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},6285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(30098);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},82178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(30098);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},82814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(86087);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},52028:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(58176);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},58176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(16446);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},87141:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(30098);var i=r(31118);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},62166:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(30098);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},72834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(1872);const i=(0,n.default)("React.Component");var s=i;t.default=s},23018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(86087);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},28497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=hoistVariables;var n=r(52949);const i={Scope(e,t){if(t.kind==="let")e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;const r=[];const i=e.get("declarations");let s;for(const e of i){s=e.node.id;if(e.node.init){r.push(n.expressionStatement(n.assignmentExpression("=",e.node.id,e.node.init)))}for(const r of Object.keys(e.getBindingIdentifiers())){t.emit(n.identifier(r),r,e.node.init!==null)}}if(e.parentPath.isFor({left:e.node})){e.replaceWith(s)}else{e.replaceWithMultiple(r)}}};function hoistVariables(e,t,r="var"){e.traverse(i,{kind:r,emit:t})}},84038:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(84038);var i=r(25766)},25766:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},97890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(27494);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},50029:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(27052);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},47836:()=>{},49239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(41630);var i=r(62473);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(32446);var i=r(65375);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},96670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(32446);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},32446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(49239);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},45482:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(32446)},37059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(98338);var i=r(96568);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(32446);var i=r(71408);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},79354:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(63126);function clone(e){return(0,n.default)(e,false)}},78393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(63126);function cloneDeep(e){return(0,n.default)(e)}},65137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(63126);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},63126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(41630);var i=r(98338);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},77149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(63126);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},53873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(95e3);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},95000:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},12368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(80191);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},8389:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(80191);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},95871:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(80191);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},42290:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(95871);var i=r(8389);var s=r(12368);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},56101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(48427);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},39987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(41630);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},48427:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},17414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(38259);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},45793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(38242);var i=r(98338);var s=r(32446);var a=r(63126);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},67398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(88986);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},38259:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(98338);var i=r(32446);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},50420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(98338);var i=r(32446);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},68461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98338);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},88986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(5889);var i=r(43044);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},52985:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(98338);var i=r(63126);var s=r(29113);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},31532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(45793);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},62292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98338);var i=r(32446);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},26831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(5889);var i=r(32446);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},1601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(27052);var i=r(5889);var s=r(43044);var a=r(48427);var o=r(71478);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},15030:(e,t,r)=>{"use strict";var n=r(71478);var i=r(1601);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},5158:(e,t,r)=>{"use strict";var n=r(71478);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:false},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"))}})},41630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(1601);r(5158);r(86506);r(40749);r(15030);r(26861);var i=r(71478);var s=r(24465);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},86506:(e,t,r)=>{"use strict";var n=r(71478);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},40749:(e,t,r)=>{"use strict";var n=r(71478);var i=r(24465);{(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")}}})},24465:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(71478);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},26861:(e,t,r)=>{"use strict";var n=r(71478);var i=r(1601);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},71478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(27052);var i=r(62473);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},52949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(50774);var s=r(25424);var a=r(37059);var o=r(97890);var l=r(50029);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(96670);var p=r(46536);var c=r(30338);var f=r(32446);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(45482);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(63126);var h=r(79354);var m=r(78393);var T=r(65137);var S=r(77149);var b=r(53873);var E=r(95e3);var g=r(12368);var x=r(8389);var P=r(42290);var A=r(95871);var v=r(56101);var O=r(39987);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(48427);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(17414);var D=r(67398);var N=r(38259);var C=r(50420);var j=r(68461);var _=r(88986);var L=r(52985);var k=r(31532);var B=r(62292);var M=r(26831);var F=r(41630);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(55648);var K=r(31396);var V=r(59566);var U=r(52109);var X=r(29113);var J=r(65375);var Y=r(38242);var W=r(75279);var q=r(68611);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(65542);var H=r(58522);var G=r(27052);var $=r(34122);var Q=r(68179);var Z=r(44675);var ee=r(79826);var te=r(27494);var re=r(92251);var ne=r(1748);var ie=r(63292);var se=r(28527);var ae=r(55747);var oe=r(23480);var le=r(91583);var ue=r(5889);var pe=r(85097);var ce=r(27637);var fe=r(62473);var de=r(58503);var ye=r(98338);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(47836);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},55648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(32446);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},65375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(98338);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},31396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(48427);var i=r(42290);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},59566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(32446);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},52109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(48427);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},29113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(65542);var i=r(52109);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},71408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(98338);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},38242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(98338);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(38242);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},68611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(41630);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(41630);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},80191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},96568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(32446);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},58503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(27637);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},98338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(58522);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},27052:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(58522);var i=r(23480);var s=r(1748);var a=r(41630);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},34122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(38242);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},68179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(98338);var i=r(79826);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},44675:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(23480);var i=r(98338);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},79826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(98338);var i=r(48427);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},27494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(41630);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},92251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(41630);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(41630);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},63292:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},28527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(98338);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},55747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(98338);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},23480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(41630);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},91583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(5889);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},5889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(43044);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},85097:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(98338);var i=r(48427);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},27637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(98338);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},50774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(58503);const i=(0,n.default)("React.Component");var s=i;t.default=s},62473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(41630);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},68720:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=optimiseCallExpression;var n=r(29371);function optimiseCallExpression(e,t,r,i){if(r.length===1&&n.isSpreadElement(r[0])&&n.isIdentifier(r[0].argument,{name:"arguments"})){if(i){return n.optionalCallExpression(n.optionalMemberExpression(e,n.identifier("apply"),false,true),[t,r[0].argument],false)}return n.callExpression(n.memberExpression(e,n.identifier("apply")),[t,r[0].argument])}else{if(i){return n.optionalCallExpression(n.optionalMemberExpression(e,n.identifier("call"),false,true),[t,...r],false)}return n.callExpression(n.memberExpression(e,n.identifier("call")),[t,...r])}}},83452:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(83452);var i=r(74173)},74173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},30246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(31805);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},49789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(91136);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},16622:()=>{},63425:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(58281);var i=r(70595);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(63614);var i=r(26535);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},1598:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(63614);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},63614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(63425);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},37361:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(63614)},84256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(11930);var i=r(86522);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(63614);var i=r(52941);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},4186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(45691);function clone(e){return(0,n.default)(e,false)}},92230:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(45691);function cloneDeep(e){return(0,n.default)(e)}},89335:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(45691);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},45691:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(58281);var i=r(11930);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},44814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(45691);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},77440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(56299);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},56299:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},64564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(90194);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},75198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(90194);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},42309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(90194);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},14963:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(42309);var i=r(75198);var s=r(64564);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},1032:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(61784);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},59640:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(58281);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},61784:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},82451:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(90754);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},90519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(3065);var i=r(11930);var s=r(63614);var a=r(45691);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},41039:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(12047);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},90754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(11930);var i=r(63614);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},31060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(11930);var i=r(63614);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},19830:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(11930);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},12047:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(11734);var i=r(49319);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},73074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(11930);var i=r(45691);var s=r(42271);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},97165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(90519);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},17946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(11930);var i=r(63614);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},45818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(11734);var i=r(63614);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},21721:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(91136);var i=r(11734);var s=r(49319);var a=r(61784);var o=r(89978);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},69016:(e,t,r)=>{"use strict";var n=r(89978);var i=r(21721);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},39371:(e,t,r)=>{"use strict";var n=r(89978);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:false},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"))}})},58281:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(21721);r(39371);r(97019);r(9587);r(69016);r(89332);var i=r(89978);var s=r(70043);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},97019:(e,t,r)=>{"use strict";var n=r(89978);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},9587:(e,t,r)=>{"use strict";var n=r(89978);var i=r(70043);{(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")}}})},70043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(89978);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},89332:(e,t,r)=>{"use strict";var n=r(89978);var i=r(21721);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},89978:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(91136);var i=r(70595);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},29371:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(61882);var s=r(73963);var a=r(84256);var o=r(30246);var l=r(49789);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(1598);var p=r(73871);var c=r(30533);var f=r(63614);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(37361);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(45691);var h=r(4186);var m=r(92230);var T=r(89335);var S=r(44814);var b=r(77440);var E=r(56299);var g=r(64564);var x=r(75198);var P=r(14963);var A=r(42309);var v=r(1032);var O=r(59640);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(61784);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(82451);var D=r(41039);var N=r(90754);var C=r(31060);var j=r(19830);var _=r(12047);var L=r(73074);var k=r(97165);var B=r(17946);var M=r(45818);var F=r(58281);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(2412);var K=r(3211);var V=r(30996);var U=r(91395);var X=r(42271);var J=r(26535);var Y=r(3065);var W=r(52745);var q=r(66906);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(22348);var H=r(16113);var G=r(91136);var $=r(82309);var Q=r(77982);var Z=r(49729);var ee=r(45278);var te=r(31805);var re=r(56870);var ne=r(87290);var ie=r(85198);var se=r(71146);var ae=r(61067);var oe=r(857);var le=r(68681);var ue=r(11734);var pe=r(62325);var ce=r(65149);var fe=r(70595);var de=r(49526);var ye=r(11930);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(16622);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},2412:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(63614);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},26535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(11930);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},3211:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(61784);var i=r(14963);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},30996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(63614);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},91395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(61784);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},42271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(22348);var i=r(91395);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},52941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(11930);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},3065:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(11930);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(3065);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},66906:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(58281);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(58281);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},90194:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},86522:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(63614);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},49526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(65149);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},11930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(16113);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},91136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(16113);var i=r(857);var s=r(87290);var a=r(58281);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},82309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(3065);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},77982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(11930);var i=r(45278);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},49729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(857);var i=r(11930);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},45278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(11930);var i=r(61784);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},31805:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(58281);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},56870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(58281);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(58281);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},85198:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},71146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(11930);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},61067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(11930);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(58281);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},68681:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(11734);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},11734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(49319);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},62325:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(11930);var i=r(61784);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},65149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(11930);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},61882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(49526);const i=(0,n.default)("React.Component");var s=i;t.default=s},70595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(58281);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},70287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,n)=>{if(!t.assertVersion){t=Object.assign(copyApiObject(t),{assertVersion(e){throwVersionError(e,t.version)}})}return e(t,r||{},n)}}function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},79763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(79818);var i=r(96659);var s=r(34873);const a={Function(e){e.skip()},AwaitExpression(e,{wrapAwait:t}){const r=e.get("argument");if(e.parentPath.isYieldExpression()){e.replaceWith(r.node);return}e.replaceWith(s.yieldExpression(t?s.callExpression(s.cloneNode(t),[r.node]):r.node))}};function _default(e,t,r){e.traverse(a,{wrapAwait:t.wrapAwait});const o=checkIsIIFE(e);e.node.async=false;e.node.generator=true;(0,n.default)(e,s.cloneNode(t.wrapAsync),r);const l=e.isObjectMethod()||e.isClassMethod()||e.parentPath.isObjectProperty()||e.parentPath.isClassProperty();if(!l&&!o&&e.isExpression()){(0,i.default)(e)}function checkIsIIFE(e){if(e.parentPath.isCallExpression({callee:e.node})){return true}const{parentPath:t}=e;if(t.isMemberExpression()&&s.isIdentifier(t.node.property,{name:"bind"})){const{parentPath:e}=t;return e.isCallExpression()&&e.node.arguments.length===1&&s.isThisExpression(e.node.arguments[0])&&e.parentPath.isCallExpression({callee:e.node})}return false}}},75753:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(75753);var i=r(34825)},34825:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},57641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(6980);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},22056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(15e3);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},30176:()=>{},91498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(67301);var i=r(26595);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(61776);var i=r(33217);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},64625:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(61776);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},61776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(91498);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},18134:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(61776)},79996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(8946);var i=r(4076);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(61776);var i=r(62100);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},53667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(54777);function clone(e){return(0,n.default)(e,false)}},90041:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(54777);function cloneDeep(e){return(0,n.default)(e)}},55629:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(54777);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},54777:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(67301);var i=r(8946);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},2395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(54777);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},99375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(9103);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},9103:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},26116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(6643);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},20955:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(6643);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},61040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(6643);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},84775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(61040);var i=r(20955);var s=r(26116);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},27790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(22872);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},98226:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(67301);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},22872:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},52789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(8078);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},6053:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(75569);var i=r(8946);var s=r(61776);var a=r(54777);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},31481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(67242);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},8078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(8946);var i=r(61776);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},77194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(8946);var i=r(61776);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},59015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8946);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},67242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(60035);var i=r(70495);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},63694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(8946);var i=r(54777);var s=r(82833);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},84453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(6053);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},23613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8946);var i=r(61776);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},26314:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(60035);var i=r(61776);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},50501:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(15e3);var i=r(60035);var s=r(70495);var a=r(22872);var o=r(1813);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},70442:(e,t,r)=>{"use strict";var n=r(1813);var i=r(50501);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},23397:(e,t,r)=>{"use strict";var n=r(1813);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:false},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"))}})},67301:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(50501);r(23397);r(31613);r(20373);r(70442);r(3004);var i=r(1813);var s=r(99197);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},31613:(e,t,r)=>{"use strict";var n=r(1813);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},20373:(e,t,r)=>{"use strict";var n=r(1813);var i=r(99197);{(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")}}})},99197:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(1813);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},3004:(e,t,r)=>{"use strict";var n=r(1813);var i=r(50501);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},1813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(15e3);var i=r(26595);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},34873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(85618);var s=r(25979);var a=r(79996);var o=r(57641);var l=r(22056);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(64625);var p=r(20068);var c=r(96529);var f=r(61776);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(18134);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(54777);var h=r(53667);var m=r(90041);var T=r(55629);var S=r(2395);var b=r(99375);var E=r(9103);var g=r(26116);var x=r(20955);var P=r(84775);var A=r(61040);var v=r(27790);var O=r(98226);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(22872);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(52789);var D=r(31481);var N=r(8078);var C=r(77194);var j=r(59015);var _=r(67242);var L=r(63694);var k=r(84453);var B=r(23613);var M=r(26314);var F=r(67301);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(46009);var K=r(50816);var V=r(40409);var U=r(49275);var X=r(82833);var J=r(33217);var Y=r(75569);var W=r(7228);var q=r(11918);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(46922);var H=r(87688);var G=r(15e3);var $=r(80643);var Q=r(23565);var Z=r(84728);var ee=r(79701);var te=r(6980);var re=r(87436);var ne=r(52356);var ie=r(31339);var se=r(94788);var ae=r(81539);var oe=r(204);var le=r(41719);var ue=r(60035);var pe=r(80736);var ce=r(60844);var fe=r(26595);var de=r(95081);var ye=r(8946);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(30176);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},46009:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(61776);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},33217:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(8946);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},50816:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(22872);var i=r(84775);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},40409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(61776);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},49275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(22872);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},82833:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(46922);var i=r(49275);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},62100:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(8946);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},75569:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(8946);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(75569);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},11918:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(67301);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(67301);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},6643:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},4076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(61776);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},95081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(60844);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},8946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(87688);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},15000:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(87688);var i=r(204);var s=r(52356);var a=r(67301);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},80643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(75569);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},23565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(8946);var i=r(79701);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},84728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(204);var i=r(8946);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},79701:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(8946);var i=r(22872);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},6980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(67301);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},87436:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(67301);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(67301);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},31339:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},94788:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(8946);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},81539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(8946);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},204:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(67301);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},41719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(60035);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},60035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(70495);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},80736:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(8946);var i=r(22872);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},60844:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(8946);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},85618:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(95081);const i=(0,n.default)("React.Component");var s=i;t.default=s},26595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(67301);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.skipAllButComputedKey=skipAllButComputedKey;t.default=t.environmentVisitor=void 0;var n=r(17127);var i=r(20481);var s=r(68720);var a=r(1422);function getPrototypeOfExpression(e,t,r,n){e=a.cloneNode(e);const i=t||n?e:a.memberExpression(e,a.identifier("prototype"));return a.callExpression(r.addHelper("getPrototypeOf"),[i])}function skipAllButComputedKey(e){if(!e.node.computed){e.skip();return}const t=a.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}const o={[`${a.staticBlock?"StaticBlock|":""}ClassPrivateProperty|TypeAnnotation`](e){e.skip()},Function(e){if(e.isMethod())return;if(e.isArrowFunctionExpression())return;e.skip()},"Method|ClassProperty"(e){skipAllButComputedKey(e)}};t.environmentVisitor=o;const l=n.default.visitors.merge([o,{Super(e,t){const{node:r,parentPath:n}=e;if(!n.isMemberExpression({object:r}))return;t.handle(n)}}]);const u=n.default.visitors.merge([o,{Scopable(e,{refName:t}){const r=e.scope.getOwnBinding(t);if(r&&r.identifier.name===t){e.scope.rename(t)}}}]);const p={memoise(e,t){const{scope:r,node:n}=e;const{computed:i,property:s}=n;if(!i){return}const a=r.maybeGenerateMemoised(s);if(!a){return}this.memoiser.set(s,a,t)},prop(e){const{computed:t,property:r}=e.node;if(this.memoiser.has(r)){return a.cloneNode(this.memoiser.get(r))}if(t){return a.cloneNode(r)}return a.stringLiteral(r.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("get"),[t.memo?a.sequenceExpression([t.memo,r]):r,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:a.thisExpression()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:a.assignmentExpression("=",e,a.thisExpression()),this:a.cloneNode(e)}},set(e,t){const r=this._getThisRefs();const n=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("set"),[r.memo?a.sequenceExpression([r.memo,n]):n,this.prop(e),t,r.this,a.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const r=this._getThisRefs();return(0,s.default)(this._get(e,r),a.cloneNode(r.this),t,false)},optionalCall(e,t){const r=this._getThisRefs();return(0,s.default)(this._get(e,r),a.cloneNode(r.this),t,true)}};const c=Object.assign({},p,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return a.cloneNode(this.memoiser.get(t))}return a.cloneNode(t)},get(e){const{isStatic:t,getSuperRef:r}=this;const{computed:n}=e.node;const i=this.prop(e);let s;if(t){var o;s=(o=r())!=null?o:a.memberExpression(a.identifier("Function"),a.identifier("prototype"))}else{var l;s=a.memberExpression((l=r())!=null?l:a.identifier("Object"),a.identifier("prototype"))}return a.memberExpression(s,i,n)},set(e,t){const{computed:r}=e.node;const n=this.prop(e);return a.assignmentExpression("=",a.memberExpression(a.thisExpression(),n,r),t)},destructureSet(e){const{computed:t}=e.node;const r=this.prop(e);return a.memberExpression(a.thisExpression(),r,t)},call(e,t){return(0,s.default)(this.get(e),a.thisExpression(),t,false)},optionalCall(e,t){return(0,s.default)(this.get(e),a.thisExpression(),t,true)}});class ReplaceSupers{constructor(e){var t;const r=e.methodPath;this.methodPath=r;this.isDerivedConstructor=r.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=r.isObjectMethod()||r.node.static||(r.isStaticBlock==null?void 0:r.isStaticBlock());this.isPrivateMethod=r.isPrivate()&&r.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return a.cloneNode(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return a.cloneNode(this.opts.superRef);if(this.opts.getSuperRef)return a.cloneNode(this.opts.getSuperRef())}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(u,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?c:p;(0,i.default)(this.methodPath,l,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this)},e))}}t.default=ReplaceSupers},15005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(86618);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const s=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},n,e.end);const{linesAbove:s=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=i.line;const p=i.column;let c=Math.max(o-(s+1),0);let f=Math.min(t.length,u+a);if(o===-1){c=0}if(u===-1){f=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:c,end:f,markerLines:y}}function codeFrameColumns(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const u=e.split(s);const{start:p,end:c,markerLines:f}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(c).length;const h=i?(0,n.default)(e,r):e;let m=h.split(s).slice(p,c).map((e,t)=>{const n=p+1+t;const i=` ${n}`.slice(-y);const s=` ${i} |`;const a=f[n];const u=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,s.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(i)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,s),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,s)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){m=`${" ".repeat(y+1)}${r.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}},82308:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;const r=/^[ \t]+$/;class Buffer{constructor(e){this._map=null;this._buf=[];this._last="";this._queue=[];this._position={line:1,column:0};this._sourcePosition={identifierName:null,line:null,column:null,filename:null};this._disallowedPop=null;this._map=e}get(){this._flush();const e=this._map;const t={code:this._buf.join("").trimRight(),map:null,rawMappings:e==null?void 0:e.getRawMappings()};if(e){Object.defineProperty(t,"map",{configurable:true,enumerable:true,get(){return this.map=e.get()},set(e){Object.defineProperty(this,"map",{value:e,writable:true})}})}return t}append(e){this._flush();const{line:t,column:r,filename:n,identifierName:i,force:s}=this._sourcePosition;this._append(e,t,r,i,n,s)}queue(e){if(e==="\n"){while(this._queue.length>0&&r.test(this._queue[0][0])){this._queue.shift()}}const{line:t,column:n,filename:i,identifierName:s,force:a}=this._sourcePosition;this._queue.unshift([e,t,n,s,i,a])}_flush(){let e;while(e=this._queue.pop()){this._append(...e)}}_append(e,t,r,n,i,s){this._buf.push(e);this._last=e[e.length-1];let a=e.indexOf("\n");let o=0;if(a!==0){this._mark(t,r,n,i,s)}while(a!==-1){this._position.line++;this._position.column=0;o=a+1;if(o0&&this._queue[0][0]==="\n"){this._queue.shift()}}removeLastSemicolon(){if(this._queue.length>0&&this._queue[0][0]===";"){this._queue.shift()}}endsWith(e){if(e.length===1){let t;if(this._queue.length>0){const e=this._queue[0][0];t=e[e.length-1]}else{t=this._last}return t===e}const t=this._last+this._queue.reduce((e,t)=>t[0]+e,"");if(e.length<=t.length){return t.slice(-e.length)===e}return false}hasContent(){return this._queue.length>0||!!this._last}exactSource(e,t){this.source("start",e,true);t();this.source("end",e);this._disallowPop("start",e)}source(e,t,r){if(e&&!t)return;this._normalizePosition(e,t,this._sourcePosition,r)}withSource(e,t,r){if(!this._map)return r();const n=this._sourcePosition.line;const i=this._sourcePosition.column;const s=this._sourcePosition.filename;const a=this._sourcePosition.identifierName;this.source(e,t);r();if((!this._sourcePosition.force||this._sourcePosition.line!==n||this._sourcePosition.column!==i||this._sourcePosition.filename!==s)&&(!this._disallowedPop||this._disallowedPop.line!==n||this._disallowedPop.column!==i||this._disallowedPop.filename!==s)){this._sourcePosition.line=n;this._sourcePosition.column=i;this._sourcePosition.filename=s;this._sourcePosition.identifierName=a;this._sourcePosition.force=false;this._disallowedPop=null}}_disallowPop(e,t){if(e&&!t)return;this._disallowedPop=this._normalizePosition(e,t)}_normalizePosition(e,t,r,n){const i=t?t[e]:null;if(r===undefined){r={identifierName:null,line:null,column:null,filename:null,force:false}}const s=r.line;const a=r.column;const o=r.filename;r.identifierName=e==="start"&&(t==null?void 0:t.identifierName)||null;r.line=i==null?void 0:i.line;r.column=i==null?void 0:i.column;r.filename=t==null?void 0:t.filename;if(n||r.line!==s||r.column!==a||r.filename!==o){r.force=n}return r}getCurrentColumn(){const e=this._queue.reduce((e,t)=>t[0]+e,"");const t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t}getCurrentLine(){const e=this._queue.reduce((e,t)=>t[0]+e,"");let t=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.File=File;t.Program=Program;t.BlockStatement=BlockStatement;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;var n=r(1422);function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){this.printInnerComments(e,false);this.printSequence(e.directives,e);if(e.directives&&e.directives.length)this.newline();this.printSequence(e.body,e)}function BlockStatement(e){var t;this.token("{");this.printInnerComments(e);const r=(t=e.directives)==null?void 0:t.length;if(e.body.length||r){this.newline();this.printSequence(e.directives,e,{indent:true});if(r)this.newline();this.printSequence(e.body,e,{indent:true});this.removeTrailingNewline();this.source("end",e.loc);if(!this.endsWith("\n"))this.newline();this.rightBrace()}else{this.source("end",e.loc);this.token("}")}}function Directive(e){this.print(e.value,e);this.semicolon()}const i=/(?:^|[^\\])(?:\\\\)*'/;const s=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t);return}const{value:r}=e;if(!s.test(r)){this.token(`"${r}"`)}else if(!i.test(r)){this.token(`'${r}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}\n`)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},26167:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassBody=ClassBody;t.ClassProperty=ClassProperty;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t._classMethodHead=_classMethodHead;t.StaticBlock=StaticBlock;var n=r(1422);function ClassDeclaration(e,t){if(!this.format.decoratorsBeforeExport||!n.isExportDefaultDeclaration(t)&&!n.isExportNamedDeclaration(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.token("{");this.printInnerComments(e);if(e.body.length===0){this.token("}")}else{this.newline();this.indent();this.printSequence(e.body,e);this.dedent();if(!this.endsWith("\n"))this.newline();this.rightBrace()}}function ClassProperty(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,true);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.token("?")}if(e.definite){this.token("!")}this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,false);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.token("{");if(e.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace()}}},87086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UnaryExpression=UnaryExpression;t.DoExpression=DoExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.UpdateExpression=UpdateExpression;t.ConditionalExpression=ConditionalExpression;t.NewExpression=NewExpression;t.SequenceExpression=SequenceExpression;t.ThisExpression=ThisExpression;t.Super=Super;t.Decorator=Decorator;t.OptionalMemberExpression=OptionalMemberExpression;t.OptionalCallExpression=OptionalCallExpression;t.CallExpression=CallExpression;t.Import=Import;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.AssignmentPattern=AssignmentPattern;t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.BindExpression=BindExpression;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.PrivateName=PrivateName;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.ModuleExpression=ModuleExpression;t.AwaitExpression=t.YieldExpression=void 0;var n=r(1422);var i=r(90440);function UnaryExpression(e){if(e.operator==="void"||e.operator==="delete"||e.operator==="typeof"||e.operator==="throw"){this.word(e.operator);this.space()}else{this.token(e.operator)}this.print(e.argument,e)}function DoExpression(e){if(e.async){this.word("async");this.space()}this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.token("(");this.print(e.expression,e);this.token(")")}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.startTerminatorless(true);this.print(e.argument,e);this.endTerminatorless();this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.token("?");this.space();this.print(e.consequent,e);this.space();this.token(":");this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!n.isCallExpression(t,{callee:e})&&!n.isMemberExpression(t)&&!n.isNewExpression(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function Decorator(e){this.token("@");this.print(e.expression,e);this.newline()}function OptionalMemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(e.optional){this.token("?.")}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{if(!e.optional){this.token(".")}this.print(e.property,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.token("(");this.printList(e.arguments,e);this.token(")")}function Import(){this.word("import")}function buildYieldAwait(e){return function(t){this.word(e);if(t.delegate){this.token("*")}if(t.argument){this.space();const e=this.startTerminatorless();this.print(t.argument,t);this.endTerminatorless(e)}}}const s=buildYieldAwait("yield");t.YieldExpression=s;const a=buildYieldAwait("await");t.AwaitExpression=a;function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.token("?");this.print(e.left.typeAnnotation,e);this.space();this.token("=");this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!i.needsParens(e,t);if(r){this.token("(")}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.token(")")}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{this.token(".");this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.token(".");this.print(e.property,e)}function PrivateName(e){this.token("#");this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.token("%");this.word(e.name)}function ModuleExpression(e){this.word("module");this.space();this.token("{");if(e.body.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body.body,e,{indent:true});this.rightBrace()}}},91624:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareFunction=DeclareFunction;t.InferredPredicate=InferredPredicate;t.DeclaredPredicate=DeclaredPredicate;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareVariable=DeclareVariable;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.EnumDeclaration=EnumDeclaration;t.EnumBooleanBody=EnumBooleanBody;t.EnumNumberBody=EnumNumberBody;t.EnumStringBody=EnumStringBody;t.EnumSymbolBody=EnumSymbolBody;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumBooleanMember=EnumBooleanMember;t.EnumNumberMember=EnumNumberMember;t.EnumStringMember=EnumStringMember;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t._interfaceish=_interfaceish;t._variance=_variance;t.InterfaceDeclaration=InterfaceDeclaration;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;t.NumberTypeAnnotation=NumberTypeAnnotation;t.StringTypeAnnotation=StringTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeParameter=TypeParameter;t.OpaqueType=OpaqueType;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;t.IndexedAccessType=IndexedAccessType;t.OptionalIndexedAccessType=OptionalIndexedAccessType;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return s.NumericLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return s.StringLiteral}});var n=r(1422);var i=r(57983);var s=r(53865);function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e);this.token("[");this.token("]")}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.token("%");this.word("checks")}function DeclaredPredicate(e){this.token("%");this.word("checks");this.token("(");this.print(e.value,e);this.token(")")}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.token(".");this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.apply(this,arguments)}function DeclareExportAllDeclaration(){this.word("declare");this.space();i.ExportAllDeclaration.apply(this,arguments)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}if(t.hasUnknownMembers){e.token("...");e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.token(",")}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{this.token("{");if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.token("}");if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.token("*")}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.token("(");if(e.this){this.word("this");this.token(":");this.space();this.print(e.this.typeAnnotation,e);if(e.params.length||e.rest){this.token(",");this.space()}}this.printList(e.params,e);if(e.rest){if(e.params.length){this.token(",");this.space()}this.token("...");this.print(e.rest,e)}this.token(")");if(t.type==="ObjectTypeCallProperty"||t.type==="DeclareFunction"||t.type==="ObjectTypeProperty"&&t.method){this.token(":")}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.token("?");if(e.name){this.token(":");this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e)}function _interfaceish(e){var t;this.print(e.id,e);this.print(e.typeParameters,e);if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.mixins&&e.mixins.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if(e.implements&&e.implements.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function _variance(e){if(e.variance){if(e.variance.kind==="plus"){this.token("+")}else if(e.variance.kind==="minus"){this.token("-")}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.token("&");this.space()}function InterfaceTypeAnnotation(e){this.word("interface");if(e.extends&&e.extends.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.token("?");this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.token("[");this.printList(e.types,e);this.token("]")}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.token("=");this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.token(":");this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.token("=");this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.token("{")}const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];if(t.length){this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.token(",");this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.token("}")}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.token("[");this.token("[");this.print(e.id,e);this.token("]");this.token("]");if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.token("[");if(e.id){this.print(e.id,e);this.token(":");this.space()}this.print(e.key,e);this.token("]");this.token(":");this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.token(".");this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.token("|");this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.token("(");this.print(e.expression,e);this.print(e.typeAnnotation,e);this.token(")")}function Variance(e){if(e.kind==="plus"){this.token("+")}else{this.token("-")}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function OptionalIndexedAccessType(e){this.print(e.objectType,e);if(e.optional){this.token("?.")}this.token("[");this.print(e.indexType,e);this.token("]")}},32191:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(49414);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})});var i=r(87086);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})});var s=r(74483);Object.keys(s).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})});var a=r(26167);Object.keys(a).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})});var o=r(651);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})});var l=r(57983);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(53865);Object.keys(u).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})});var p=r(91624);Object.keys(p).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})});var c=r(45910);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var f=r(10791);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(98489);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})})},10791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXIdentifier=JSXIdentifier;t.JSXNamespacedName=JSXNamespacedName;t.JSXMemberExpression=JSXMemberExpression;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;t.JSXElement=JSXElement;t.JSXOpeningElement=JSXOpeningElement;t.JSXClosingElement=JSXClosingElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXFragment=JSXFragment;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXClosingFragment=JSXClosingFragment;var n=r(1422);function JSXAttribute(e){this.print(e.name,e);if(e.value){this.token("=");this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.token(":");this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.token(".");this.print(e.property,e)}function JSXSpreadAttribute(e){this.token("{");this.token("...");this.print(e.argument,e);this.token("}")}function JSXExpressionContainer(e){this.token("{");this.print(e.expression,e);this.token("}")}function JSXSpreadChild(e){this.token("{");this.token("...");this.print(e.expression,e);this.token("}")}function JSXText(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t)}else{this.token(e.value)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.token("<");this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.token(">")}}function JSXClosingElement(e){this.token("")}function JSXEmptyExpression(e){this.printInnerComments(e)}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.token("<");this.token(">")}function JSXClosingFragment(){this.token("")}},651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._params=_params;t._parameters=_parameters;t._param=_param;t._methodHead=_methodHead;t._predicate=_predicate;t._functionHead=_functionHead;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;var n=r(1422);function _params(e){this.print(e.typeParameters,e);this.token("(");this._parameters(e.params,e);this.token(")");this.print(e.returnType,e)}function _parameters(e,t){for(let r=0;r");this.space();this.print(e.body,e)}function hasTypesOrComments(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}},57983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImportSpecifier=ImportSpecifier;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportSpecifier=ExportSpecifier;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportAllDeclaration=ExportAllDeclaration;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ImportDeclaration=ImportDeclaration;t.ImportAttribute=ImportAttribute;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;var n=r(1422);function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.exported,e)}function ExportAllDeclaration(e){this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.token("*");this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e);this.semicolon()}function ExportNamedDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();this.word("default");this.space();ExportDeclaration.apply(this,arguments)}function ExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const t=e.specifiers.slice(0);let r=false;for(;;){const i=t[0];if(n.isExportDefaultSpecifier(i)||n.isExportNamespaceSpecifier(i)){r=true;this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length||!t.length&&!r){this.token("{");if(t.length){this.space();this.printList(t,e);this.space()}this.token("}")}if(e.source){this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e)}this.semicolon()}}function ImportDeclaration(e){this.word("import");this.space();if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}const t=e.specifiers.slice(0);if(t!=null&&t.length){for(;;){const r=t[0];if(n.isImportDefaultSpecifier(r)||n.isImportNamespaceSpecifier(r)){this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length){this.token("{");this.space();this.printList(t,e);this.space();this.token("}")}this.space();this.word("from");this.space()}this.print(e.source,e);this.printAssertions(e);{var r;if((r=e.attributes)!=null&&r.length){this.space();this.word("with");this.space();this.printList(e.attributes,e)}}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.token(":");this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.local,e)}},74483:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WithStatement=WithStatement;t.IfStatement=IfStatement;t.ForStatement=ForStatement;t.WhileStatement=WhileStatement;t.DoWhileStatement=DoWhileStatement;t.LabeledStatement=LabeledStatement;t.TryStatement=TryStatement;t.CatchClause=CatchClause;t.SwitchStatement=SwitchStatement;t.SwitchCase=SwitchCase;t.DebuggerStatement=DebuggerStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForOfStatement=t.ForInStatement=void 0;var n=r(1422);function WithStatement(e){this.word("with");this.space();this.token("(");this.print(e.object,e);this.token(")");this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.token("(");this.print(e.test,e);this.token(")");this.space();const t=e.alternate&&n.isIfStatement(getLastStatement(e.consequent));if(t){this.token("{");this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.token("}")}if(e.alternate){if(this.endsWith("}"))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){if(!n.isStatement(e.body))return e;return getLastStatement(e.body)}function ForStatement(e){this.word("for");this.space();this.token("(");this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.token(";");if(e.test){this.space();this.print(e.test,e)}this.token(";");if(e.update){this.space();this.print(e.update,e)}this.token(")");this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.printBlock(e)}const i=function(e){return function(t){this.word("for");this.space();if(e==="of"&&t.await){this.word("await");this.space()}this.token("(");this.print(t.left,t);this.space();this.word(e);this.space();this.print(t.right,t);this.token(")");this.printBlock(t)}};const s=i("in");t.ForInStatement=s;const a=i("of");t.ForOfStatement=a;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.semicolon()}function buildLabelStatement(e,t="label"){return function(r){this.word(e);const n=r[t];if(n){this.space();const e=t=="label";const i=this.startTerminatorless(e);this.print(n,r);this.endTerminatorless(i)}this.semicolon()}}const o=buildLabelStatement("continue");t.ContinueStatement=o;const l=buildLabelStatement("return","argument");t.ReturnStatement=l;const u=buildLabelStatement("break");t.BreakStatement=u;const p=buildLabelStatement("throw","argument");t.ThrowStatement=p;function LabeledStatement(e){this.print(e.label,e);this.token(":");this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.token("(");this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.token(")");this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.token("(");this.print(e.discriminant,e);this.token(")");this.space();this.token("{");this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.token("}")}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.token(":")}else{this.word("default");this.token(":")}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function variableDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<4;e++)this.space(true)}function constDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<6;e++)this.space(true)}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}this.word(e.kind);this.space();let r=false;if(!n.isFor(t)){for(const t of e.declarations){if(t.init){r=true}}}let i;if(r){i=e.kind==="const"?constDeclarationIndent:variableDeclarationIndent}this.printList(e.declarations,e,{separator:i});if(n.isFor(t)){if(n.isForStatement(t)){if(t.init===e)return}else{if(t.left===e)return}}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.token("!");this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.token("=");this.space();this.print(e.init,e)}}},49414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;var n=r(1422);function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const i=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(i)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Identifier=Identifier;t.ArgumentPlaceholder=ArgumentPlaceholder;t.SpreadElement=t.RestElement=RestElement;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.RecordExpression=RecordExpression;t.TupleExpression=TupleExpression;t.RegExpLiteral=RegExpLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.StringLiteral=StringLiteral;t.BigIntLiteral=BigIntLiteral;t.DecimalLiteral=DecimalLiteral;t.PipelineTopicExpression=PipelineTopicExpression;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;var n=r(1422);var i=r(87504);function Identifier(e){this.exactSource(e.loc,()=>{this.word(e.name)})}function ArgumentPlaceholder(){this.token("?")}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.token("{");this.printInnerComments(e);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token("}")}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{if(n.isAssignmentPattern(e.value)&&n.isIdentifier(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&n.isIdentifier(e.key)&&n.isIdentifier(e.value)&&e.key.name===e.value.name){return}}this.token(":");this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.token("[");this.printInnerComments(e);for(let n=0;n0)this.space();this.print(i,e);if(n0)this.space();this.print(i,e);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypeParameter=TSTypeParameter;t.TSParameterProperty=TSParameterProperty;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSQualifiedName=TSQualifiedName;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSPropertySignature=TSPropertySignature;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.TSMethodSignature=TSMethodSignature;t.TSIndexSignature=TSIndexSignature;t.TSAnyKeyword=TSAnyKeyword;t.TSBigIntKeyword=TSBigIntKeyword;t.TSUnknownKeyword=TSUnknownKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSVoidKeyword=TSVoidKeyword;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSNullKeyword=TSNullKeyword;t.TSNeverKeyword=TSNeverKeyword;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSThisType=TSThisType;t.TSFunctionType=TSFunctionType;t.TSConstructorType=TSConstructorType;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.TSTypeReference=TSTypeReference;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeLiteral=TSTypeLiteral;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;t.tsPrintBraced=tsPrintBraced;t.TSArrayType=TSArrayType;t.TSTupleType=TSTupleType;t.TSOptionalType=TSOptionalType;t.TSRestType=TSRestType;t.TSNamedTupleMember=TSNamedTupleMember;t.TSUnionType=TSUnionType;t.TSIntersectionType=TSIntersectionType;t.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;t.TSConditionalType=TSConditionalType;t.TSInferType=TSInferType;t.TSParenthesizedType=TSParenthesizedType;t.TSTypeOperator=TSTypeOperator;t.TSIndexedAccessType=TSIndexedAccessType;t.TSMappedType=TSMappedType;t.TSLiteralType=TSLiteralType;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSInterfaceBody=TSInterfaceBody;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSModuleDeclaration=TSModuleDeclaration;t.TSModuleBlock=TSModuleBlock;t.TSImportType=TSImportType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSExternalModuleReference=TSExternalModuleReference;t.TSNonNullExpression=TSNonNullExpression;t.TSExportAssignment=TSExportAssignment;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;var n=r(1422);function TSTypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TSTypeParameter(e){this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e){if(e.declare){this.word("declare");this.space()}this._functionHead(e);this.token(";")}function TSDeclareMethod(e){this._classMethodHead(e);this.token(";")}function TSQualifiedName(e){this.print(e.left,e);this.token(".");this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(";")}function tsPrintPropertyOrMethodName(e){if(e.computed){this.token("[")}this.print(e.key,e);if(e.computed){this.token("]")}if(e.optional){this.token("?")}}function TSMethodSignature(e){const{kind:t}=e;if(t==="set"||t==="get"){this.word(t);this.space()}this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSIndexSignature(e){const{readonly:t,static:r}=e;if(r){this.word("static");this.space()}if(t){this.word("readonly");this.space()}this.token("[");this._parameters(e.parameters,e);this.token("]");this.print(e.typeAnnotation,e);this.token(";")}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){if(e.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.space();this.token("=>");this.space();this.print(e.typeAnnotation.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e);this.print(e.typeParameters,e)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName)}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){this.tsPrintBraced(e,t)}function tsPrintBraced(e,t){this.token("{");if(e.length){this.indent();this.newline();for(const r of e){this.print(r,t);this.newline()}this.dedent();this.rightBrace()}else{this.token("}")}}function TSArrayType(e){this.print(e.elementType,e);this.token("[]")}function TSTupleType(e){this.token("[");this.printList(e.elementTypes,e);this.token("]")}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.token("?")}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.token("?");this.token(":");this.space();this.print(e.elementType,e)}function TSUnionType(e){this.tsPrintUnionOrIntersectionType(e,"|")}function TSIntersectionType(e){this.tsPrintUnionOrIntersectionType(e,"&")}function tsPrintUnionOrIntersectionType(e,t){this.printJoin(e.types,e,{separator(){this.space();this.token(t);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.token("?");this.space();this.print(e.trueType);this.space();this.token(":");this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.token("(");this.print(e.typeAnnotation,e);this.token(")")}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:i}=e;this.token("{");this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.token("[");this.word(i.name);this.space();this.word("in");this.space();this.print(i.constraint,i);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.token("]");if(r){tokenIfPlusMinus(this,r);this.token("?")}this.token(":");this.space();this.print(e.typeAnnotation,e);this.space();this.token("}")}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:i,body:s}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(i!=null&&i.length){this.space();this.word("extends");this.space();this.printList(i,e)}this.space();this.print(s,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:i}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.token("=");this.space();this.print(i,e);this.token(";")}function TSAsExpression(e){const{expression:t,typeAnnotation:r}=e;this.print(t,e);this.space();this.word("as");this.space();this.print(r,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.token("<");this.print(t,e);this.token(">");this.space();this.print(r,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:i}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();this.tsPrintBraced(i,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(",")}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.token(";");return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.token(".");this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){this.tsPrintBraced(e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.token("(");this.print(t,e);this.token(")");if(r){this.token(".");this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.token("=");this.space();this.print(n,e);this.token(";")}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.token(")")}function TSNonNullExpression(e){this.print(e.expression,e);this.token("!")}function TSExportAssignment(e){this.word("export");this.space();this.token("=");this.space();this.print(e.expression,e);this.token(";")}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.print(e.typeAnnotation,e)}function tsPrintClassMemberModifiers(e,t){if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.override){this.word("override");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},75179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generate;t.CodeGenerator=void 0;var n=r(67422);var i=r(39073);class Generator extends i.default{constructor(e,t={},r){const i=normalizeOptions(r,t);const s=t.sourceMaps?new n.default(t,r):null;super(i,s);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:true,minimal:false},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType};{r.jsonCompatibleStrings=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0)}if(r.compact==="auto"){r.compact=e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}return r}class CodeGenerator{constructor(e,t,r){this._generator=void 0;this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function generate(e,t,r){const n=new Generator(e,t,r);return n.generate()}},90440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsWhitespace=needsWhitespace;t.needsWhitespaceBefore=needsWhitespaceBefore;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsParens=needsParens;var n=r(75787);var i=r(10423);var s=r(1422);function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,i){const s=n(e,t,i);return s==null?r(e,t,i):s}:r}for(const t of Object.keys(e)){const r=s.FLIPPED_ALIAS_KEYS[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const a=expandAliases(i);const o=expandAliases(n.nodes);const l=expandAliases(n.list);function find(e,t,r,n){const i=e[t.type];return i?i(t,r,n):null}function isOrHasCallExpression(e){if(s.isCallExpression(e)){return true}return s.isMemberExpression(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return 0;if(s.isExpressionStatement(e)){e=e.expression}let n=find(o,e,t);if(!n){const i=find(l,e,t);if(i){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NullableTypeAnnotation=NullableTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.ObjectExpression=ObjectExpression;t.DoExpression=DoExpression;t.Binary=Binary;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.TSInferType=TSInferType;t.BinaryExpression=BinaryExpression;t.SequenceExpression=SequenceExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;t.ClassExpression=ClassExpression;t.UnaryLike=UnaryLike;t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;t.ConditionalExpression=ConditionalExpression;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.AssignmentExpression=AssignmentExpression;t.LogicalExpression=LogicalExpression;t.Identifier=Identifier;var n=r(1422);const i={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};const s=(e,t)=>(n.isClassDeclaration(t)||n.isClassExpression(t))&&t.superClass===e;const a=(e,t)=>(n.isMemberExpression(t)||n.isOptionalMemberExpression(t))&&t.object===e||(n.isCallExpression(t)||n.isOptionalCallExpression(t)||n.isNewExpression(t))&&t.callee===e||n.isTaggedTemplateExpression(t)&&t.tag===e||n.isTSNonNullExpression(t);function NullableTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)}function FunctionTypeAnnotation(e,t,r){return n.isUnionTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isArrayTypeAnnotation(t)||n.isTypeAnnotation(t)&&n.isArrowFunctionExpression(r[r.length-3])}function UpdateExpression(e,t){return a(e,t)||s(e,t)}function ObjectExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,arrowBody:true})}function DoExpression(e,t,r){return!e.async&&isFirstInContext(r,{expressionStatement:true})}function Binary(e,t){if(e.operator==="**"&&n.isBinaryExpression(t,{operator:"**"})){return t.left===e}if(s(e,t)){return true}if(a(e,t)||n.isUnaryLike(t)||n.isAwaitExpression(t)){return true}if(n.isBinary(t)){const r=t.operator;const s=i[r];const a=e.operator;const o=i[a];if(s===o&&t.right===e&&!n.isLogicalExpression(t)||s>o){return true}}}function UnionTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)||n.isNullableTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isUnionTypeAnnotation(t)}function OptionalIndexedAccessType(e,t){return n.isIndexedAccessType(t,{objectType:e})}function TSAsExpression(){return true}function TSTypeAssertion(){return true}function TSUnionType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)||n.isTSIntersectionType(t)||n.isTSUnionType(t)||n.isTSRestType(t)}function TSInferType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)}function BinaryExpression(e,t){return e.operator==="in"&&(n.isVariableDeclarator(t)||n.isFor(t))}function SequenceExpression(e,t){if(n.isForStatement(t)||n.isThrowStatement(t)||n.isReturnStatement(t)||n.isIfStatement(t)&&t.test===e||n.isWhileStatement(t)&&t.test===e||n.isForInStatement(t)&&t.right===e||n.isSwitchStatement(t)&&t.discriminant===e||n.isExpressionStatement(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return n.isBinary(t)||n.isUnaryLike(t)||a(e,t)||n.isAwaitExpression(t)&&n.isYieldExpression(e)||n.isConditionalExpression(t)&&e===t.test||s(e,t)}function ClassExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function UnaryLike(e,t){return a(e,t)||n.isBinaryExpression(t,{operator:"**",left:e})||s(e,t)}function FunctionExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function ArrowFunctionExpression(e,t){return n.isExportDeclaration(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(n.isUnaryLike(t)||n.isBinary(t)||n.isConditionalExpression(t,{test:e})||n.isAwaitExpression(t)||n.isTSTypeAssertion(t)||n.isTSAsExpression(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return n.isCallExpression(t,{callee:e})||n.isMemberExpression(t,{object:e})}function AssignmentExpression(e,t){if(n.isObjectPattern(e.left)){return true}else{return ConditionalExpression(e,t)}}function LogicalExpression(e,t){switch(e.operator){case"||":if(!n.isLogicalExpression(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return n.isLogicalExpression(t,{operator:"??"});case"??":return n.isLogicalExpression(t)&&t.operator!=="??"}}function Identifier(e,t,r){if(e.name==="let"){const i=n.isMemberExpression(t,{object:e,computed:true})||n.isOptionalMemberExpression(t,{object:e,computed:true,optional:false});return isFirstInContext(r,{expressionStatement:i,forHead:i,forInHead:i,forOfHead:true})}return e.name==="async"&&n.isForOfStatement(t)&&e===t.left}function isFirstInContext(e,{expressionStatement:t=false,arrowBody:r=false,exportDefault:i=false,forHead:s=false,forInHead:o=false,forOfHead:l=false}){let u=e.length-1;let p=e[u];u--;let c=e[u];while(u>=0){if(t&&n.isExpressionStatement(c,{expression:p})||i&&n.isExportDefaultDeclaration(c,{declaration:p})||r&&n.isArrowFunctionExpression(c,{body:p})||s&&n.isForStatement(c,{init:p})||o&&n.isForInStatement(c,{left:p})||l&&n.isForOfStatement(c,{left:p})){return true}if(a(p,c)&&!n.isNewExpression(c)||n.isSequenceExpression(c)&&c.expressions[0]===p||n.isConditional(c,{test:p})||n.isBinary(c,{left:p})||n.isAssignmentExpression(c,{left:p})){p=c;u--;c=e[u]}else{return false}}return false}},75787:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.list=t.nodes=void 0;var n=r(1422);function crawl(e,t={}){if(n.isMemberExpression(e)||n.isOptionalMemberExpression(e)){crawl(e.object,t);if(e.computed)crawl(e.property,t)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){crawl(e.left,t);crawl(e.right,t)}else if(n.isCallExpression(e)||n.isOptionalCallExpression(e)){t.hasCall=true;crawl(e.callee,t)}else if(n.isFunction(e)){t.hasFunction=true}else if(n.isIdentifier(e)){t.hasHelper=t.hasHelper||isHelper(e.callee)}return t}function isHelper(e){if(n.isMemberExpression(e)){return isHelper(e.object)||isHelper(e.property)}else if(n.isIdentifier(e)){return e.name==="require"||e.name[0]==="_"}else if(n.isCallExpression(e)){return isHelper(e.callee)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){return n.isIdentifier(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return n.isLiteral(e)||n.isObjectExpression(e)||n.isArrayExpression(e)||n.isIdentifier(e)||n.isMemberExpression(e)}const i={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return{before:t.hasFunction,after:true}}},SwitchCase(e,t){return{before:!!e.consequent.length||t.cases[0]===e,after:!e.consequent.length&&t.cases[t.cases.length-1]===e}},LogicalExpression(e){if(n.isFunction(e.left)||n.isFunction(e.right)){return{after:true}}},Literal(e){if(n.isStringLiteral(e)&&e.value==="use strict"){return{after:true}}},CallExpression(e){if(n.isFunction(e.callee)||isHelper(e)){return{before:true,after:true}}},OptionalCallExpression(e){if(n.isFunction(e.callee)){return{before:true,after:true}}},VariableDeclaration(e){for(let t=0;te.init)},ArrayExpression(e){return e.elements},ObjectExpression(e){return e.properties}};t.list=s;[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach(function([e,t]){if(typeof t==="boolean"){t={after:t,before:t}}[e].concat(n.FLIPPED_ALIAS_KEYS[e]||[]).forEach(function(e){i[e]=function(){return t}})})},39073:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(82308);var i=r(90440);var s=r(1422);var a=r(32191);const o=/e/i;const l=/\.0+$/;const u=/^0[box]/;const p=/^\s*[@#]__PURE__\s*$/;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._insideAux=false;this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new WeakSet;this._endsWithInteger=false;this._endsWithWord=false;this.format=e;this._buf=new n.default(t)}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();this._append(";",!e)}rightBrace(){if(this.format.minified){this._buf.removeLastSemicolon()}this.token("}")}space(e=false){if(this.format.compact)return;if(this._buf.hasContent()&&!this.endsWith(" ")&&!this.endsWith("\n")||e){this._space()}}word(e){if(this._endsWithWord||this.endsWith("/")&&e.indexOf("/")===0){this._space()}this._maybeAddAuxComment();this._append(e);this._endsWithWord=true}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!u.test(e)&&!o.test(e)&&!l.test(e)&&e[e.length-1]!=="."}token(e){if(e==="--"&&this.endsWith("!")||e[0]==="+"&&this.endsWith("+")||e[0]==="-"&&this.endsWith("-")||e[0]==="."&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e)}newline(e){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}if(this.endsWith("\n\n"))return;if(typeof e!=="number")e=1;e=Math.min(2,e);if(this.endsWith("{\n")||this.endsWith(":\n"))e--;if(e<=0)return;for(let t=0;t{n.call(this,e,t)});this._printTrailingComments(e);if(o)this.token(")");this._printStack.pop();this.format.concise=r;this._insideAux=a}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e})}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e})}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e!=null&&e.length))return;if(r.indent)this.indent();const n={addNewlines:r.addNewlines};for(let i=0;i0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(!s.isEmptyStatement(t)){this.space()}this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(false,e))}_printLeadingComments(e){this._printComments(this._getComments(true,e),true)}printInnerComments(e,t=true){var r;if(!((r=e.innerComments)!=null&&r.length))return;if(t)this.indent();this._printComments(e.innerComments);if(t)this.dedent()}printSequence(e,t,r={}){r.statement=true;return this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}return this.printJoin(e,t,r)}_printNewline(e,t,r,n){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}let s=0;if(this._buf.hasContent()){if(!e)s++;if(n.addNewlines)s+=n.addNewlines(e,t)||0;const a=e?i.needsWhitespaceBefore:i.needsWhitespaceAfter;if(a(t,r))s++}this.newline(s)}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e,t){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;this._printedComments.add(e);const r=e.type==="CommentBlock";const n=r&&!t&&!this._noLineTerminator;if(n&&this._buf.hasContent())this.newline(1);if(!this.endsWith("[")&&!this.endsWith("{"))this.space();let i=!r&&!this._noLineTerminator?`//${e.value}\n`:`/*${e.value}*/`;if(r&&this.format.indent.adjustMultilineComment){var s;const t=(s=e.loc)==null?void 0:s.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");i=i.replace(e,"\n")}const r=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());i=i.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}if(this.endsWith("/"))this._space();this.withSource("start",e.loc,()=>{this._append(i)});if(n)this.newline(1)}_printComments(e,t){if(!(e!=null&&e.length))return;if(t&&e.length===1&&p.test(e[0].value)){this._printComment(e[0],this._buf.hasContent()&&!this.endsWith("\n"))}else{for(const t of e){this._printComment(t)}}}printAssertions(e){var t;if((t=e.assertions)!=null&&t.length){this.space();this.word("assert");this.space();this.token("{");this.space();this.printList(e.assertions,e);this.space();this.token("}")}}}Object.assign(Printer.prototype,a);{Printer.prototype.Noop=function Noop(){}}var c=Printer;t.default=c;function commaSeparator(){this.token(",");this.space()}},67422:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(96241);class SourceMap{constructor(e,t){this._cachedMap=void 0;this._code=void 0;this._opts=void 0;this._rawMappings=void 0;this._lastGenLine=void 0;this._lastSourceLine=void 0;this._lastSourceColumn=void 0;this._cachedMap=null;this._code=t;this._opts=e;this._rawMappings=[]}get(){if(!this._cachedMap){const e=this._cachedMap=new n.SourceMapGenerator({sourceRoot:this._opts.sourceRoot});const t=this._code;if(typeof t==="string"){e.setSourceContent(this._opts.sourceFileName.replace(/\\/g,"/"),t)}else if(typeof t==="object"){Object.keys(t).forEach(r=>{e.setSourceContent(r.replace(/\\/g,"/"),t[r])})}this._rawMappings.forEach(t=>e.addMapping(t),e)}return this._cachedMap.toJSON()}getRawMappings(){return this._rawMappings.slice()}mark(e,t,r,n,i,s,a){if(this._lastGenLine!==e&&r===null)return;if(!a&&this._lastGenLine===e&&this._lastSourceLine===r&&this._lastSourceColumn===n){return}this._cachedMap=null;this._lastGenLine=e;this._lastSourceLine=r;this._lastSourceColumn=n;this._rawMappings.push({name:i||undefined,generated:{line:e,column:t},source:r==null?undefined:(s||this._opts.sourceFileName).replace(/\\/g,"/"),original:r==null?undefined:{line:r,column:n}})}}t.default=SourceMap},20481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(1422);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:true,get:function(){return e[r]}})}})}t["default"]=e;return Object.freeze(t)}var i=_interopNamespace(n);function willPathCastToBoolean(e){const t=e;const{node:r,parentPath:n}=t;if(n.isLogicalExpression()){const{operator:e,right:t}=n.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(n)}}if(n.isSequenceExpression()){const{expressions:e}=n.node;if(e[e.length-1]===r){return willPathCastToBoolean(n)}else{return true}}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:r}=t;t.count--;if(t.count===0){return i.assignmentExpression("=",r,e)}return r}set(e,t,r){return this._map.set(e,{count:r,value:t})}}function toNonOptional(e,t){const{node:r}=e;if(e.isOptionalMemberExpression()){return i.memberExpression(t,r.property,r.computed)}if(e.isOptionalCallExpression()){const n=e.get("callee");if(e.node.optional&&n.isOptionalMemberExpression()){const{object:s}=n.node;const a=e.scope.maybeGenerateMemoised(s)||s;n.get("object").replaceWith(i.assignmentExpression("=",a,s));return i.callExpression(i.memberExpression(t,i.identifier("call")),[a,...r.arguments])}return i.callExpression(t,r.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:r,listKey:n}=e;const i=t.node;if(n){if(r!==i[n])return true}else{if(r!==i)return true}e=t}return false}const s={memoise(){},handle(e,t){const{node:r,parent:n,parentPath:s,scope:a}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const o=e.find(({node:t,parent:r,parentPath:n})=>{if(n.isOptionalMemberExpression()){return r.optional||r.object!==t}if(n.isOptionalCallExpression()){return t!==e.node&&r.optional||r.callee!==t}return true});if(a.path.isPattern()){o.replaceWith(i.callExpression(i.arrowFunctionExpression([],o.node),[]));return}const l=willPathCastToBoolean(o);const u=o.parentPath;if(u.isUpdateExpression({argument:r})||u.isAssignmentExpression({left:r})){throw e.buildCodeFrameError(`can't handle assignment`)}const p=u.isUnaryExpression({operator:"delete"});if(p&&o.isOptionalMemberExpression()&&o.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let c=e;for(;;){if(c.isOptionalMemberExpression()){if(c.node.optional)break;c=c.get("object");continue}else if(c.isOptionalCallExpression()){if(c.node.optional)break;c=c.get("callee");continue}throw new Error(`Internal error: unexpected ${c.node.type}`)}const f=c.isOptionalMemberExpression()?"object":"callee";const d=c.node[f];const y=a.maybeGenerateMemoised(d);const h=y!=null?y:d;const m=s.isOptionalCallExpression({callee:r});const T=s.isCallExpression({callee:r});c.replaceWith(toNonOptional(c,h));if(m){if(n.optional){s.replaceWith(this.optionalCall(e,n.arguments))}else{s.replaceWith(this.call(e,n.arguments))}}else if(T){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let S=e.node;for(let t=e;t!==o;){const{parentPath:e}=t;if(e===o&&m&&n.optional){S=e.node;break}S=toNonOptional(e,S);t=e}let b;const E=o.parentPath;if(i.isMemberExpression(S)&&E.isOptionalCallExpression({callee:o.node,optional:true})){const{object:t}=S;b=e.scope.maybeGenerateMemoised(t);if(b){S.object=i.assignmentExpression("=",b,t)}}let g=o;if(p){g=E;S=E.node}const x=y?i.assignmentExpression("=",i.cloneNode(h),i.cloneNode(d)):i.cloneNode(h);if(l){let e;if(t){e=i.binaryExpression("!=",x,i.nullLiteral())}else{e=i.logicalExpression("&&",i.binaryExpression("!==",x,i.nullLiteral()),i.binaryExpression("!==",i.cloneNode(h),a.buildUndefinedNode()))}g.replaceWith(i.logicalExpression("&&",e,S))}else{let e;if(t){e=i.binaryExpression("==",x,i.nullLiteral())}else{e=i.logicalExpression("||",i.binaryExpression("===",x,i.nullLiteral()),i.binaryExpression("===",i.cloneNode(h),a.buildUndefinedNode()))}g.replaceWith(i.conditionalExpression(e,p?i.booleanLiteral(true):a.buildUndefinedNode(),S))}if(b){const e=E.node;E.replaceWith(i.optionalCallExpression(i.optionalMemberExpression(e.callee,i.identifier("call"),false,true),[i.cloneNode(b),...e.arguments],false))}return}if(s.isUpdateExpression({argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=n;this.memoise(e,2);const o=i.binaryExpression(t[0],i.unaryExpression("+",this.get(e)),i.numericLiteral(1));if(a){s.replaceWith(this.set(e,o))}else{const{scope:t}=e;const n=t.generateUidIdentifierBasedOnNode(r);t.push({id:n});o.left=i.assignmentExpression("=",i.cloneNode(n),o.left);s.replaceWith(i.sequenceExpression([this.set(e,o),i.cloneNode(n)]))}return}if(s.isAssignmentExpression({left:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:r}=n;if(t==="="){s.replaceWith(this.set(e,r))}else{const n=t.slice(0,-1);if(i.LOGICAL_OPERATORS.includes(n)){this.memoise(e,1);s.replaceWith(i.logicalExpression(n,this.get(e),this.set(e,r)))}else{this.memoise(e,2);s.replaceWith(this.set(e,i.binaryExpression(n,this.get(e),r)))}}return}if(s.isCallExpression({callee:r})){s.replaceWith(this.call(e,n.arguments));return}if(s.isOptionalCallExpression({callee:r})){if(a.path.isPattern()){s.replaceWith(i.callExpression(i.arrowFunctionExpression([],s.node),[]));return}s.replaceWith(this.optionalCall(e,n.arguments));return}if(s.isForXStatement({left:r})||s.isObjectProperty({value:r})&&s.parentPath.isObjectPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isObjectProperty({value:n})&&s.parentPath.parentPath.isObjectPattern()||s.isArrayPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isArrayPattern()||s.isRestElement()){e.replaceWith(this.destructureSet(e));return}e.replaceWith(this.get(e))}};function memberExpressionToFunctions(e,t,r){e.traverse(t,Object.assign({},s,r,{memoiser:new AssignmentMemoiser}))}t.default=memberExpressionToFunctions},58861:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(58861);var i=r(75762)},75762:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},86618:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var i=r(59033);var s=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=i}}return r}function shouldHighlight(e){return!!s.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new s.constructor({enabled:true,level:1}):s}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},94684:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const i=true;const s=true;const a=true;const o=true;class TokenType{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=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:s}),assign:new TokenType("_=",{beforeExpr:r,isAssign:s}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:s}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:i,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const c=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const f=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(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 true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{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}}function getLineInfo(e,t){let r=1;let n=0;let i;c.lastIndex=0;while((i=c.exec(e))&&i.index0){n=t[--i]}if(n===null){return}for(let e=0;e0){n.trailingComments=s}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,i,s,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){i=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){i=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(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(last(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){break}}const t=this.state.leadingComments.slice(0,s);if(t.length){e.leadingComments=t}i=this.state.leadingComments.slice(s);if(i.length===0){i=null}}}this.state.commentPreviousNode=e;if(i){if(i.length&&i[0].start>=e.start&&last(i).end<=e.end){e.innerComments=i}else{const t=i.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=i.slice(0,t);e.trailingComments=i.slice(t)}else{e.trailingComments=i}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const y=makeErrorTemplates({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."},d.SyntaxError);const h=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...i){return this.raiseWithData(e,{code:t,reasonCode:r},n,...i)}raiseOverwrite(e,{code:t,template:r},...n){const i=this.getLocationForPosition(e);const s=r.replace(/%(\d+)/g,(e,t)=>n[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})}else 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);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);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);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return 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",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,i,s,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,i,s,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(s==="ClassPrivateMethod"){e.computed=false}s="MethodDefinition";return this.finishNode(e,s)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,i){const s=super.parseObjectMethod(e,t,r,n,i);if(s){s.type="Property";if(s.kind==="method")s.kind="init";s.shorthand=false}return s}parseObjectProperty(e,t,r,n,i){const s=super.parseObjectProperty(e,t,r,n,i);if(s){s.kind="init";s.type="Property"}return s}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,y.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,y.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,i){const s=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if(s.type==="OptionalMemberExpression"||s.type==="OptionalCallExpression"){s.type=s.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(s);e.expression=s;return this.finishNode(e,"ChainExpression")}}else if(s.type==="MemberExpression"||s.type==="CallExpression"){s.optional=false}return s}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const T={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(T.brace)});u.dollarBraceL.updateContext=(e=>{e.push(T.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===T.template){e.pop()}else{e.push(T.template)}});let S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const E=new RegExp("["+S+"]");const g=new RegExp("["+S+b+"]");S=b=null;const x=[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];const P=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,x)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&g.test(String.fromCharCode(e))}return isInAstralSet(e,x)||isInAstralSet(e,P)}const A={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const v=new Set(A.keyword);const O=new Set(A.strict);const I=new Set(A.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||O.has(e)}function isStrictBindOnlyReservedWord(e){return I.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return v.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const w=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return w.has(e)}const D=0,N=1,C=2,j=4,_=8,L=16,k=32,B=64,M=128,F=256,R=N|C|F;const K=1,V=2,U=4,X=8,J=16,Y=64,W=128,q=256,z=512,H=1024,G=2048;const $=K|V|X|W,Q=K|0|X|0,Z=K|0|U|0,ee=K|0|J|0,te=0|V|0|W,re=0|V|0|0,ne=K|V|X|q,ie=0|0|0|H,se=0|0|0|Y,ae=K|0|0|Y,oe=ne|z,le=0|0|0|H,ue=G;const pe=4,ce=2,fe=1,de=ce|fe;const ye=ce|pe,he=fe|pe,me=ce,Te=fe,Se=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&C)>0}get allowSuper(){return(this.currentThisScopeFlags()&L)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&k)>0}get inClass(){return(this.currentThisScopeFlags()&B)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&B)>0&&(e&C)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&M)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&C)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&C||!this.inModule&&e.flags&N)}declareName(e,t,r){let n=this.currentScope();if(t&X||t&J){this.checkRedeclarationInScope(n,e,t,r);if(t&J){n.functions.add(e)}else{n.lexical.add(e)}if(t&X){this.maybeExportDefined(n,e)}}else if(t&U){for(let i=this.scopeStack.length-1;i>=0;--i){n=this.scopeStack[i];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&R)break}}if(this.inModule&&n.flags&N){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&N){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,y.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&K))return false;if(r&X){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&J){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&_&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(R|B)&&!(t&j)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&G){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&G){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const be=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const Ee=makeErrorTemplates({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."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const ge={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=xe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Ee.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const i=this.flowParseFunctionTypeParams();r.params=i.params;r.rest=i.rest;r.this=i._this;this.expect(u.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,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Ee.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(D);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Ee.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Ee.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let i=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,Ee.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="CommonJS";i=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=ge[e];throw this.raise(this.state.start,Ee.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Ee.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!be.has(e))return;this.raise(t,r?Ee.AssignReservedType:Ee.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();r.name=i.name;r.variance=n;r.bound=i.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Ee.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:i}){const s=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let s=null;let o=null;const c=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();s=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const f=this.flowParseVariance();if(this.eat(u.bracketL)){if(s!=null){this.unexpected(s)}if(this.eat(u.bracketL)){if(f){this.unexpected(f.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(c,t,f))}}else if(this.match(u.parenL)||this.isRelational("<")){if(s!=null){this.unexpected(s)}if(f){this.unexpected(f.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(c,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(c,t,s,f,e,r,i!=null?i:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Ee.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const c=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=s;return c}flowParseObjectTypeProperty(e,t,r,n,i,s,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!s){this.raise(this.state.lastTokStart,Ee.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Ee.InexactInsideExact)}if(n){this.raise(n.start,Ee.InexactVariance)}return null}if(!s){this.raise(this.state.lastTokStart,Ee.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Ee.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!s&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Ee.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Ee.GetterMayNotHaveThisParam:Ee.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,y.BadGetterArity)}else{this.raise(r,y.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,y.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.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(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}this.expect(u.question);const i=this.state.clone();const s=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,c]=this.getArrowLikeExpressions(o);if(l||c.length>0){const e=[...s];if(c.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,Ee.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=s;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(C|j);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(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=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Ee.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Ee.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,y.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&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 false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,Ee.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const i=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,s){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,i,s);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Ee.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Ee.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,i,s,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,i,s,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Ee.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Ee.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),i);if(!s.error)return s.node;const{context:n}=this.state;if(n[n.length-1]===T.j_oTag){n.length-=2}else if(n[n.length-1]===T.j_expr){n.length-=1}}if((n=s)!=null&&n.error||this.isRelational("<")){var a,o;i=i||this.state.clone();let n;const l=this.tryParse(i=>{var s;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const i=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(i,n);return i});if(a.type!=="ArrowFunctionExpression"&&(s=a.extra)!=null&&s.parenthesized){i()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},i);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,Ee.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=s)!=null&&a.node){this.state=s.failState;return s.node}if(u){this.state=l.failState;return u}if((o=s)!=null&&o.thrown)throw s.error;if(l.thrown)throw l.error;throw this.raise(n.start,Ee.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(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(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Ee.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const 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){this.state=s.failState;return s.node}if(a.node){this.state=a.failState;return a.node}throw s.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(n){i.stop=true;return e}this.next();const s=this.startNodeAt(t,r);s.callee=e;s.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);s.arguments=this.parseCallExpressionArguments(u.parenR,false);s.optional=true;return this.finishCallExpression(s,true)}else 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(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(i.optionalChainMember)n.optional=false;return this.finishCallExpression(n,i.optionalChainMember)});if(s.node){if(s.error)this.state=s.failState;return s.node}}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){let t=null;if(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);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Ee.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Ee.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,y.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,y.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Ee.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Ee.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Ee.EnumInvalidExplicitTypeUnknownSupplied:Ee.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let i=null;switch(r){case"boolean":case"number":case"string":i=Ee.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=Ee.EnumInvalidMemberInitializerSymbolType;break;default:i=Ee.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Ee.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){i=true;break}const s=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};s.id=a;switch(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"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:i,hasUnknownMembers:s}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=s;switch(n){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const s=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!s&&!a&&!o&&!l){return n()}else if(!s&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&s>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!s&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ae={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:"♦"};class State{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=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[T.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,i=r.length;n.",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 <>...?"},d.SyntaxError);T.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(T.j_expr);e.push(T.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var we=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ie.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&Ne)>0}get hasReturn(){return(this.currentFlags()&je)>0}get hasIn(){return(this.currentFlags()&_e)>0}}function functionFlags(e,t){return(e?Ce:0)|(t?Ne:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const Le=makeErrorTemplates({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."},d.SyntaxError);function keywordTypeFromName(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 undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var ke=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const i=(t,r,n,i)=>{if(r===n&&e[i]){this.raise(t,Le.InvalidModifiersOrder,n,i)}};const s=(t,r,n,i)=>{if(e[n]&&r===i||e[i]&&r===n){this.raise(t,Le.IncompatibleModifiers,n,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Le.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Le.DuplicateModifier,o)}else{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]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}n.push(i);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Le.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.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();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Le.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Le.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Le.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,Le.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,y.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,y.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Le.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Le.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,Le.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Le.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Le.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const s=i==="TSNamedTupleMember";r=(n=r)!=null?n:s;if(r!==s){this.raise(e.start,Le.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const i=this.eat(u.question);const s=this.eat(u.colon);if(s){const e=this.startNodeAtNode(n);e.optional=i;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Le.InvalidTupleMemberLabel);e.label=n}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();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Le.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return 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();const i=this.eat(r);const s=[];do{s.push(t())}while(this.eat(r));if(s.length===1&&!i){return s[0]}n.types=s;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsParseTypeAnnotation(false);r.parameterName=i;r.typeAnnotation=s;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Le.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return 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=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(D);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,Le.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Le.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let i;let s=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;s=t.readonly;if(e===false&&(i||s||a)){this.raise(r,Le.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||s||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(s)e.readonly=s;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Le.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Le.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ie)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Le.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return 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(u.parenL)){s.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(s.arguments);s.typeParameters=a;if(i.optionalChainMember){s.optional=false}return this.finishCallExpression(s,i.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,i);n.typeParameters=a;return 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();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,r);i.expression=e;const s=this.tsTryNextParseConstantContext();if(s){i.typeAnnotation=s}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Le.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!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;if(i&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,Le.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,r,n){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,Le.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Le.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Le.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Le.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Le.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,Le.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Le.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(u.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(i&&n){this.resetStartLocation(i,t,r);i.declare=true}return i}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?ie:$);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,Le.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Le.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Le.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,s){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,Le.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Le.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,i,s,a,o;let l;let p;let c;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===T.j_oTag){t.length-=2}else if(t[t.length-1]===T.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let f;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;f=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(r=i.extra)!=null&&r.parenthesized){t()}if(((n=f)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(i,f)}i.typeParameters=f;return i},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));c=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!c.error)return c.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=c)!=null&&n.node){this.state=c.failState;return c.node}if((i=p)!=null&&i.thrown)throw p.error;if(d.thrown)throw d.error;if((s=c)!=null&&s.thrown)throw c.error;throw((a=p)==null?void 0:a.error)||d.error||((o=c)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Le.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const i=n&&this.isThisParam(n);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;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(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Le.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Le.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Be=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Me=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return 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;const s=this.parsePlaceholder("Identifier");if(s){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=s}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(s,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Be.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Fe=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Re=["minimal","smart","fsharp"];const Ke=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){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'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Re.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Re.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ke.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ve={estree:m,jsx:we,flow:Pe,typescript:ke,v8intrinsic:Fe,placeholders:Me};const Ue=Object.keys(Ve);const Xe={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Xe)){t[r]=e&&e[r]!=null?e[r]:Xe[r]}return t}var Je=function isDigit(e){return e>=48&&e<=57};const Ye=new Set([103,109,115,105,121,117,100]);const We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const qe={};qe.bin=[48,49];qe.oct=[...qe.bin,50,51,52,53,54,55];qe.dec=[...qe.oct,56,57];qe.hex=[...qe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(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){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){f.lastIndex=e;const t=f.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===T.template){this.readTmplToken()}else{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 SourceLocation(i,s)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,y.UnterminatedComment);this.state.pos=r+2;c.lastIndex=t;let n;while((n=c.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,y.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.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,y.UnterminatedRegExp)}const i=this.input.charCodeAt(n);if(isNewLine(i)){throw this.raise(e,y.UnterminatedRegExp)}if(t){t=false}else{if(i===91){r=true}else if(i===93&&r){r=false}else if(i===47&&!r){break}t=i===92}}const i=this.input.slice(e,n);++n;let s="";while(n-1||s.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,y.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Je(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+i+2,y.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,y.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;r=true}else if(i===109){throw this.raise(t,y.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let i=false;let s=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,y.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,y.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,y.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,y.InvalidOrMissingExponent)}r=true;s=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,y.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(s||o){this.raise(t,y.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(i){this.finishToken(u.decimal,p);return}const c=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,c)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,y.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,y.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++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}else{this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let i=parseInt(n,8);if(i>255){n=n.slice(0,-1);i=parseInt(n,8)}this.state.pos+=n.length-1;const s=this.input.charCodeAt(this.state.pos);if(n!=="0"||s===56||s===57){if(e){return null}else{this.recordStrictModeErrors(t,y.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(r){this.raise(n,y.InvalidEscapeSequence)}else{this.state.pos=n-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let i=e[n];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(r);i=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope($e)}function newArrowHeadScope(){return new ArrowHeadParsingScope(He)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Ge)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,y.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?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)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,y.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const i=this.scope;const s=this.getScopeHandler();this.scope=new s(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=De;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ce}this.scope.enter(N);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{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 SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let i=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){i=Qe(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,y.InvalidParenthesizedAssignment)}}else{this.raise(e.start,y.InvalidParenthesizedAssignment)}}switch(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))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const i=this.startNodeAt(t,r);i.expressions=[n];while(this.eat(u.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return 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;const i=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,i)}return e}}let s;if(e){s=false}else{e=new ExpressionErrors;s=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,i)}if(this.state.type.isAssign){const t=this.startNodeAt(n,i);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(s){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.state.potentialArrowAt;const s=this.parseExprOps(e);if(this.shouldExitDescending(s,i)){return s}return this.parseConditional(s,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,n)){return i}return this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(i>n){const s=this.state.type;if(s===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=s===u.logicalOR||s===u.logicalAND;const l=s===u.nullishCoalescing;if(l){i=u.logicalAND.binop}this.next();if(s===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(s,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,y.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const s=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,y.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,y.DeletePrivateField)}}if(!s){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,s,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?y.AwaitNotInAsyncContext:y.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const i=this.state.startLoc;let s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return s;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,i);e.operator=this.state.value;e.prefix=false;e.argument=s;this.checkLVal(s,"postfix operation");this.next();s=this.finishNode(e,"UpdateExpression")}return s}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,n)){return i}return this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,r,n,i){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,i)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,i)}let s=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=s=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,i,s)}else if(s||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,i,s)}else{i.stop=true;return e}}parseMember(e,t,r,n,i){const s=this.startNodeAt(t,r);const a=this.eat(u.bracketL);s.object=e;s.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(s.object.type==="Super"){this.raise(t,y.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}s.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){s.optional=i;return this.finishNode(s,"OptionalMemberExpression")}else{return this.finishNode(s,"MemberExpression")}}parseBind(e,t,r,n,i){const s=this.startNodeAt(t,r);s.object=e;s.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(s,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){const s=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=s;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const i=this.startNodeAt(t,r);i.tag=e;i.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,y.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,y.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){const s=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}s.push(this.parseExprListItem(false,i,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return s}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,y.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,y.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,y.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,y.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,y.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,y.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Ce);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,y.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,y.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,h.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const c={start:0};let f=true;let d;let y;while(!this.match(u.parenR)){if(f){f=false}else{this.expect(u.comma,c.start||null);if(this.match(u.parenR)){y=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,c))}}const h=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=s;let T=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(T=this.parseArrow(T))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(T,l,false);return T}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(y)this.unexpected(y);if(d)this.unexpected(d);this.checkExpressionErrors(p,true);if(c.start)this.unexpected(c.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",h,m)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const S=this.startNodeAt(t,r);S.expression=n;this.finishNode(S,"ParenthesizedExpression");return S}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,y.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,y.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,y.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,y.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(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(i,r,s,n)}if(r&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,y.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,y.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let i=false;let s=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(u.star)}const p=this.state.containsEsc;const c=this.parsePropertyName(n,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=c.name;if(e==="async"&&!this.hasPrecedingLineBreak()){s=true;i=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){i=true;this.raise(this.state.pos,y.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,i,s,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const i=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(i,y.BadGetterArity)}else{this.raise(i,y.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,y.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,i){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return 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);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,i,s,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(C|L|(a?B:0)|(i?k:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,s,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=this.startNode();this.next();s.elements=this.parseExprList(e,!r,n,s);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(C|j);let i=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){i|=_e}this.prodParam.enter(i);this.initFunction(e,r);const s=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=s;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|je);e.body=this.parseBlock(true,false,i=>{const s=!this.isSimpleParamList(e.params);if(i&&s){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,y.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!s,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,y.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,y.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,y.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,y.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,y.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,y.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,y.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,y.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,y.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,y.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const i=this.isSimpleReference(e);if(i){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,y.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,i?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&~t;if(r){this.prodParam.enter(t|_e);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&t;if(r){this.prodParam.enter(t&~_e);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,it=4;const st=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(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,y.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const i=this.input.slice(t.start,t.end);const s=r.value=i.slice(1,-1);this.addExtra(r,"raw",i);this.addExtra(r,"rawValue",s);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let i;if(this.isLet(e)){r=u._var;i="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,y.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,y.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,y.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,i);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,y.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const s=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,s,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,h.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;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(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(D);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const i=n?"let":this.state.value;this.next();this.parseVar(r,true,i);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const i=this.match(u.name)&&!this.state.containsEsc;const s=new ExpressionErrors;const a=this.parseExpression(true,s);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,y.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,y.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,y.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(D);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,y.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,y.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?_:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(D)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,y.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,y.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,y.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(u._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){r.statementStart=this.state.start;r.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(D)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){const s=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?a:undefined,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){const s=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(i){i.call(this,a)}if(!s){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,y.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const i=t&nt;const s=!!n&&!(t&it);this.initFunction(e,r);if(this.match(u.star)&&i){this.raise(this.state.start,y.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(s)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(C);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const i=this.startNode();i.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(i,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,y.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,y.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const i=t;const s=t;const a=t;const o=t;const l=i;const p=i;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,s,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const c=this.state.containsEsc;const f=this.match(u.privateName);const d=this.parseClassElementName(t);const h=d.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(f){this.pushClassPrivateMethod(e,s,false,false);return}const n=this.isNonstaticConstructor(i);let a=false;if(n){i.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,y.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,y.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,i,false,false,n,a)}else if(this.isClassProperty()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(h&&d.name==="async"&&!c&&!this.isLineTerminator()){const t=this.eat(u.star);if(p.optional){this.unexpected(m)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,s,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(h&&(d.name==="get"||d.name==="set")&&!c&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,s,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,y.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,y.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(B|M|L);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(De);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,y.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,y.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),Se,r.key.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const i=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(i);const s=i.kind==="get"?i.static?ye:me:i.kind==="set"?i.static?he:Te:Se;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),s,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(B|L);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(De);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=$){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,y.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const i=n&&this.maybeParseExportNamespaceSpecifier(e);const s=r&&(!i||this.eat(u.comma));const a=t||n;if(n&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||i&&s&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|it,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,y.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,y.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,y.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const s=this.state.decoratorStack[this.state.decoratorStack.length-1];if(s.length){throw this.raise(e.start,y.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?y.DuplicateDefaultExport:y.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.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(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(st);if(t){this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,y.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,y.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Ue.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=Ve[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},13471:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.scope=t.path=void 0;let r=new WeakMap;t.path=r;let n=new WeakMap;t.scope=n;function clear(){clearPath();clearScope()}function clearPath(){t.path=r=new WeakMap}function clearScope(){t.scope=n=new WeakMap}},23716:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(22502);var i=r(1422);const s=process.env.NODE_ENV==="test";class TraversalContext{constructor(e,t,r,n){this.queue=null;this.priorityQueue=null;this.parentPath=n;this.scope=e;this.state=r;this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return true;if(t[e.type])return true;const r=i.VISITOR_KEYS[e.type];if(!(r!=null&&r.length))return false;for(const t of r){if(e[t])return true}return false}create(e,t,r,i){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:i})}maybeQueue(e,t){if(this.trap){throw new Error("Infinite cycle detected")}if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,r){if(e.length===0)return false;const n=[];for(let i=0;i=1e4){this.trap=true}const{node:i}=n;if(t.has(i))continue;if(i)t.add(i);if(n.visit()){r=true;break}if(this.priorityQueue.length){r=this.visitQueue(this.priorityQueue);this.priorityQueue=[];this.queue=e;if(r)break}}for(const t of e){t.popContext()}this.queue=null;return r}visit(e,t){const r=e[t];if(!r)return false;if(Array.isArray(r)){return this.visitMultiple(r,e,t)}else{return this.visitSingle(e,t)}}}t.default=TraversalContext},91706:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}t.default=Hub},17127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"Hub",{enumerable:true,get:function(){return u.default}});t.visitors=t.default=void 0;var n=r(23716);var i=r(36027);t.visitors=i;var s=r(1422);var a=r(13471);var o=r(22502);var l=r(1473);var u=r(91706);function traverse(e,t={},r,n,a){if(!e)return;if(!t.noScope&&!r){if(e.type!=="Program"&&e.type!=="File"){throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+"passing scope and parentPath.")}}if(!s.VISITOR_KEYS[e.type]){return}i.explode(t);traverse.node(e,t,r,n,a)}var p=traverse;t.default=p;traverse.visitors=i;traverse.verify=i.verify;traverse.explode=i.explode;traverse.cheap=function(e,t){return s.traverseFast(e,t)};traverse.node=function(e,t,r,i,a,o){const l=s.VISITOR_KEYS[e.type];if(!l)return;const u=new n.default(r,t,i,a);for(const t of l){if(o&&o[t])continue;if(u.visit(e,t))return}};traverse.clearNode=function(e,t){s.removeProperties(e,t);a.path.delete(e)};traverse.removeProperties=function(e,t){s.traverseFast(e,traverse.clearNode,t);return e};function hasDenylistedType(e,t){if(e.node.type===t.type){t.has=true;e.stop()}}traverse.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return false;if(e.type===t)return true;const n={has:false,type:t};traverse(e,{noScope:true,denylist:r,enter:hasDenylistedType},null,n);return n.has};traverse.cache=a},62724:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findParent=findParent;t.find=find;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getAncestry=getAncestry;t.isAncestor=isAncestor;t.isDescendant=isDescendant;t.inType=inType;var n=r(1422);var i=r(22502);function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent(e=>e.isFunction())}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{e=e.parentPath}}while(e);if(e&&(e.isProgram()||e.isFile())){throw new Error("File/Program node, we can't possibly find a statement parent to this")}return e}function getEarliestCommonAncestorFrom(e){return this.getDeepestCommonAncestorFrom(e,function(e,t,r){let i;const s=n.VISITOR_KEYS[e.type];for(const e of r){const r=e[t+1];if(!i){i=r;continue}if(r.listKey&&i.listKey===r.listKey){if(r.keya){i=r}}return i})}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let r=Infinity;let n,i;const s=e.map(e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.lengtht===e)}function inType(...e){let t=this;while(t){for(const r of e){if(t.node.type===r)return true}t=t.parentPath}return false}},37068:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shareCommentsWithSiblings=shareCommentsWithSiblings;t.addComment=addComment;t.addComments=addComments;var n=r(1422);function shareCommentsWithSiblings(){if(typeof this.key==="string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1);const i=this.getSibling(this.key+1);const s=Boolean(n.node);const a=Boolean(i.node);if(s&&!a){n.addComments("trailing",t)}else if(a&&!s){i.addComments("leading",r)}}function addComment(e,t,r){n.addComment(this.node,e,t,r)}function addComments(e,t){n.addComments(this.node,e,t)}},64412:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.call=call;t._call=_call;t.isBlacklisted=t.isDenylisted=isDenylisted;t.visit=visit;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.setScope=setScope;t.setContext=setContext;t.resync=resync;t._resyncParent=_resyncParent;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncRemoved=_resyncRemoved;t.popContext=popContext;t.pushContext=pushContext;t.setup=setup;t.setKey=setKey;t.requeue=requeue;t._getQueueContexts=_getQueueContexts;var n=r(17127);var i=r(22502);function call(e){const t=this.opts;this.debug(e);if(this.node){if(this._call(t[e]))return true}if(this.node){return this._call(t[this.node.type]&&t[this.node.type][e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const r=t.call(this.state,this,this.state);if(r&&typeof r==="object"&&typeof r.then==="function"){throw new Error(`You appear to be using a plugin with an async traversal visitor, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}if(r){throw new Error(`Unexpected return value from visitor method ${t}`)}if(this.node!==e)return true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function visit(){if(!this.node){return false}if(this.isDenylisted()){return false}if(this.opts.shouldSkip&&this.opts.shouldSkip(this)){return false}if(this.shouldSkip||this.call("enter")||this.shouldSkip){this.debug("Skip...");return this.shouldStop}this.debug("Recursing into...");n.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys);this.call("exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=i.SHOULD_SKIP|i.SHOULD_STOP}function setScope(){if(this.opts&&this.opts.noScope)return;let e=this.parentPath;if(this.key==="key"&&e.isMethod())e=e.parentPath;let t;while(e&&!t){if(e.opts&&e.opts.noScope)return;t=e.scope;e=e.parentPath}this.scope=this.getScope(t);if(this.scope)this.scope.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}this.setScope();return this}function resync(){if(this.removed)return;this._resyncParent();this._resyncList();this._resyncKey()}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let e=0;e0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,r,n){this.listKey=r;this.container=t;this.parentPath=e||this.parentPath;this.setKey(n)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const r of t){r.maybeQueue(e)}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},69985:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toComputedKey=toComputedKey;t.ensureBlock=ensureBlock;t.arrowFunctionToShadowed=arrowFunctionToShadowed;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;t.arrowFunctionToExpression=arrowFunctionToExpression;var n=r(1422);var i=r(98733);function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(n.isIdentifier(e))e=n.stringLiteral(e.name)}return e}function ensureBlock(){const e=this.get("body");const t=e.node;if(Array.isArray(e)){throw new Error("Can't convert array path to a block statement")}if(!t){throw new Error("Can't convert node without a body")}if(e.isBlockStatement()){return t}const r=[];let i="body";let s;let a;if(e.isStatement()){a="body";s=0;r.push(e.node)}else{i+=".body.0";if(this.isFunction()){s="argument";r.push(n.returnStatement(e.node))}else{s="expression";r.push(n.expressionStatement(e.node))}}this.node.body=n.blockStatement(r);const o=this.get(i);e.setup(o,a?o.node[a]:o.node,a,s);return this.node}function arrowFunctionToShadowed(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function arrowFunctionToExpression({allowInsertArrow:e=true,specCompliant:t=false,noNewArrows:r=!t}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}const s=hoistFunctionEnvironment(this,r,e);this.ensureBlock();this.node.type="FunctionExpression";if(!r){const e=s?null:this.parentPath.scope.generateUidIdentifier("arrowCheckId");if(e){this.parentPath.scope.push({id:e,init:n.objectExpression([])})}this.get("body").unshiftContainer("body",n.expressionStatement(n.callExpression(this.hub.addHelper("newArrowCheck"),[n.thisExpression(),e?n.identifier(e.name):n.identifier(s)])));this.replaceWith(n.callExpression(n.memberExpression((0,i.default)(this,true)||this.node,n.identifier("bind")),[e?n.identifier(e.name):n.thisExpression()]))}}function hoistFunctionEnvironment(e,t=true,r=true){const i=e.findParent(e=>{return e.isFunction()&&!e.isArrowFunctionExpression()||e.isProgram()||e.isClassProperty({static:false})});const s=(i==null?void 0:i.node.kind)==="constructor";if(i.isClassProperty()){throw e.buildCodeFrameError("Unable to transform arrow inside class property")}const{thisPaths:a,argumentsPaths:o,newTargetPaths:l,superProps:u,superCalls:p}=getScopeInformation(e);if(s&&p.length>0){if(!r){throw p[0].buildCodeFrameError("Unable to handle nested super() usage in arrow")}const e=[];i.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(t){if(!t.get("callee").isSuper())return;e.push(t)}});const t=getSuperBinding(i);e.forEach(e=>{const r=n.identifier(t);r.loc=e.node.callee.loc;e.get("callee").replaceWith(r)})}if(o.length>0){const e=getBinding(i,"arguments",()=>n.identifier("arguments"));o.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(l.length>0){const e=getBinding(i,"newtarget",()=>n.metaProperty(n.identifier("new"),n.identifier("target")));l.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(u.length>0){if(!r){throw u[0].buildCodeFrameError("Unable to handle nested super.prop usage")}const e=u.reduce((e,t)=>e.concat(standardizeSuperProperty(t)),[]);e.forEach(e=>{const t=e.node.computed?"":e.get("property").node.name;const r=e.parentPath.isAssignmentExpression({left:e.node});const s=e.parentPath.isCallExpression({callee:e.node});const o=getSuperPropBinding(i,r,t);const l=[];if(e.node.computed){l.push(e.get("property").node)}if(r){const t=e.parentPath.node.right;l.push(t)}const u=n.callExpression(n.identifier(o),l);if(s){e.parentPath.unshiftContainer("arguments",n.thisExpression());e.replaceWith(n.memberExpression(u,n.identifier("call")));a.push(e.parentPath.get("arguments.0"))}else if(r){e.parentPath.replaceWith(u)}else{e.replaceWith(u)}})}let c;if(a.length>0||!t){c=getThisBinding(i,s);if(t||s&&hasSuperClass(i)){a.forEach(e=>{const t=e.isJSX()?n.jsxIdentifier(c):n.identifier(c);t.loc=e.node.loc;e.replaceWith(t)});if(!t)c=null}}return c}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){const t=e.parentPath;const r=t.node.operator.slice(0,-1);const i=t.node.right;t.node.operator="=";if(e.node.computed){const s=e.scope.generateDeclaredUidIdentifier("tmp");t.get("left").replaceWith(n.memberExpression(e.node.object,n.assignmentExpression("=",s,e.node.property),true));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(s.name),true),i))}else{t.get("left").replaceWith(n.memberExpression(e.node.object,e.node.property));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(e.node.property.name)),i))}return[t.get("left"),t.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const r=e.scope.generateDeclaredUidIdentifier("tmp");const i=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null;const s=[n.assignmentExpression("=",r,n.memberExpression(e.node.object,i?n.assignmentExpression("=",i,e.node.property):e.node.property,e.node.computed)),n.assignmentExpression("=",n.memberExpression(e.node.object,i?n.identifier(i.name):e.node.property,e.node.computed),n.binaryExpression("+",n.identifier(r.name),n.numericLiteral(1)))];if(!e.parentPath.node.prefix){s.push(n.identifier(r.name))}t.replaceWith(n.sequenceExpression(s));const a=t.get("expressions.0.right");const o=t.get("expressions.1.left");return[a,o]}return[e]}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}function getThisBinding(e,t){return getBinding(e,"this",r=>{if(!t||!hasSuperClass(e))return n.thisExpression();const i=new WeakSet;e.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(e){if(!e.get("callee").isSuper())return;if(i.has(e.node))return;i.add(e.node);e.replaceWithMultiple([e.node,n.assignmentExpression("=",n.identifier(r),n.identifier("this"))])}})})}function getSuperBinding(e){return getBinding(e,"supercall",()=>{const t=e.scope.generateUidIdentifier("args");return n.arrowFunctionExpression([n.restElement(t)],n.callExpression(n.super(),[n.spreadElement(n.identifier(t.name))]))})}function getSuperPropBinding(e,t,r){const i=t?"set":"get";return getBinding(e,`superprop_${i}:${r||""}`,()=>{const i=[];let s;if(r){s=n.memberExpression(n.super(),n.identifier(r))}else{const t=e.scope.generateUidIdentifier("prop");i.unshift(t);s=n.memberExpression(n.super(),n.identifier(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("value");i.push(t);s=n.assignmentExpression("=",s,n.identifier(t.name))}return n.arrowFunctionExpression(i,s)})}function getBinding(e,t,r){const n="binding:"+t;let i=e.getData(n);if(!i){const s=e.scope.generateUidIdentifier(t);i=s.name;e.setData(n,i);e.scope.push({id:s,init:r(i)})}return i}function getScopeInformation(e){const t=[];const r=[];const n=[];const i=[];const s=[];e.traverse({ClassProperty(e){e.skip()},Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ThisExpression(e){t.push(e)},JSXIdentifier(e){if(e.node.name!=="this")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e){if(e.get("callee").isSuper())s.push(e)},MemberExpression(e){if(e.get("object").isSuper())i.push(e)},ReferencedIdentifier(e){if(e.node.name!=="arguments")return;r.push(e)},MetaProperty(e){if(!e.get("meta").isIdentifier({name:"new"}))return;if(!e.get("property").isIdentifier({name:"target"}))return;n.push(e)}});return{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:s}}},71592:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluateTruthy=evaluateTruthy;t.evaluate=evaluate;const r=["String","Number","Math"];const n=["random"];function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}function evaluateCached(e,t){const{node:r}=e;const{seen:n}=t;if(n.has(r)){const i=n.get(r);if(i.resolved){return i.value}else{deopt(e,t);return}}else{const i={resolved:false};n.set(r,i);const s=_evaluate(e,t);if(t.confident){i.resolved=true;i.value=s}return s}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const r=e.get("expressions");return evaluateCached(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral()){return e.node.value}if(e.isNullLiteral()){return null}if(e.isTemplateLiteral()){return evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const r=e.get("tag.object");const{node:{name:n}}=r;const i=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&i.isIdentifier()&&i.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const r=evaluateCached(e.get("test"),t);if(!t.confident)return;if(r){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const t=e.get("property");const r=e.get("object");if(r.isLiteral()&&t.isIdentifier()){const e=r.node.value;const n=typeof e;if(n==="number"||n==="string"){return e[t.node.name]}}}if(e.isReferencedIdentifier()){const r=e.scope.getBinding(e.node.name);if(r&&r.constantViolations.length>0){return deopt(r.path,t)}if(r&&e.node.start":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){const i=e.get("callee");let s;let a;if(i.isIdentifier()&&!e.scope.getBinding(i.node.name)&&r.indexOf(i.node.name)>=0){a=global[i.node.name]}if(i.isMemberExpression()){const e=i.get("object");const t=i.get("property");if(e.isIdentifier()&&t.isIdentifier()&&r.indexOf(e.node.name)>=0&&n.indexOf(t.node.name)<0){s=global[e.node.name];a=s[t.node.name]}if(e.isLiteral()&&t.isIdentifier()){const r=typeof e.node.value;if(r==="string"||r==="number"){s=e.node.value;a=s[t.node.name]}}}if(a){const r=e.get("arguments").map(e=>evaluateCached(e,t));if(!t.confident)return;return a.apply(s,r)}}deopt(e,t)}function evaluateQuasis(e,t,r,n=false){let i="";let s=0;const a=e.get("expressions");for(const e of t){if(!r.confident)break;i+=n?e.value.raw:e.value.cooked;const t=a[s++];if(t)i+=String(evaluateCached(t,r))}if(!r.confident)return;return i}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},31217:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOpposite=getOpposite;t.getCompletionRecords=getCompletionRecords;t.getSibling=getSibling;t.getPrevSibling=getPrevSibling;t.getNextSibling=getNextSibling;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.get=get;t._getKey=_getKey;t._getPattern=_getPattern;t.getBindingIdentifiers=getBindingIdentifiers;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;var n=r(22502);var i=r(1422);const s=0;const a=1;function NormalCompletion(e){return{type:s,path:e}}function BreakCompletion(e){return{type:a,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,r){if(e)return t.concat(_getCompletionRecords(e,r));return t}function completionRecordForSwitch(e,t,r){let n=[];for(let i=0;i{e.type=a})}function replaceBreakStatementInBreakCompletion(e,t){e.forEach(e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(i.unaryExpression("void",i.numericLiteral(0)))}else{e.path.remove()}}})}function getStatementListCompletion(e,t){let r=[];if(t.canHaveBreak){let n=[];for(let i=0;i0&&u.every(e=>e.type===a)){if(n.length>0&&u.every(e=>e.path.isBreakStatement({label:null}))){normalCompletionToBreak(n);r=r.concat(n);if(n.some(e=>e.path.isDeclaration())){r=r.concat(u);replaceBreakStatementInBreakCompletion(u,true)}replaceBreakStatementInBreakCompletion(u,false)}else{r=r.concat(u);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(u,true)}}break}if(i===e.length-1){r=r.concat(u)}else{r=r.concat(u.filter(e=>e.type===a));n=u.filter(e=>e.type===s)}}}else if(e.length){r=r.concat(_getCompletionRecords(e[e.length-1],t))}return r}function _getCompletionRecords(e,t){let r=[];if(e.isIfStatement()){r=addCompletionRecords(e.get("consequent"),r,t);r=addCompletionRecords(e.get("alternate"),r,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isProgram()||e.isBlockStatement()){r=r.concat(getStatementListCompletion(e.get("body"),t))}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){r=addCompletionRecords(e.get("block"),r,t);r=addCompletionRecords(e.get("handler"),r,t)}else if(e.isCatchClause()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isSwitchStatement()){r=completionRecordForSwitch(e.get("cases"),r,t)}else if(e.isSwitchCase()){r=r.concat(getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true}))}else if(e.isBreakStatement()){r.push(BreakCompletion(e))}else{r.push(NormalCompletion(e))}return r}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map(e=>e.path)}function getSibling(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const r=[];while(t.node){r.push(t);t=this.getSibling(++e)}return r}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const r=[];while(t.node){r.push(t);t=this.getSibling(--e)}return r}function get(e,t=true){if(t===true)t=this.context;const r=e.split(".");if(r.length===1){return this._getKey(e,t)}else{return this._getPattern(r,t)}}function _getKey(e,t){const r=this.node;const i=r[e];if(Array.isArray(i)){return i.map((s,a)=>{return n.default.get({listKey:e,parentPath:this,parent:r,container:i,key:a}).setContext(t)})}else{return n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}}function _getPattern(e,t){let r=this;for(const n of e){if(n==="."){r=r.parentPath}else{if(Array.isArray(r)){r=r[n]}else{r=r.get(n,t)}}}return r}function getBindingIdentifiers(e){return i.getBindingIdentifiers(this.node,e)}function getOuterBindingIdentifiers(e){return i.getOuterBindingIdentifiers(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const r=this;let n=[].concat(r);const s=Object.create(null);while(n.length){const r=n.shift();if(!r)continue;if(!r.node)continue;const a=i.getBindingIdentifiers.keys[r.node.type];if(r.isIdentifier()){if(e){const e=s[r.node.name]=s[r.node.name]||[];e.push(r)}else{s[r.node.name]=r}continue}if(r.isExportDeclaration()){const e=r.get("declaration");if(e.isDeclaration()){n.push(e)}continue}if(t){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression()){continue}}if(a){for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.SHOULD_SKIP=t.SHOULD_STOP=t.REMOVED=void 0;var n=r(7580);var i=r(31185);var s=r(17127);var a=r(1473);var o=r(1422);var l=r(13471);var u=r(75179);var p=r(62724);var c=r(95709);var f=r(9730);var d=r(71592);var y=r(69985);var h=r(33685);var m=r(64412);var T=r(62833);var S=r(86542);var b=r(31217);var E=r(37068);const g=i("babel");const x=1<<0;t.REMOVED=x;const P=1<<1;t.SHOULD_STOP=P;const A=1<<2;t.SHOULD_SKIP=A;class NodePath{constructor(e,t){this.contexts=[];this.state=null;this.opts=null;this._traverseFlags=0;this.skipKeys=null;this.parentPath=null;this.container=null;this.listKey=null;this.key=null;this.node=null;this.type=null;this.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:i,key:s}){if(!e&&t){e=t.hub}if(!r){throw new Error("To get a node path the parent needs to exist")}const a=n[s];let o=l.path.get(r);if(!o){o=new Map;l.path.set(r,o)}let u=o.get(a);if(!u){u=new NodePath(e,r);if(a)o.set(a,u)}u.setup(t,n,i,s);return u}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let r=this.data[e];if(r===undefined&&t!==undefined)r=this.data[e]=t;return r}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,s.default)(this.node,e,this.scope,t,this)}set(e,t){o.validate(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;if(t.inList)r=`${t.listKey}[${r}]`;e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){if(!g.enabled)return;g(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&A)}set shouldSkip(e){if(e){this._traverseFlags|=A}else{this._traverseFlags&=~A}}get shouldStop(){return!!(this._traverseFlags&P)}set shouldStop(e){if(e){this._traverseFlags|=P}else{this._traverseFlags&=~P}}get removed(){return!!(this._traverseFlags&x)}set removed(e){if(e){this._traverseFlags|=x}else{this._traverseFlags&=~x}}}Object.assign(NodePath.prototype,p,c,f,d,y,h,m,T,S,b,E);for(const e of o.TYPES){const t=`is${e}`;const r=o[t];NodePath.prototype[t]=function(e){return r(this.node,e)};NodePath.prototype[`assert${e}`]=function(t){if(!r(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}for(const e of Object.keys(n)){if(e[0]==="_")continue;if(o.TYPES.indexOf(e)<0)o.TYPES.push(e);const t=n[e];NodePath.prototype[`is${e}`]=function(e){return t.checkPath(this,e)}}var v=NodePath;t.default=v},95709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getTypeAnnotation=getTypeAnnotation;t._getTypeAnnotation=_getTypeAnnotation;t.isBaseType=isBaseType;t.couldBeBaseType=couldBeBaseType;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.isGenericType=isGenericType;var n=r(13799);var i=r(1422);function getTypeAnnotation(){if(this.typeAnnotation)return this.typeAnnotation;let e=this._getTypeAnnotation()||i.anyTypeAnnotation();if(i.isTypeAnnotation(e))e=e.typeAnnotation;return this.typeAnnotation=e}const s=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return i.stringTypeAnnotation()}if(e.key==="left"&&t.isForOfStatement()){return i.anyTypeAnnotation()}return i.voidTypeAnnotation()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(s.has(e)){return}s.add(e);try{var t;let r=n[e.type];if(r){return r.call(this,e)}r=n[this.parentPath.type];if((t=r)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{s.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,r){if(e==="string"){return i.isStringTypeAnnotation(t)}else if(e==="number"){return i.isNumberTypeAnnotation(t)}else if(e==="boolean"){return i.isBooleanTypeAnnotation(t)}else if(e==="any"){return i.isAnyTypeAnnotation(t)}else if(e==="mixed"){return i.isMixedTypeAnnotation(t)}else if(e==="empty"){return i.isEmptyTypeAnnotation(t)}else if(e==="void"){return i.isVoidTypeAnnotation(t)}else{if(r){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(i.isAnyTypeAnnotation(t))return true;if(i.isUnionTypeAnnotation(t)){for(const r of t.types){if(i.isAnyTypeAnnotation(r)||_isBaseType(e,r,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const r=e.getTypeAnnotation();if(!i.isAnyTypeAnnotation(t)&&i.isFlowBaseAnnotation(t)){return r.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();return i.isGenericTypeAnnotation(t)&&i.isIdentifier(t.id,{name:e})}},41381:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(1422);function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return n.voidTypeAnnotation()}else if(e.name==="NaN"||e.name==="Infinity"){return n.numberTypeAnnotation()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,r){const i=[];const s=[];let a=getConstantViolationsBefore(e,t,s);const o=getConditionalAnnotation(e,t,r);if(o){const t=getConstantViolationsBefore(e,o.ifStatement);a=a.filter(e=>t.indexOf(e)<0);i.push(o.typeAnnotation)}if(a.length){a=a.concat(s);for(const e of a){i.push(e.getTypeAnnotation())}}if(!i.length){return}if(n.isTSTypeAnnotation(i[0])&&n.createTSUnionType){return n.createTSUnionType(i)}if(n.createFlowUnionType){return n.createFlowUnionType(i)}return n.createUnionTypeAnnotation(i)}function getConstantViolationsBefore(e,t,r){const n=e.constantViolations.slice();n.unshift(e.path);return n.filter(e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);if(r&&n==="unknown")r.push(e);return n==="before"})}function inferAnnotationFromBinaryExpression(e,t){const r=t.node.operator;const i=t.get("right").resolve();const s=t.get("left").resolve();let a;if(s.isIdentifier({name:e})){a=i}else if(i.isIdentifier({name:e})){a=s}if(a){if(r==="==="){return a.getTypeAnnotation()}if(n.BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(r)>=0){return n.numberTypeAnnotation()}return}if(r!=="==="&&r!=="==")return;let o;let l;if(s.isUnaryExpression({operator:"typeof"})){o=s;l=i}else if(i.isUnaryExpression({operator:"typeof"})){o=i;l=s}if(!o)return;if(!o.get("argument").isIdentifier({name:e}))return;l=l.resolve();if(!l.isLiteral())return;const u=l.node.value;if(typeof u!=="string")return;return n.createTypeAnnotationBasedOnTypeof(u)}function getParentConditionalPath(e,t,r){let n;while(n=t.parentPath){if(n.isIfStatement()||n.isConditionalExpression()){if(t.key==="test"){return}return n}if(n.isFunction()){if(n.parentPath.scope.getBinding(r)!==e)return}t=n}}function getConditionalAnnotation(e,t,r){const i=getParentConditionalPath(e,t,r);if(!i)return;const s=i.get("test");const a=[s];const o=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VariableDeclarator=VariableDeclarator;t.TypeCastExpression=TypeCastExpression;t.NewExpression=NewExpression;t.TemplateLiteral=TemplateLiteral;t.UnaryExpression=UnaryExpression;t.BinaryExpression=BinaryExpression;t.LogicalExpression=LogicalExpression;t.ConditionalExpression=ConditionalExpression;t.SequenceExpression=SequenceExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.AssignmentExpression=AssignmentExpression;t.UpdateExpression=UpdateExpression;t.StringLiteral=StringLiteral;t.NumericLiteral=NumericLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.RegExpLiteral=RegExpLiteral;t.ObjectExpression=ObjectExpression;t.ArrayExpression=ArrayExpression;t.RestElement=RestElement;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;t.CallExpression=CallExpression;t.TaggedTemplateExpression=TaggedTemplateExpression;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return i.default}});var n=r(1422);var i=r(41381);function VariableDeclarator(){var e;const t=this.get("id");if(!t.isIdentifier())return;const r=this.get("init");let n=r.getTypeAnnotation();if(((e=n)==null?void 0:e.type)==="AnyTypeAnnotation"){if(r.isCallExpression()&&r.get("callee").isIdentifier({name:"Array"})&&!r.scope.hasBinding("Array",true)){n=ArrayExpression()}}return n}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function NewExpression(e){if(this.get("callee").isIdentifier()){return n.genericTypeAnnotation(e.callee)}}function TemplateLiteral(){return n.stringTypeAnnotation()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return n.voidTypeAnnotation()}else if(n.NUMBER_UNARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.STRING_UNARY_OPERATORS.indexOf(t)>=0){return n.stringTypeAnnotation()}else if(n.BOOLEAN_UNARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}}function BinaryExpression(e){const t=e.operator;if(n.NUMBER_BINARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.BOOLEAN_BINARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return n.numberTypeAnnotation()}else if(t.isBaseType("string")||e.isBaseType("string")){return n.stringTypeAnnotation()}return n.unionTypeAnnotation([n.stringTypeAnnotation(),n.numberTypeAnnotation()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return n.numberTypeAnnotation()}}function StringLiteral(){return n.stringTypeAnnotation()}function NumericLiteral(){return n.numberTypeAnnotation()}function BooleanLiteral(){return n.booleanTypeAnnotation()}function NullLiteral(){return n.nullLiteralTypeAnnotation()}function RegExpLiteral(){return n.genericTypeAnnotation(n.identifier("RegExp"))}function ObjectExpression(){return n.genericTypeAnnotation(n.identifier("Object"))}function ArrayExpression(){return n.genericTypeAnnotation(n.identifier("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return n.genericTypeAnnotation(n.identifier("Function"))}const s=n.buildMatchMemberExpression("Array.from");const a=n.buildMatchMemberExpression("Object.keys");const o=n.buildMatchMemberExpression("Object.values");const l=n.buildMatchMemberExpression("Object.entries");function CallExpression(){const{callee:e}=this.node;if(a(e)){return n.arrayTypeAnnotation(n.stringTypeAnnotation())}else if(s(e)||o(e)){return n.arrayTypeAnnotation(n.anyTypeAnnotation())}else if(l(e)){return n.arrayTypeAnnotation(n.tupleTypeAnnotation([n.stringTypeAnnotation(),n.anyTypeAnnotation()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){if(e.is("async")){if(e.is("generator")){return n.genericTypeAnnotation(n.identifier("AsyncIterator"))}else{return n.genericTypeAnnotation(n.identifier("Promise"))}}else{if(e.node.returnType){return e.node.returnType}else{}}}}},33685:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.matchesPattern=matchesPattern;t.has=has;t.isStatic=isStatic;t.isnt=isnt;t.equals=equals;t.isNodeType=isNodeType;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.isCompletionRecord=isCompletionRecord;t.isStatementOrBlock=isStatementOrBlock;t.referencesImport=referencesImport;t.getSource=getSource;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._guessExecutionStatusRelativeToDifferentFunctions=_guessExecutionStatusRelativeToDifferentFunctions;t.resolve=resolve;t._resolve=_resolve;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.is=void 0;var n=r(1422);function matchesPattern(e,t){return n.matchesPattern(this.node,e,t)}function has(e){const t=this.node&&this.node[e];if(t&&Array.isArray(t)){return!!t.length}else{return!!t}}function isStatic(){return this.scope.isStatic(this.node)}const i=has;t.is=i;function isnt(e){return!this.has(e)}function equals(e,t){return this.node[e]===t}function isNodeType(e){return n.isType(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return n.isBlockStatement(e)}else if(this.isBlockStatement()){return n.isExpression(e)}return false}function isCompletionRecord(e){let t=this;let r=true;do{const n=t.container;if(t.isFunction()&&!r){return!!e}r=false;if(Array.isArray(n)&&t.key!==n.length-1){return false}}while((t=t.parentPath)&&!t.isProgram());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||n.isBlockStatement(this.container)){return false}else{return n.STATEMENT_OR_BLOCK_KEYS.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if((this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?n.isStringLiteral(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return false;const i=r.path;const s=i.parentPath;if(!s.isImportDeclaration())return false;if(s.node.source.value===e){if(!t)return true}else{return false}if(i.isImportDefaultSpecifier()&&t==="default"){return true}if(i.isImportNamespaceSpecifier()&&t==="*"){return true}if(i.isImportSpecifier()&&n.isIdentifier(i.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return(e.scope.getFunctionParent()||e.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let r=0;r=0)return"after";if(r.this.indexOf(e)>=0)return"before";let i;const s={target:0,this:0};while(!i&&s.this=0){i=e}else{s.this++}}if(!i){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(r.this,s.this-1)||isExecutionUncertainInList(r.target,s.target-1)){return"unknown"}const a={this:r.this[s.this-1],target:r.target[s.target-1]};if(a.target.listKey&&a.this.listKey&&a.target.container===a.this.container){return a.target.key>a.this.key?"before":"after"}const o=n.VISITOR_KEYS[i.type];const l={this:o.indexOf(a.this.parentKey),target:o.indexOf(a.target.parentKey)};return l.target>l.this?"before":"after"}const s=new WeakSet;function _guessExecutionStatusRelativeToDifferentFunctions(e){if(!e.isFunctionDeclaration()||e.parentPath.isExportDeclaration()){return"unknown"}const t=e.scope.getBinding(e.node.id.name);if(!t.references)return"before";const r=t.referencePaths;let n;for(const t of r){const r=!!t.find(t=>t.node===e.node);if(r)continue;if(t.key!=="callee"||!t.parentPath.isCallExpression()){return"unknown"}if(s.has(t.node))continue;s.add(t.node);const i=this._guessExecutionStatusRelativeTo(t);s.delete(t.node);if(n&&n!==i){return"unknown"}else{n=i}}return n}function resolve(e,t){return this._resolve(e,t)||this}function _resolve(e,t){if(t&&t.indexOf(this)>=0)return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if(r.kind==="module")return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find(e=>e.node===n.node))return;return n}}else if(this.isTypeCastExpression()){return this.get("expression").resolve(e,t)}else if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!n.isLiteral(r))return;const i=r.value;const s=this.get("object").resolve(e,t);if(s.isObjectExpression()){const r=s.get("properties");for(const n of r){if(!n.isProperty())continue;const r=n.get("key");let s=n.isnt("computed")&&r.isIdentifier({name:i});s=s||r.isLiteral({value:i});if(s)return n.get("value").resolve(e,t)}}else if(s.isArrayExpression()&&!isNaN(+i)){const r=s.get("elements");const n=r[i];if(n)return n.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every(e=>e.isConstantExpression())}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find(e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(!e.isProgram()&&!e.isFunction())return false;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}const t=e.isFunction()?e.node.body:e.node;for(const e of t.directives){if(e.value.value==="use strict"){return true}}});return!!t}},50168:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(1422);const i={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&n.react.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);if(r)t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);if(!r)return;for(const n of r.constantViolations){if(n.scope!==r.path.scope){t.mutableBinding=true;e.stop();return}}if(r!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=r}};class PathHoister{constructor(e,t){this.breakOnScopePaths=void 0;this.bindings=void 0;this.mutableBinding=void 0;this.scopes=void 0;this.scope=void 0;this.path=void 0;this.attachAfter=void 0;this.breakOnScopePaths=[];this.bindings={};this.mutableBinding=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.indexOf(e.path)>=0){break}}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e){t=e.scope.parent}if(t.path.isProgram()||t.path.isFunction()){for(const r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if(n.kind==="param"||n.path.parentKey==="params"){continue}const i=this.getAttachmentParentForPath(n.path);if(i.key>=e.key){this.attachAfter=true;e=n.path;for(const t of n.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const r=[function(e,t){const r=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(r){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&(e.key==="consequent"||e.key==="alternate")||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}];t.hooks=r},7580:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ForAwaitStatement=t.NumericLiteralTypeAnnotation=t.ExistentialTypeParam=t.SpreadProperty=t.RestProperty=t.Flow=t.Pure=t.Generated=t.User=t.Var=t.BlockScoped=t.Referenced=t.Scope=t.Expression=t.Statement=t.BindingIdentifier=t.ReferencedMemberExpression=t.ReferencedIdentifier=void 0;var n=r(1422);const i={types:["Identifier","JSXIdentifier"],checkPath(e,t){const{node:r,parent:i}=e;if(!n.isIdentifier(r,t)&&!n.isJSXMemberExpression(i,t)){if(n.isJSXIdentifier(r,t)){if(n.react.isCompatTag(r.name))return false}else{return false}}return n.isReferenced(r,i,e.parentPath.parent)}};t.ReferencedIdentifier=i;const s={types:["MemberExpression"],checkPath({node:e,parent:t}){return n.isMemberExpression(e)&&n.isReferenced(e,t)}};t.ReferencedMemberExpression=s;const a={types:["Identifier"],checkPath(e){const{node:t,parent:r}=e;const i=e.parentPath.parent;return n.isIdentifier(t)&&n.isBinding(t,r,i)}};t.BindingIdentifier=a;const o={types:["Statement"],checkPath({node:e,parent:t}){if(n.isStatement(e)){if(n.isVariableDeclaration(e)){if(n.isForXStatement(t,{left:e}))return false;if(n.isForStatement(t,{init:e}))return false}return true}else{return false}}};t.Statement=o;const l={types:["Expression"],checkPath(e){if(e.isIdentifier()){return e.isReferencedIdentifier()}else{return n.isExpression(e.node)}}};t.Expression=l;const u={types:["Scopable","Pattern"],checkPath(e){return n.isScope(e.node,e.parent)}};t.Scope=u;const p={checkPath(e){return n.isReferenced(e.node,e.parent)}};t.Referenced=p;const c={checkPath(e){return n.isBlockScoped(e.node)}};t.BlockScoped=c;const f={types:["VariableDeclaration"],checkPath(e){return n.isVar(e.node)}};t.Var=f;const d={checkPath(e){return e.node&&!!e.node.loc}};t.User=d;const y={checkPath(e){return!e.isUser()}};t.Generated=y;const h={checkPath(e,t){return e.scope.isPure(e.node,t)}};t.Pure=h;const m={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath({node:e}){if(n.isFlow(e)){return true}else if(n.isImportDeclaration(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(n.isExportDeclaration(e)){return e.exportKind==="type"}else if(n.isImportSpecifier(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}};t.Flow=m;const T={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectPattern()}};t.RestProperty=T;const S={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectExpression()}};t.SpreadProperty=S;const b={types:["ExistsTypeAnnotation"]};t.ExistentialTypeParam=b;const E={types:["NumberLiteralTypeAnnotation"]};t.NumericLiteralTypeAnnotation=E;const g={types:["ForOfStatement"],checkPath({node:e}){return e.await===true}};t.ForAwaitStatement=g},86542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.insertBefore=insertBefore;t._containerInsert=_containerInsert;t._containerInsertBefore=_containerInsertBefore;t._containerInsertAfter=_containerInsertAfter;t.insertAfter=insertAfter;t.updateSiblingKeys=updateSiblingKeys;t._verifyNodeList=_verifyNodeList;t.unshiftContainer=unshiftContainer;t.pushContainer=pushContainer;t.hoist=hoist;var n=r(13471);var i=r(50168);var s=r(22502);var a=r(1422);function insertBefore(e){this._assertUnremoved();const t=this._verifyNodeList(e);const{parentPath:r}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||r.isExportNamedDeclaration()||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertBefore(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.unshiftContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function _containerInsert(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let n=0;n{return a.isExpression(e)?a.expressionStatement(e):e}))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){const e=this.node;let{scope:n}=this;if(n.path.isPattern()){a.assertExpression(e);this.replaceWith(a.callExpression(a.arrowFunctionExpression([],e),[]));this.get("callee.body").insertAfter(t);return[this]}if(r.isMethod({computed:true,key:e})){n=n.parent}const i=n.generateDeclaredUidIdentifier();t.unshift(a.expressionStatement(a.assignmentExpression("=",a.cloneNode(i),e)));t.push(a.expressionStatement(a.cloneNode(i)))}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertAfter(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.pushContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(const[,n]of r){if(n.key>=e){n.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.remove=remove;t._removeFromScope=_removeFromScope;t._callRemovalHooks=_callRemovalHooks;t._remove=_remove;t._markRemoved=_markRemoved;t._assertUnremoved=_assertUnremoved;var n=r(37355);var i=r(13471);var s=r(22502);function remove(){var e;this._assertUnremoved();this.resync();if(!((e=this.opts)!=null&&e.noScope)){this._removeFromScope()}if(this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings();this._remove();this._markRemoved()}function _removeFromScope(){const e=this.getBindingIdentifiers();Object.keys(e).forEach(e=>this.scope.removeBinding(e))}function _callRemovalHooks(){for(const e of n.hooks){if(e(this,this.parentPath))return true}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);this.updateSiblingKeys(this.key,-1)}else{this._replaceWith(null)}}function _markRemoved(){this._traverseFlags|=s.SHOULD_SKIP|s.REMOVED;if(this.parent)i.path.get(this.parent).delete(this.node);this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},9730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;t.replaceWith=replaceWith;t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;var n=r(15005);var i=r(17127);var s=r(22502);var a=r(13471);var o=r(94684);var l=r(1422);var u=r(28497);function replaceWithMultiple(e){var t;this.resync();e=this._verifyNodeList(e);l.inheritLeadingComments(e[0],this.node);l.inheritTrailingComments(e[e.length-1],this.node);(t=a.path.get(this.parent))==null?void 0:t.delete(this.node);this.node=this.container[this.key]=null;const r=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return r}function replaceWithSourceString(e){this.resync();try{e=`(${e})`;e=(0,o.parse)(e)}catch(t){const r=t.loc;if(r){t.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}});t.code="BABEL_REPLACE_SOURCE_ERROR"}throw t}e=e.program.body[0].expression;i.default.removeProperties(e);return this.replaceWith(e)}function replaceWith(e){this.resync();if(this.removed){throw new Error("You can't replace this node, we've already removed it")}if(e instanceof s.default){e=e.node}if(!e){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===e){return[this]}if(this.isProgram()&&!l.isProgram(e)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(e)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof e==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let t="";if(this.isNodeType("Statement")&&l.isExpression(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)&&!this.parentPath.isExportDefaultDeclaration()){e=l.expressionStatement(e);t="expression"}}if(this.isNodeType("Expression")&&l.isStatement(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)){return this.replaceExpressionWithStatements([e])}}const r=this.node;if(r){l.inheritsComments(e,r);l.removeComments(r)}this._replaceWith(e);this.type=e.type;this.setScope();this.requeue();return[t?this.get(t):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){l.validate(this.parent,this.key,[e])}else{l.validate(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=a.path.get(this.parent))==null?void 0:t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){this.resync();const t=l.toSequenceExpression(e,this.scope);if(t){return this.replaceWith(t)[0].get("expressions")}const r=this.getFunctionParent();const n=r==null?void 0:r.is("async");const s=r==null?void 0:r.is("generator");const a=l.arrowFunctionExpression([],l.blockStatement(e));this.replaceWith(l.callExpression(a,[]));const o=this.get("callee");(0,u.default)(o.get("body"),e=>{this.scope.push({id:e})},"var");const p=this.get("callee").getCompletionRecords();for(const e of p){if(!e.isExpressionStatement())continue;const t=e.findParent(e=>e.isLoop());if(t){let r=t.getData("expressionReplacementReturnUid");if(!r){r=o.scope.generateDeclaredUidIdentifier("ret");o.get("body").pushContainer("body",l.returnStatement(l.cloneNode(r)));t.setData("expressionReplacementReturnUid",r)}else{r=l.identifier(r.name)}e.get("expression").replaceWith(l.assignmentExpression("=",l.cloneNode(r),e.node.expression))}else{e.replaceWith(l.returnStatement(e.node.expression))}}o.arrowFunctionToExpression();const c=o;const f=n&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",l.FUNCTION_TYPES);const d=s&&i.default.hasType(this.get("callee.body").node,"YieldExpression",l.FUNCTION_TYPES);if(f){c.set("async",true);if(!d){this.replaceWith(l.awaitExpression(this.node))}}if(d){c.set("generator",true);this.replaceWith(l.yieldExpression(this.node,true))}return c.get("body.body")}function replaceInline(e){this.resync();if(Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},48222:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Binding{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0;this.scope=void 0;this.path=void 0;this.kind=void 0;this.constantViolations=[];this.constant=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=r;this.kind=n;this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.indexOf(e)!==-1){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.indexOf(e)!==-1){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t.default=Binding},1473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(95872);var i=r(17127);var s=r(48222);var a=r(41389);var o=r(1422);var l=r(13471);function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(o.isModuleDeclaration(e)){if((o.isExportAllDeclaration(e)||o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.source){gatherNodeParts(e.source,t)}else if((o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.specifiers&&e.specifiers.length){for(const r of e.specifiers)gatherNodeParts(r,t)}else if((o.isExportDefaultDeclaration(e)||o.isExportNamedDeclaration(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(o.isModuleSpecifier(e)){gatherNodeParts(e.local,t)}else if(o.isLiteral(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const r of e.properties){gatherNodeParts(r,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":t.push(e.name);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}const u={For(e){for(const t of o.FOR_INIT_KEYS){const r=e.get(t);if(r.isVar()){const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerBinding("var",r)}}},Declaration(e){if(e.isBlockScoped())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier()){t.constantViolations.push(e)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(o.isExportAllDeclaration(t))return;const n=t.declaration;if(o.isClassDeclaration(n)||o.isFunctionDeclaration(n)){const t=n.id;if(!t)return;const i=r.getBinding(t.name);if(i)i.reference(e)}else if(o.isVariableDeclaration(n)){for(const t of n.declarations){for(const n of Object.keys(o.getBindingIdentifiers(t))){const t=r.getBinding(n);if(t)t.reference(e)}}}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const r=t.getBlockParent();r.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){if(e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e.get("id"),e)}const t=e.get("params");for(const r of t){e.scope.registerBinding("param",r)}},ClassExpression(e){if(e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e)}}};let p=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.labels=void 0;this.inited=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const r=l.scope.get(t);if((r==null?void 0:r.path)===e){return r}l.scope.set(t,this);this.uid=p++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,r=this.path;do{const e=r.key==="key";r=r.parentPath;if(e&&r.isMethod())r=r.parentPath;if(r&&r.isScope())t=r}while(r&&!t);return(e=t)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,i.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return o.cloneNode(t)}generateUidIdentifier(e){return o.identifier(this.generateUid(e))}generateUid(e="temp"){e=o.toIdentifier(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let t;let r=1;do{t=this._generateUid(e,r);r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();n.references[t]=true;n.uids[t]=true;return t}_generateUid(e,t){let r=e;if(t>1)r+=t;return`_${r}`}generateUidBasedOnNode(e,t){const r=[];gatherNodeParts(e,r);let n=r.join("$");n=n.replace(/^_/,"")||t||"ref";return this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return o.identifier(this.generateUidBasedOnNode(e,t))}isStatic(e){if(o.isThisExpression(e)||o.isSuper(e)){return true}if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const r=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:r});return o.cloneNode(r)}return r}}checkBlockScopedCollisions(e,t,r,n){if(t==="param")return;if(e.kind==="local")return;const i=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&(t==="let"||t==="const");if(i){throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}}rename(e,t,r){const i=this.getBinding(e);if(i){t=t||this.generateUidIdentifier(e).name;return new n.default(i,e,t).rename(r)}}_renameFromMap(e,t,r,n){if(e[t]){e[r]=n;e[t]=null}}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,r){if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(o.isArrayExpression(e)){return e}if(o.isIdentifier(e,{name:"arguments"})){return o.callExpression(o.memberExpression(o.memberExpression(o.memberExpression(o.identifier("Array"),o.identifier("prototype")),o.identifier("slice")),o.identifier("call")),[e])}let n;const i=[e];if(t===true){n="toConsumableArray"}else if(t){i.push(o.numericLiteral(t));n="slicedToArray"}else{n="toArray"}if(r){i.unshift(this.hub.addHelper(n));n="maybeArrayLike"}return o.callExpression(this.hub.addHelper(n),i)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement()){this.registerLabel(e)}else if(e.isFunctionDeclaration()){this.registerBinding("hoisted",e.get("id"),e)}else if(e.isVariableDeclaration()){const t=e.get("declarations");for(const r of t){this.registerBinding(e.node.kind,r)}}else if(e.isClassDeclaration()){this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.get("specifiers");for(const e of t){this.registerBinding("module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return o.unaryExpression("void",o.numericLiteral(0),true)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const t=this.getBinding(r);if(t)t.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r){this.registerBinding(e,t)}return}const n=this.getProgramParent();const i=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(i)){n.references[t]=true;for(const n of i[t]){const i=this.getOwnBinding(t);if(i){if(i.identifier===n)continue;this.checkBlockScopedCollisions(i,e,t,n)}if(i){this.registerConstantViolation(r)}else{this.bindings[t]=new s.default({identifier:n,scope:this,path:r,kind:e})}}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(o.isIdentifier(e)){const r=this.getBinding(e.name);if(!r)return false;if(t)return r.constant;return true}else if(o.isClass(e)){if(e.superClass&&!this.isPure(e.superClass,t)){return false}return this.isPure(e.body,t)}else if(o.isClassBody(e)){for(const r of e.body){if(!this.isPure(r,t))return false}return true}else if(o.isBinary(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(o.isArrayExpression(e)){for(const r of e.elements){if(!this.isPure(r,t))return false}return true}else if(o.isObjectExpression(e)){for(const r of e.properties){if(!this.isPure(r,t))return false}return true}else if(o.isMethod(e)){if(e.computed&&!this.isPure(e.key,t))return false;if(e.kind==="get"||e.kind==="set")return false;return true}else if(o.isProperty(e)){if(e.computed&&!this.isPure(e.key,t))return false;return this.isPure(e.value,t)}else if(o.isUnaryExpression(e)){return this.isPure(e.argument,t)}else if(o.isTaggedTemplateExpression(e)){return o.matchesPattern(e.tag,"String.raw")&&!this.hasBinding("String",true)&&this.isPure(e.quasi,t)}else if(o.isTemplateLiteral(e)){for(const r of e.expressions){if(!this.isPure(r,t))return false}return true}else{return o.isPureish(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(r!=null)return r}while(t=t.parent)}removeData(e){let t=this;do{const r=t.data[e];if(r!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;this.references=Object.create(null);this.bindings=Object.create(null);this.globals=Object.create(null);this.uids=Object.create(null);this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const r={references:[],constantViolations:[],assignments:[]};this.crawling=true;if(e.type!=="Program"&&u._exploded){for(const t of u.enter){t(e,r)}const t=u[e.type];if(t){for(const n of t.enter){n(e,r)}}}e.traverse(u,r);this.crawling=false;for(const e of r.assignments){const r=e.getBindingIdentifiers();for(const n of Object.keys(r)){if(e.scope.getBinding(n))continue;t.addGlobal(r[n])}e.scope.registerConstantViolation(e)}for(const e of r.references){const r=e.scope.getBinding(e.node.name);if(r){r.reference(e)}else{t.addGlobal(e.node)}}for(const e of r.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const r=e.unique;const n=e.kind||"var";const i=e._blockHoist==null?2:e._blockHoist;const s=`declaration:${n}:${i}`;let a=!r&&t.getData(s);if(!a){const e=o.variableDeclaration(n,[]);e._blockHoist=i;[a]=t.unshiftContainer("body",[e]);if(!r)t.setData(s,a)}const l=o.variableDeclarator(e.id,e.init);a.node.declarations.push(l);this.registerBinding(n,a.get("declarations").pop())}getProgramParent(){let e=this;do{if(e.path.isProgram()){return e}}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent()){return e}}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent()){return e}}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const r of Object.keys(t.bindings)){if(r in e===false){e[r]=t.bindings[r]}}t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const i=e.bindings[n];if(i.kind===r)t[n]=i}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let r;do{const i=t.getOwnBinding(e);if(i){var n;if((n=r)!=null&&n.isPattern()&&i.kind!=="param"){}else{return i}}r=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return false;if(this.hasOwnBinding(e))return true;if(this.parentHasBinding(e,t))return true;if(this.hasUid(e))return true;if(!t&&Scope.globals.includes(e))return true;if(!t&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);if(r){r.scope.removeOwnBinding(e);r.scope=t;t.bindings[e]=r}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null?void 0:t.scope.removeOwnBinding(e);let r=this;do{if(r.uids[e]){r.uids[e]=false}}while(r=r.parent)}}t.default=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},95872:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(48222);var i=r(76729);var s=r(1422);const a={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){skipAllButComputedMethodKey(e)}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.getOuterBindingIdentifiers();for(const e in r){if(e===t.oldName)r[e].name=t.newName}}};class Renamer{constructor(e,t,r){this.newName=r;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()&&!t.get("declaration").node.id){return}(0,i.default)(t)}maybeConvertFromClassFunctionDeclaration(e){return;if(!e.isFunctionDeclaration()&&!e.isClassDeclaration())return;if(this.binding.kind!=="hoisted")return;e.node.id=s.identifier(this.oldName);e.node._blockHoist=3;e.replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.identifier(this.newName),s.toExpression(e.node))]))}maybeConvertFromClassFunctionExpression(e){return;if(!e.isFunctionExpression()&&!e.isClassExpression())return;if(this.binding.kind!=="local")return;e.node.id=s.identifier(this.oldName);this.binding.scope.parent.push({id:s.identifier(this.newName)});e.replaceWith(s.assignmentExpression("=",s.identifier(this.newName),e.node))}rename(e){const{binding:t,oldName:r,newName:n}=this;const{scope:i,path:s}=t;const o=s.find(e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression());if(o){const e=o.getOuterBindingIdentifiers();if(e[r]===t.identifier){this.maybeConvertFromExportDeclaration(o)}}const l=e||i.block;if((l==null?void 0:l.type)==="SwitchStatement"){l.cases.forEach(e=>{i.traverse(e,a,this)})}else{i.traverse(l,a,this)}if(!e){i.removeOwnBinding(r);i.bindings[n]=t;this.binding.identifier.name=n}if(o){this.maybeConvertFromClassFunctionDeclaration(o);this.maybeConvertFromClassFunctionExpression(o)}}}t.default=Renamer;function skipAllButComputedMethodKey(e){if(!e.isMethod()||!e.node.computed){e.skip();return}const t=s.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}},36027:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.explode=explode;t.verify=verify;t.merge=merge;var n=r(7580);var i=r(1422);function explode(e){if(e._exploded)return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=t.split("|");if(r.length===1)continue;const n=e[t];delete e[t];for(const t of r){e[t]=n}}verify(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=n[t];if(!r)continue;const i=e[t];for(const e of Object.keys(i)){i[e]=wrapCheck(r,i[e])}delete e[t];if(r.types){for(const t of r.types){if(e[t]){mergePair(e[t],i)}else{e[t]=i}}}else{mergePair(e,i)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];let n=i.FLIPPED_ALIAS_KEYS[t];const s=i.DEPRECATED_KEYS[t];if(s){console.trace(`Visitor defined for ${t} but it has been renamed to ${s}`);n=[s]}if(!n)continue;delete e[t];for(const t of n){const n=e[t];if(n){mergePair(n,r)}else{e[t]=Object.assign({},r)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify(e){if(e._verified)return;if(typeof e==="function"){throw new Error("You passed `traverse()` a function when it expected a visitor object, "+"are you sure you didn't mean `{ enter: Function }`?")}for(const t of Object.keys(e)){if(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(i.TYPES.indexOf(t)<0){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`)}const r=e[t];if(typeof r==="object"){for(const e of Object.keys(r)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,r[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const r=[].concat(t);for(const t of r){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],r){const n={};for(let i=0;ie.toString())}return n});n[i]=s}return n}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];if(typeof r==="function"){e[t]={enter:r}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const r=function(r){if(e.checkPath(r)){return t.apply(this,arguments)}};r.toString=(()=>t.toString());return r}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"){return true}return false}function mergePair(e,t){for(const r of Object.keys(t)){e[r]=[].concat(e[r]||[],t[r])}}},48519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(82676);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},54568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(14996);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},96535:()=>{},42181:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(79315);var i=r(87412);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(17045);var i=r(66257);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},42578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(17045);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},17045:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(42181);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},83253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(17045)},95821:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(59801);var i=r(76034);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(17045);var i=r(35333);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},83129:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(61568);function clone(e){return(0,n.default)(e,false)}},2623:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(61568);function cloneDeep(e){return(0,n.default)(e)}},36372:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(61568);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},61568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(79315);var i=r(59801);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},33208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(61568);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},17973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(18469);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},18469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},99115:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(27127);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},17765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(27127);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},68298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(27127);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},86408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(68298);var i=r(17765);var s=r(99115);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},40941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(79133);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},87393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(79315);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},79133:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},6410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(55677);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},74773:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(8598);var i=r(59801);var s=r(17045);var a=r(61568);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},88797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(80041);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},55677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(59801);var i=r(17045);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},46294:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(59801);var i=r(17045);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},90968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(59801);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},80041:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(21904);var i=r(59033);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},76524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(59801);var i=r(61568);var s=r(84517);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},3172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(74773);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},83430:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(59801);var i=r(17045);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},83725:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(21904);var i=r(17045);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},67964:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(14996);var i=r(21904);var s=r(59033);var a=r(79133);var o=r(65021);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},13935:(e,t,r)=>{"use strict";var n=r(65021);var i=r(67964);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},39798:(e,t,r)=>{"use strict";var n=r(65021);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:false},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"))}})},79315:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(67964);r(39798);r(35430);r(94221);r(13935);r(93616);var i=r(65021);var s=r(91);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},35430:(e,t,r)=>{"use strict";var n=r(65021);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},94221:(e,t,r)=>{"use strict";var n=r(65021);var i=r(91);{(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")}}})},91:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(65021);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},93616:(e,t,r)=>{"use strict";var n=r(65021);var i=r(67964);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},65021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(14996);var i=r(87412);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},1422:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(83986);var s=r(97537);var a=r(95821);var o=r(48519);var l=r(54568);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(42578);var p=r(9717);var c=r(73928);var f=r(17045);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(83253);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(61568);var h=r(83129);var m=r(2623);var T=r(36372);var S=r(33208);var b=r(17973);var E=r(18469);var g=r(99115);var x=r(17765);var P=r(86408);var A=r(68298);var v=r(40941);var O=r(87393);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(79133);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(6410);var D=r(88797);var N=r(55677);var C=r(46294);var j=r(90968);var _=r(80041);var L=r(76524);var k=r(3172);var B=r(83430);var M=r(83725);var F=r(79315);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(75566);var K=r(38470);var V=r(93725);var U=r(51170);var X=r(84517);var J=r(66257);var Y=r(8598);var W=r(29581);var q=r(65239);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(26341);var H=r(45200);var G=r(14996);var $=r(73522);var Q=r(69213);var Z=r(45931);var ee=r(25425);var te=r(82676);var re=r(45551);var ne=r(58355);var ie=r(60272);var se=r(39823);var ae=r(1155);var oe=r(77748);var le=r(29234);var ue=r(21904);var pe=r(31689);var ce=r(12208);var fe=r(87412);var de=r(39871);var ye=r(59801);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(96535);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},75566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(17045);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},66257:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(59801);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},38470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(79133);var i=r(86408);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},93725:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(17045);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},51170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(79133);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},84517:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(26341);var i=r(51170);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},35333:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(59801);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},8598:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(59801);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8598);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},65239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(79315);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(79315);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},27127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},76034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(17045);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},39871:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(12208);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},59801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(45200);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},14996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(45200);var i=r(77748);var s=r(58355);var a=r(79315);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},73522:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(8598);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},69213:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(59801);var i=r(25425);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},45931:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(77748);var i=r(59801);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},25425:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(59801);var i=r(79133);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},82676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(79315);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},45551:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(79315);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(79315);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},60272:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},39823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(59801);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},1155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(59801);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},77748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(79315);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},29234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(21904);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},21904:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(59033);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},31689:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(59801);var i=r(79133);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},12208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(59801);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},83986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(39871);const i=(0,n.default)("React.Component");var s=i;t.default=s},87412:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(79315);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},28571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isTransparentExprWrapper=isTransparentExprWrapper;t.skipTransparentExprWrappers=skipTransparentExprWrappers;var n=r(14901);function isTransparentExprWrapper(e){return n.isTSAsExpression(e)||n.isTSTypeAssertion(e)||n.isTSNonNullExpression(e)||n.isTypeCastExpression(e)||n.isParenthesizedExpression(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}},45846:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(45846);var i=r(24066)},24066:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},82792:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(13206);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},55244:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(9495);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},67801:()=>{},25333:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(17279);var i=r(87090);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(47930);var i=r(84568);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},17009:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(47930);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},47930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(25333);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},13576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(47930)},72340:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(21728);var i=r(656);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(47930);var i=r(85631);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},19694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(28018);function clone(e){return(0,n.default)(e,false)}},73362:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(28018);function cloneDeep(e){return(0,n.default)(e)}},87493:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(28018);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},28018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(17279);var i=r(21728);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},93984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(28018);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},40974:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(93122);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},93122:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},79627:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(24527);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},16987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(24527);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},37449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(24527);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},56065:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(37449);var i=r(16987);var s=r(79627);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},46591:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(26311);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},34126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(17279);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},26311:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},92272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(81742);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},94727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(64515);var i=r(21728);var s=r(47930);var a=r(28018);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},13410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(86410);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},81742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(21728);var i=r(47930);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},84737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(21728);var i=r(47930);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},93337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(21728);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},86410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(21124);var i=r(31867);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},35659:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(21728);var i=r(28018);var s=r(88898);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},93321:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(94727);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},51042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(21728);var i=r(47930);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},82432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(21124);var i=r(47930);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},22045:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(9495);var i=r(21124);var s=r(31867);var a=r(26311);var o=r(5917);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},45650:(e,t,r)=>{"use strict";var n=r(5917);var i=r(22045);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},58322:(e,t,r)=>{"use strict";var n=r(5917);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:false},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"))}})},17279:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(22045);r(58322);r(91033);r(77597);r(45650);r(52573);var i=r(5917);var s=r(90151);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},91033:(e,t,r)=>{"use strict";var n=r(5917);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},77597:(e,t,r)=>{"use strict";var n=r(5917);var i=r(90151);{(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")}}})},90151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(5917);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},52573:(e,t,r)=>{"use strict";var n=r(5917);var i=r(22045);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},5917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(9495);var i=r(87090);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},14901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(6822);var s=r(2879);var a=r(72340);var o=r(82792);var l=r(55244);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(17009);var p=r(21565);var c=r(27937);var f=r(47930);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(13576);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(28018);var h=r(19694);var m=r(73362);var T=r(87493);var S=r(93984);var b=r(40974);var E=r(93122);var g=r(79627);var x=r(16987);var P=r(56065);var A=r(37449);var v=r(46591);var O=r(34126);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(26311);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(92272);var D=r(13410);var N=r(81742);var C=r(84737);var j=r(93337);var _=r(86410);var L=r(35659);var k=r(93321);var B=r(51042);var M=r(82432);var F=r(17279);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(47140);var K=r(22825);var V=r(67160);var U=r(800);var X=r(88898);var J=r(84568);var Y=r(64515);var W=r(77720);var q=r(39981);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(82393);var H=r(52960);var G=r(9495);var $=r(11221);var Q=r(2677);var Z=r(38668);var ee=r(31449);var te=r(13206);var re=r(17798);var ne=r(96350);var ie=r(46509);var se=r(14294);var ae=r(54819);var oe=r(32026);var le=r(18588);var ue=r(21124);var pe=r(11761);var ce=r(77975);var fe=r(87090);var de=r(9126);var ye=r(21728);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(67801);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},47140:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(47930);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},84568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(21728);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},22825:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(26311);var i=r(56065);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},67160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(47930);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},800:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(26311);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},88898:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(82393);var i=r(800);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},85631:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(21728);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},64515:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(21728);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64515);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},39981:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(17279);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(17279);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},24527:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},656:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(47930);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},9126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(77975);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},21728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(52960);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},9495:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(52960);var i=r(32026);var s=r(96350);var a=r(17279);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},11221:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(64515);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},2677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(21728);var i=r(31449);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},38668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(32026);var i=r(21728);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},31449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(21728);var i=r(26311);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},13206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(17279);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},17798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(17279);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(17279);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},46509:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},14294:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(21728);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},54819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(21728);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},32026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(17279);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},18588:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(21124);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},21124:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(31867);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},11761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(21728);var i=r(26311);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},77975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(21728);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},6822:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(9126);const i=(0,n.default)("React.Component");var s=i;t.default=s},87090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(17279);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},76729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=splitExportDeclaration;var n=r(32050);function splitExportDeclaration(e){if(!e.isExportDeclaration()){throw new Error("Only export declarations can be split.")}const t=e.isExportDefaultDeclaration();const r=e.get("declaration");const i=r.isClassDeclaration();if(t){const t=r.isFunctionDeclaration()||i;const s=r.isScope()?r.scope.parent:r.scope;let a=r.node.id;let o=false;if(!a){o=true;a=s.generateUidIdentifier("default");if(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)]);const u=n.exportNamedDeclaration(null,[n.exportSpecifier(n.cloneNode(a),n.identifier("default"))]);e.insertAfter(u);e.replaceWith(l);if(o){s.registerDeclaration(e)}return e}if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const s=r.getOuterBindingIdentifiers();const a=Object.keys(s).map(e=>{return n.exportSpecifier(n.identifier(e),n.identifier(e))});const o=n.exportNamedDeclaration(null,a);e.insertAfter(o);e.replaceWith(r.node);return e}},93063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(93063);var i=r(3326)},3326:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},71345:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(72826);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},70051:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(88901);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},95722:()=>{},47949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(19322);var i=r(68114);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(18494);var i=r(56903);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},25156:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(18494);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},18494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(47949);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},12889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(18494)},53658:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(22040);var i=r(73219);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(18494);var i=r(91605);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},84406:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(38902);function clone(e){return(0,n.default)(e,false)}},95030:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(38902);function cloneDeep(e){return(0,n.default)(e)}},90070:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(38902);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},38902:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(19322);var i=r(22040);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},95:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(38902);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},36251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(17111);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},17111:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},95538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(93182);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},36957:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(93182);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},78001:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(93182);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},21756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(78001);var i=r(36957);var s=r(95538);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},96613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(62390);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},1584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(19322);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},62390:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},47535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(6711);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},63730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(3759);var i=r(22040);var s=r(18494);var a=r(38902);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},24551:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(26565);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},6711:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(22040);var i=r(18494);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},79668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(22040);var i=r(18494);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},30054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(22040);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},26565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(19142);var i=r(74468);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},17126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(22040);var i=r(38902);var s=r(56372);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},87456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(63730);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},45021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(22040);var i=r(18494);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},76730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(19142);var i=r(18494);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},9938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(88901);var i=r(19142);var s=r(74468);var a=r(62390);var o=r(30554);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},67195:(e,t,r)=>{"use strict";var n=r(30554);var i=r(9938);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},68979:(e,t,r)=>{"use strict";var n=r(30554);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:false},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"))}})},19322:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(9938);r(68979);r(9908);r(25311);r(67195);r(87181);var i=r(30554);var s=r(36917);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},9908:(e,t,r)=>{"use strict";var n=r(30554);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},25311:(e,t,r)=>{"use strict";var n=r(30554);var i=r(36917);{(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")}}})},36917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(30554);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},87181:(e,t,r)=>{"use strict";var n=r(30554);var i=r(9938);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},30554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(88901);var i=r(68114);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},32050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(78635);var s=r(38029);var a=r(53658);var o=r(71345);var l=r(70051);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(25156);var p=r(54034);var c=r(95215);var f=r(18494);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(12889);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(38902);var h=r(84406);var m=r(95030);var T=r(90070);var S=r(95);var b=r(36251);var E=r(17111);var g=r(95538);var x=r(36957);var P=r(21756);var A=r(78001);var v=r(96613);var O=r(1584);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(62390);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(47535);var D=r(24551);var N=r(6711);var C=r(79668);var j=r(30054);var _=r(26565);var L=r(17126);var k=r(87456);var B=r(45021);var M=r(76730);var F=r(19322);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(46194);var K=r(25181);var V=r(86562);var U=r(53266);var X=r(56372);var J=r(56903);var Y=r(3759);var W=r(9945);var q=r(2023);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(31871);var H=r(65522);var G=r(88901);var $=r(30998);var Q=r(60830);var Z=r(69287);var ee=r(38661);var te=r(72826);var re=r(73);var ne=r(89227);var ie=r(70826);var se=r(52875);var ae=r(96067);var oe=r(40099);var le=r(63826);var ue=r(19142);var pe=r(13513);var ce=r(40898);var fe=r(68114);var de=r(7875);var ye=r(22040);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(95722);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},46194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(18494);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},56903:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(22040);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},25181:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(62390);var i=r(21756);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},86562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(18494);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},53266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(62390);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},56372:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(31871);var i=r(53266);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},91605:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(22040);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},3759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(22040);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(3759);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},2023:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(19322);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(19322);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},93182:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},73219:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(18494);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},7875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(40898);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},22040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(65522);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},88901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(65522);var i=r(40099);var s=r(89227);var a=r(19322);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},30998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(3759);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},60830:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(22040);var i=r(38661);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},69287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(40099);var i=r(22040);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},38661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(22040);var i=r(62390);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},72826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(19322);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},73:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(19322);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(19322);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},70826:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},52875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(22040);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},96067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(22040);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},40099:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(19322);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},63826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(19142);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},19142:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(74468);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},13513:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(22040);var i=r(62390);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},40898:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(22040);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},78635:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(7875);const i=(0,n.default)("React.Component");var s=i;t.default=s},68114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(19322);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},14705:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0,n=Array.from(e);r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(14705);var i=r(8755)},8755:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},25684:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findSuggestion=findSuggestion;const{min:r}=Math;function levenshtein(e,t){let n=[],i=[],s,a;const o=e.length,l=t.length;if(!o){return l}if(!l){return o}for(a=0;a<=l;a++){n[a]=a}for(s=1;s<=o;s++){for(i=[s],a=1;a<=l;a++){i[a]=e[s-1]===t[a-1]?n[a-1]:r(n[a-1],n[a],i[a-1])+1}n=i}return i[l]}function findSuggestion(e,t){const n=t.map(t=>levenshtein(t,e));return t[n.indexOf(r(...n))]}},69562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"OptionValidator",{enumerable:true,get:function(){return n.OptionValidator}});Object.defineProperty(t,"findSuggestion",{enumerable:true,get:function(){return i.findSuggestion}});var n=r(17626);var i=r(25684)},17626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionValidator=void 0;var n=r(25684);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,t){const r=Object.keys(t);for(const t of Object.keys(e)){if(!r.includes(t)){throw new Error(this.formatMessage(`'${t}' is not a valid top-level option.\n- Did you mean '${(0,n.findSuggestion)(t,r)}'?`))}}}validateBooleanOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="boolean",`'${e}' option must be a boolean.`)}return t}validateStringOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="string",`'${e}' option must be a string.`)}return t}invariant(e,t){if(!e){throw new Error(this.formatMessage(t))}}formatMessage(e){return`${this.descriptor}: ${e}`}}t.OptionValidator=OptionValidator},79818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=wrapFunction;var n=r(98733);var i=r(36900);var s=r(96058);const a=i.default.expression(`\n (function () {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })()\n`);const o=i.default.expression(`\n (function () {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })()\n`);const l=(0,i.default)(`\n function NAME(PARAMS) { return REF.apply(this, arguments); }\n function REF() {\n REF = FUNCTION;\n return REF.apply(this, arguments);\n }\n`);function classOrObjectMethod(e,t){const r=e.node;const n=r.body;const i=s.functionExpression(null,[],s.blockStatement(n.body),true);n.body=[s.returnStatement(s.callExpression(s.callExpression(t,[i]),[]))];r.async=false;r.generator=false;e.get("body.body.0.argument.callee.arguments.0").unwrapFunctionEnvironment()}function plainFunction(e,t,r){const i=e.node;const u=e.isFunctionDeclaration();const p=i.id;const c=u?l:p?o:a;if(e.isArrowFunctionExpression()){e.arrowFunctionToExpression({noNewArrows:r})}i.id=null;if(u){i.type="FunctionExpression"}const f=s.callExpression(t,[i]);const d=c({NAME:p||null,REF:e.scope.generateUidIdentifier(p?p.name:"ref"),FUNCTION:f,PARAMS:i.params.reduce((t,r)=>{t.done=t.done||s.isAssignmentPattern(r)||s.isRestElement(r);if(!t.done){t.params.push(e.scope.generateUidIdentifier("x"))}return t},{params:[],done:false}).params});if(u){e.replaceWith(d[0]);e.insertAfter(d[1])}else{const t=d.callee.body.body[1].argument;if(!p){(0,n.default)({node:t,parent:e.parent,scope:e.scope})}if(!t||t.id||i.params.length){e.replaceWith(d)}else{e.replaceWith(f)}}}function wrapFunction(e,t,r=true){if(e.isMethod()){classOrObjectMethod(e,t)}else{plainFunction(e,t,r)}}},86436:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(86436);var i=r(21774)},21774:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},62298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(32898);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},20475:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(43389);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},79075:()=>{},98566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(92306);var i=r(64794);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(94984);var i=r(70854);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},31021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(94984);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},94984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(98566);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},15520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(94984)},28976:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(51578);var i=r(30300);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(94984);var i=r(79558);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},45804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(90681);function clone(e){return(0,n.default)(e,false)}},88455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(90681);function cloneDeep(e){return(0,n.default)(e)}},86729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(90681);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},90681:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(92306);var i=r(51578);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},20241:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(90681);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},88536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(96576);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},96576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},90866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(60819);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},92628:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(60819);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},54503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(60819);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},55624:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(54503);var i=r(92628);var s=r(90866);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},3467:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(19790);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},89394:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(92306);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},19790:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},29226:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(79359);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},19079:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(36951);var i=r(51578);var s=r(94984);var a=r(90681);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},31759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(1654);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},79359:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(51578);var i=r(94984);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},74479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(51578);var i=r(94984);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},10798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(51578);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},1654:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(43646);var i=r(8245);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},66018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(51578);var i=r(90681);var s=r(45677);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},4614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(19079);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},77535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(51578);var i=r(94984);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},25494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(43646);var i=r(94984);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},69529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(43389);var i=r(43646);var s=r(8245);var a=r(19790);var o=r(57196);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},37674:(e,t,r)=>{"use strict";var n=r(57196);var i=r(69529);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},52886:(e,t,r)=>{"use strict";var n=r(57196);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:false},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"))}})},92306:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(69529);r(52886);r(91355);r(95837);r(37674);r(78757);var i=r(57196);var s=r(79587);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},91355:(e,t,r)=>{"use strict";var n=r(57196);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},95837:(e,t,r)=>{"use strict";var n=r(57196);var i=r(79587);{(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")}}})},79587:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(57196);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},78757:(e,t,r)=>{"use strict";var n=r(57196);var i=r(69529);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},57196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(43389);var i=r(64794);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},96058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(96813);var s=r(24841);var a=r(28976);var o=r(62298);var l=r(20475);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(31021);var p=r(38188);var c=r(25936);var f=r(94984);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(15520);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(90681);var h=r(45804);var m=r(88455);var T=r(86729);var S=r(20241);var b=r(88536);var E=r(96576);var g=r(90866);var x=r(92628);var P=r(55624);var A=r(54503);var v=r(3467);var O=r(89394);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(19790);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(29226);var D=r(31759);var N=r(79359);var C=r(74479);var j=r(10798);var _=r(1654);var L=r(66018);var k=r(4614);var B=r(77535);var M=r(25494);var F=r(92306);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(48632);var K=r(63476);var V=r(9843);var U=r(33844);var X=r(45677);var J=r(70854);var Y=r(36951);var W=r(28425);var q=r(35105);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(90733);var H=r(75579);var G=r(43389);var $=r(44555);var Q=r(80213);var Z=r(49367);var ee=r(43283);var te=r(32898);var re=r(23200);var ne=r(52769);var ie=r(60576);var se=r(50666);var ae=r(23474);var oe=r(37317);var le=r(3517);var ue=r(43646);var pe=r(19740);var ce=r(56763);var fe=r(64794);var de=r(2445);var ye=r(51578);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(79075);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},48632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(94984);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},70854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(51578);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},63476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(19790);var i=r(55624);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},9843:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(94984);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},33844:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(19790);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},45677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(90733);var i=r(33844);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},79558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(51578);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},36951:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(51578);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36951);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},35105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(92306);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(92306);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},60819:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},30300:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(94984);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},2445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(56763);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},51578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(75579);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},43389:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(75579);var i=r(37317);var s=r(52769);var a=r(92306);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},44555:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(36951);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},80213:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(51578);var i=r(43283);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},49367:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(37317);var i=r(51578);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},43283:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(51578);var i=r(19790);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},32898:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(92306);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},23200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(92306);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(92306);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},60576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},50666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(51578);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},23474:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(51578);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},37317:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(92306);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},3517:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(43646);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},43646:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(8245);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},19740:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(51578);var i=r(19790);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},56763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(51578);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},96813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(2445);const i=(0,n.default)("React.Component");var s=i;t.default=s},64794:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(92306);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var n=r(36900);const i={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=i;const s={minVersion:"7.5.0",ast:()=>n.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=s;const a={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>n.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},84565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36900);var i=r(210);const s=Object.assign({__proto__:null},i);var a=s;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});s.asyncIterator=o("7.0.0-beta.0")` export default function _asyncIterator(iterable) { var method; if (typeof Symbol !== "undefined") { @@ -116,11 +144,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (method == null) throw new TypeError("Object is not async iterable"); return method.call(iterable); } -`;i.AwaitValue=o("7.0.0-beta.0")` +`;s.AwaitValue=o("7.0.0-beta.0")` export default function _AwaitValue(value) { this.wrapped = value; } -`;i.AsyncGenerator=o("7.0.0-beta.0")` +`;s.AsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function AsyncGenerator(gen) { @@ -200,7 +228,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); }; AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); }; AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); }; -`;i.wrapAsyncGenerator=o("7.0.0-beta.0")` +`;s.wrapAsyncGenerator=o("7.0.0-beta.0")` import AsyncGenerator from "AsyncGenerator"; export default function _wrapAsyncGenerator(fn) { @@ -208,13 +236,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return new AsyncGenerator(fn.apply(this, arguments)); }; } -`;i.awaitAsyncGenerator=o("7.0.0-beta.0")` +`;s.awaitAsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function _awaitAsyncGenerator(value) { return new AwaitValue(value); } -`;i.asyncGeneratorDelegate=o("7.0.0-beta.0")` +`;s.asyncGeneratorDelegate=o("7.0.0-beta.0")` export default function _asyncGeneratorDelegate(inner, awaitWrap) { var iter = {}, waiting = false; @@ -256,7 +284,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return iter; } -`;i.asyncToGenerator=o("7.0.0-beta.0")` +`;s.asyncToGenerator=o("7.0.0-beta.0")` function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); @@ -289,13 +317,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); }; } -`;i.classCallCheck=o("7.0.0-beta.0")` +`;s.classCallCheck=o("7.0.0-beta.0")` export default function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -`;i.createClass=o("7.0.0-beta.0")` +`;s.createClass=o("7.0.0-beta.0")` function _defineProperties(target, props) { for (var i = 0; i < props.length; i ++) { var descriptor = props[i]; @@ -311,7 +339,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } -`;i.defineEnumerableProperties=o("7.0.0-beta.0")` +`;s.defineEnumerableProperties=o("7.0.0-beta.0")` export default function _defineEnumerableProperties(obj, descs) { for (var key in descs) { var desc = descs[key]; @@ -335,7 +363,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defaults=o("7.0.0-beta.0")` +`;s.defaults=o("7.0.0-beta.0")` export default function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { @@ -347,7 +375,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defineProperty=o("7.0.0-beta.0")` +`;s.defineProperty=o("7.0.0-beta.0")` export default function _defineProperty(obj, key, value) { // Shortcircuit the slow defineProperty path when possible. // We are trying to avoid issues where setters defined on the @@ -366,7 +394,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.extends=o("7.0.0-beta.0")` +`;s.extends=o("7.0.0-beta.0")` export default function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { @@ -382,7 +410,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _extends.apply(this, arguments); } -`;i.objectSpread=o("7.0.0-beta.0")` +`;s.objectSpread=o("7.0.0-beta.0")` import defineProperty from "defineProperty"; export default function _objectSpread(target) { @@ -400,7 +428,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return target; } -`;i.inherits=o("7.0.0-beta.0")` +`;s.inherits=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inherits(subClass, superClass) { @@ -416,7 +444,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); if (superClass) setPrototypeOf(subClass, superClass); } -`;i.inheritsLoose=o("7.0.0-beta.0")` +`;s.inheritsLoose=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inheritsLoose(subClass, superClass) { @@ -424,7 +452,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m subClass.prototype.constructor = subClass; setPrototypeOf(subClass, superClass); } -`;i.getPrototypeOf=o("7.0.0-beta.0")` +`;s.getPrototypeOf=o("7.0.0-beta.0")` export default function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf @@ -433,7 +461,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _getPrototypeOf(o); } -`;i.setPrototypeOf=o("7.0.0-beta.0")` +`;s.setPrototypeOf=o("7.0.0-beta.0")` export default function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; @@ -441,7 +469,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _setPrototypeOf(o, p); } -`;i.isNativeReflectConstruct=o("7.9.0")` +`;s.isNativeReflectConstruct=o("7.9.0")` export default function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; @@ -467,7 +495,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return false; } } -`;i.construct=o("7.0.0-beta.0")` +`;s.construct=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; @@ -490,12 +518,12 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m // present in the original call. return _construct.apply(null, arguments); } -`;i.isNativeFunction=o("7.0.0-beta.0")` +`;s.isNativeFunction=o("7.0.0-beta.0")` export default function _isNativeFunction(fn) { // Note: This function returns "true" for core-js functions. return Function.toString.call(fn).indexOf("[native code]") !== -1; } -`;i.wrapNativeSuper=o("7.0.0-beta.0")` +`;s.wrapNativeSuper=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; import setPrototypeOf from "setPrototypeOf"; import isNativeFunction from "isNativeFunction"; @@ -530,7 +558,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _wrapNativeSuper(Class) } -`;i.instanceof=o("7.0.0-beta.0")` +`;s.instanceof=o("7.0.0-beta.0")` export default function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return !!right[Symbol.hasInstance](left); @@ -538,11 +566,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return left instanceof right; } } -`;i.interopRequireDefault=o("7.0.0-beta.0")` +`;s.interopRequireDefault=o("7.0.0-beta.0")` export default function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -`;i.interopRequireWildcard=o("7.14.0")` +`;s.interopRequireWildcard=o("7.14.0")` function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; @@ -587,17 +615,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return newObj; } -`;i.newArrowCheck=o("7.0.0-beta.0")` +`;s.newArrowCheck=o("7.0.0-beta.0")` export default function _newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } -`;i.objectDestructuringEmpty=o("7.0.0-beta.0")` +`;s.objectDestructuringEmpty=o("7.0.0-beta.0")` export default function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure undefined"); } -`;i.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` +`;s.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` export default function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; @@ -613,7 +641,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.objectWithoutProperties=o("7.0.0-beta.0")` +`;s.objectWithoutProperties=o("7.0.0-beta.0")` import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose"; export default function _objectWithoutProperties(source, excluded) { @@ -634,14 +662,14 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.assertThisInitialized=o("7.0.0-beta.0")` +`;s.assertThisInitialized=o("7.0.0-beta.0")` export default function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } -`;i.possibleConstructorReturn=o("7.0.0-beta.0")` +`;s.possibleConstructorReturn=o("7.0.0-beta.0")` import assertThisInitialized from "assertThisInitialized"; export default function _possibleConstructorReturn(self, call) { @@ -650,7 +678,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return assertThisInitialized(self); } -`;i.createSuper=o("7.9.0")` +`;s.createSuper=o("7.9.0")` import getPrototypeOf from "getPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; import possibleConstructorReturn from "possibleConstructorReturn"; @@ -670,7 +698,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return possibleConstructorReturn(this, result); } } - `;i.superPropBase=o("7.0.0-beta.0")` + `;s.superPropBase=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; export default function _superPropBase(object, property) { @@ -681,7 +709,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return object; } -`;i.get=o("7.0.0-beta.0")` +`;s.get=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; export default function _get(target, property, receiver) { @@ -703,7 +731,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _get(target, property, receiver || target); } -`;i.set=o("7.0.0-beta.0")` +`;s.set=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; import defineProperty from "defineProperty"; @@ -758,47 +786,47 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.taggedTemplateLiteral=o("7.0.0-beta.0")` +`;s.taggedTemplateLiteral=o("7.0.0-beta.0")` export default function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } -`;i.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` +`;s.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` export default function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; } -`;i.readOnlyError=o("7.0.0-beta.0")` +`;s.readOnlyError=o("7.0.0-beta.0")` export default function _readOnlyError(name) { throw new TypeError("\\"" + name + "\\" is read-only"); } -`;i.writeOnlyError=o("7.12.13")` +`;s.writeOnlyError=o("7.12.13")` export default function _writeOnlyError(name) { throw new TypeError("\\"" + name + "\\" is write-only"); } -`;i.classNameTDZError=o("7.0.0-beta.0")` +`;s.classNameTDZError=o("7.0.0-beta.0")` export default function _classNameTDZError(name) { throw new Error("Class \\"" + name + "\\" cannot be referenced in computed property keys."); } -`;i.temporalUndefined=o("7.0.0-beta.0")` +`;s.temporalUndefined=o("7.0.0-beta.0")` // This function isn't mean to be called, but to be used as a reference. // We can't use a normal object because it isn't hoisted. export default function _temporalUndefined() {} -`;i.tdz=o("7.5.5")` +`;s.tdz=o("7.5.5")` export default function _tdzError(name) { throw new ReferenceError(name + " is not defined - temporal dead zone"); } -`;i.temporalRef=o("7.0.0-beta.0")` +`;s.temporalRef=o("7.0.0-beta.0")` import undef from "temporalUndefined"; import err from "tdz"; export default function _temporalRef(val, name) { return val === undef ? err(name) : val; } -`;i.slicedToArray=o("7.0.0-beta.0")` +`;s.slicedToArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimit from "iterableToArrayLimit"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -812,7 +840,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.slicedToArrayLoose=o("7.0.0-beta.0")` +`;s.slicedToArrayLoose=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimitLoose from "iterableToArrayLimitLoose"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -826,7 +854,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toArray=o("7.0.0-beta.0")` +`;s.toArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -840,7 +868,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toConsumableArray=o("7.0.0-beta.0")` +`;s.toConsumableArray=o("7.0.0-beta.0")` import arrayWithoutHoles from "arrayWithoutHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -854,17 +882,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableSpread() ); } -`;i.arrayWithoutHoles=o("7.0.0-beta.0")` +`;s.arrayWithoutHoles=o("7.0.0-beta.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return arrayLikeToArray(arr); } -`;i.arrayWithHoles=o("7.0.0-beta.0")` +`;s.arrayWithHoles=o("7.0.0-beta.0")` export default function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -`;i.maybeArrayLike=o("7.9.0")` +`;s.maybeArrayLike=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _maybeArrayLike(next, arr, i) { @@ -874,11 +902,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return next(arr, i); } -`;i.iterableToArray=o("7.0.0-beta.0")` +`;s.iterableToArray=o("7.0.0-beta.0")` export default function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } -`;i.iterableToArrayLimit=o("7.0.0-beta.0")` +`;s.iterableToArrayLimit=o("7.0.0-beta.0")` export default function _iterableToArrayLimit(arr, i) { // this is an expanded form of \`for...of\` that properly supports abrupt completions of // iterators etc. variable names have been minimised to reduce the size of this massive @@ -914,7 +942,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.iterableToArrayLimitLoose=o("7.0.0-beta.0")` +`;s.iterableToArrayLimitLoose=o("7.0.0-beta.0")` export default function _iterableToArrayLimitLoose(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; @@ -926,7 +954,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.unsupportedIterableToArray=o("7.9.0")` +`;s.unsupportedIterableToArray=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _unsupportedIterableToArray(o, minLen) { @@ -938,25 +966,25 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); } -`;i.arrayLikeToArray=o("7.9.0")` +`;s.arrayLikeToArray=o("7.9.0")` export default function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } -`;i.nonIterableSpread=o("7.0.0-beta.0")` +`;s.nonIterableSpread=o("7.0.0-beta.0")` export default function _nonIterableSpread() { throw new TypeError( "Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.nonIterableRest=o("7.0.0-beta.0")` +`;s.nonIterableRest=o("7.0.0-beta.0")` export default function _nonIterableRest() { throw new TypeError( "Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.createForOfIteratorHelper=o("7.9.0")` +`;s.createForOfIteratorHelper=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; // s: start (create the iterator) @@ -1015,7 +1043,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } }; } -`;i.createForOfIteratorHelperLoose=o("7.9.0")` +`;s.createForOfIteratorHelperLoose=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { @@ -1039,7 +1067,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -`;i.skipFirstGeneratorNext=o("7.0.0-beta.0")` +`;s.skipFirstGeneratorNext=o("7.0.0-beta.0")` export default function _skipFirstGeneratorNext(fn) { return function () { var it = fn.apply(this, arguments); @@ -1047,7 +1075,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return it; } } -`;i.toPrimitive=o("7.1.5")` +`;s.toPrimitive=o("7.1.5")` export default function _toPrimitive( input, hint /*: "default" | "string" | "number" | void */ @@ -1061,21 +1089,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return (hint === "string" ? String : Number)(input); } -`;i.toPropertyKey=o("7.1.5")` +`;s.toPropertyKey=o("7.1.5")` import toPrimitive from "toPrimitive"; export default function _toPropertyKey(arg) { var key = toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } -`;i.initializerWarningHelper=o("7.0.0-beta.0")` +`;s.initializerWarningHelper=o("7.0.0-beta.0")` export default function _initializerWarningHelper(descriptor, context){ throw new Error( 'Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.' ); } -`;i.initializerDefineProperty=o("7.0.0-beta.0")` +`;s.initializerDefineProperty=o("7.0.0-beta.0")` export default function _initializerDefineProperty(target, property, descriptor, context){ if (!descriptor) return; @@ -1086,7 +1114,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m value: descriptor.initializer ? descriptor.initializer.call(context) : void 0, }); } -`;i.applyDecoratedDescriptor=o("7.0.0-beta.0")` +`;s.applyDecoratedDescriptor=o("7.0.0-beta.0")` export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){ var desc = {}; Object.keys(descriptor).forEach(function(key){ @@ -1114,26 +1142,26 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return desc; } -`;i.classPrivateFieldLooseKey=o("7.0.0-beta.0")` +`;s.classPrivateFieldLooseKey=o("7.0.0-beta.0")` var id = 0; export default function _classPrivateFieldKey(name) { return "__private_" + (id++) + "_" + name; } -`;i.classPrivateFieldLooseBase=o("7.0.0-beta.0")` +`;s.classPrivateFieldLooseBase=o("7.0.0-beta.0")` export default function _classPrivateFieldBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } -`;i.classPrivateFieldGet=o("7.0.0-beta.0")` +`;s.classPrivateFieldGet=o("7.0.0-beta.0")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldGet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classPrivateFieldSet=o("7.0.0-beta.0")` +`;s.classPrivateFieldSet=o("7.0.0-beta.0")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldSet(receiver, privateMap, value) { @@ -1141,21 +1169,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classPrivateFieldDestructureSet=o("7.4.4")` +`;s.classPrivateFieldDestructureSet=o("7.4.4")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldDestructureSet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classExtractFieldDescriptor=o("7.13.10")` +`;s.classExtractFieldDescriptor=o("7.13.10")` export default function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); } -`;i.classStaticPrivateFieldSpecGet=o("7.0.2")` +`;s.classStaticPrivateFieldSpecGet=o("7.0.2")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -1164,7 +1192,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classStaticPrivateFieldSpecSet=o("7.0.2")` +`;s.classStaticPrivateFieldSpecSet=o("7.0.2")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -1174,24 +1202,24 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classStaticPrivateMethodGet=o("7.3.2")` +`;s.classStaticPrivateMethodGet=o("7.3.2")` import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { classCheckPrivateStaticAccess(receiver, classConstructor); return method; } -`;i.classStaticPrivateMethodSet=o("7.3.2")` +`;s.classStaticPrivateMethodSet=o("7.3.2")` export default function _classStaticPrivateMethodSet() { throw new TypeError("attempted to set read only static private field"); } -`;i.classApplyDescriptorGet=o("7.13.10")` +`;s.classApplyDescriptorGet=o("7.13.10")` export default function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; } -`;i.classApplyDescriptorSet=o("7.13.10")` +`;s.classApplyDescriptorSet=o("7.13.10")` export default function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); @@ -1205,7 +1233,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m descriptor.value = value; } } -`;i.classApplyDescriptorDestructureSet=o("7.13.10")` +`;s.classApplyDescriptorDestructureSet=o("7.13.10")` export default function _classApplyDescriptorDestructureSet(receiver, descriptor) { if (descriptor.set) { if (!("__destrObj" in descriptor)) { @@ -1227,7 +1255,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return descriptor; } } -`;i.classStaticPrivateFieldDestructureSet=o("7.13.10")` +`;s.classStaticPrivateFieldDestructureSet=o("7.13.10")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -1236,19 +1264,19 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classCheckPrivateStaticAccess=o("7.13.10")` +`;s.classCheckPrivateStaticAccess=o("7.13.10")` export default function _classCheckPrivateStaticAccess(receiver, classConstructor) { if (receiver !== classConstructor) { throw new TypeError("Private static access of wrong provenance"); } } -`;i.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` +`;s.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { if (descriptor === undefined) { throw new TypeError("attempted to " + action + " private static field before its declaration"); } } -`;i.decorate=o("7.1.5")` +`;s.decorate=o("7.1.5")` import toArray from "toArray"; import toPropertyKey from "toPropertyKey"; @@ -1920,18 +1948,103 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.classPrivateMethodGet=o("7.1.6")` +`;s.classPrivateMethodGet=o("7.1.6")` export default function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; } -`;{i.classPrivateMethodSet=o("7.1.6")` +`;{s.classPrivateMethodSet=o("7.1.6")` export default function _classPrivateMethodSet() { throw new TypeError("attempted to reassign private method"); } - `}},56976:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var n=r(58163);var s=r(42428);var i=r(84565);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const r=new Set;const s=new Map;let a;let o;const l=[];const u=[];const c=[];const p={ImportDeclaration(e){const t=e.node.source.value;if(!i.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const r=e.node.specifiers[0].local;s.set(r,t);u.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const f={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(s.has(t[e].identifier))return;r.add(e)})},ReferencedIdentifier(e){const r=e.node.name;const n=e.scope.getBinding(r,true);if(!n){t.add(r)}else if(s.has(n.identifier)){c.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const r=e.scope.getBinding(a);if(r!=null&&r.scope.path.isProgram()){l.push(makePath(e))}}};(0,n.default)(e.ast,p,e.scope);(0,n.default)(e.ast,f,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:s,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:c,importPaths:u}}function permuteHelperAST(e,t,r,i,a){if(i&&!r){throw new Error("Unexpected local bindings for module-based helpers.")}if(!r)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:u,exportPath:c,exportName:p,importBindingsReferences:f,importPaths:d}=t;const h={};l.forEach((e,t)=>{h[t.name]=typeof a==="function"&&a(e)||t});const y={};const m=new Set(i||[]);o.forEach(e=>{let t=e;while(m.has(t))t="_"+t;if(t!==e)y[e]=t});if(r.type==="Identifier"&&p!==r.name){y[p]=r.name}const g={Program(e){const t=e.get(c);const n=d.map(t=>e.get(t));const i=f.map(t=>e.get(t));const a=t.get("declaration");if(r.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(s.variableDeclaration("var",[s.variableDeclarator(r,a.node)]))}}else if(r.type==="MemberExpression"){if(a.isFunctionDeclaration()){u.forEach(t=>{const n=e.get(t);n.replaceWith(s.assignmentExpression("=",r,n.node))});t.replaceWith(a);e.pushContainer("body",s.expressionStatement(s.assignmentExpression("=",r,s.identifier(p))))}else{t.replaceWith(s.expressionStatement(s.assignmentExpression("=",r,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(y).forEach(t=>{e.scope.rename(t,y[t])});for(const e of n)e.remove();for(const e of i){const t=s.cloneNode(h[e.node.name]);e.replaceWith(t)}e.stop()}};(0,n.default)(e.ast,g,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=i.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const r=()=>{const r={ast:s.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},r)}return r};const n=getHelperMetadata(r());o[e]={build(e,t,s){const i=r();permuteHelperAST(i,n,t,s,e);return{nodes:i.ast.program.body,globals:n.globals}},minVersion(){return t.minVersion},dependencies:n.dependencies}}return o[e]}function get(e,t,r,n){return loadHelper(e).build(t,r,n)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(i.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var u=get;t.default=u},88971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(85327);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=s.line;const c=s.column;let p=Math.max(o-(i+1),0);let f=Math.min(t.length,u+a);if(o===-1){p=0}if(u===-1){f=t.length}const d=u-o;const h={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){h[r]=true}else if(e===0){const e=t[r-1].length;h[r]=[l,e-l+1]}else if(e===d){h[r]=[0,c]}else{const n=t[r-e].length;h[r]=[0,n]}}}else{if(l===c){if(l){h[o]=[l,0]}else{h[o]=true}}else{h[o]=[l,c-l]}}return{start:p,end:f,markerLines:h}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return s?e(t):t};const u=e.split(i);const{start:c,end:p,markerLines:f}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const h=String(p).length;const y=s?(0,n.default)(e,r):e;let m=y.split(i).slice(c,p).map((e,t)=>{const n=c+1+t;const s=` ${n}`.slice(-h);const i=` ${s} |`;const a=f[n];const u=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",l(o.gutter,i.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(s)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,i)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){m=`${" ".repeat(h+1)}${r.message}\n${m}`}if(s){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},81063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;const r=/^[ \t]+$/;class Buffer{constructor(e){this._map=null;this._buf=[];this._last="";this._queue=[];this._position={line:1,column:0};this._sourcePosition={identifierName:null,line:null,column:null,filename:null};this._disallowedPop=null;this._map=e}get(){this._flush();const e=this._map;const t={code:this._buf.join("").trimRight(),map:null,rawMappings:e==null?void 0:e.getRawMappings()};if(e){Object.defineProperty(t,"map",{configurable:true,enumerable:true,get(){return this.map=e.get()},set(e){Object.defineProperty(this,"map",{value:e,writable:true})}})}return t}append(e){this._flush();const{line:t,column:r,filename:n,identifierName:s,force:i}=this._sourcePosition;this._append(e,t,r,s,n,i)}queue(e){if(e==="\n"){while(this._queue.length>0&&r.test(this._queue[0][0])){this._queue.shift()}}const{line:t,column:n,filename:s,identifierName:i,force:a}=this._sourcePosition;this._queue.unshift([e,t,n,i,s,a])}_flush(){let e;while(e=this._queue.pop()){this._append(...e)}}_append(e,t,r,n,s,i){this._buf.push(e);this._last=e[e.length-1];let a=e.indexOf("\n");let o=0;if(a!==0){this._mark(t,r,n,s,i)}while(a!==-1){this._position.line++;this._position.column=0;o=a+1;if(o0&&this._queue[0][0]==="\n"){this._queue.shift()}}removeLastSemicolon(){if(this._queue.length>0&&this._queue[0][0]===";"){this._queue.shift()}}endsWith(e){if(e.length===1){let t;if(this._queue.length>0){const e=this._queue[0][0];t=e[e.length-1]}else{t=this._last}return t===e}const t=this._last+this._queue.reduce((e,t)=>t[0]+e,"");if(e.length<=t.length){return t.slice(-e.length)===e}return false}hasContent(){return this._queue.length>0||!!this._last}exactSource(e,t){this.source("start",e,true);t();this.source("end",e);this._disallowPop("start",e)}source(e,t,r){if(e&&!t)return;this._normalizePosition(e,t,this._sourcePosition,r)}withSource(e,t,r){if(!this._map)return r();const n=this._sourcePosition.line;const s=this._sourcePosition.column;const i=this._sourcePosition.filename;const a=this._sourcePosition.identifierName;this.source(e,t);r();if((!this._sourcePosition.force||this._sourcePosition.line!==n||this._sourcePosition.column!==s||this._sourcePosition.filename!==i)&&(!this._disallowedPop||this._disallowedPop.line!==n||this._disallowedPop.column!==s||this._disallowedPop.filename!==i)){this._sourcePosition.line=n;this._sourcePosition.column=s;this._sourcePosition.filename=i;this._sourcePosition.identifierName=a;this._sourcePosition.force=false;this._disallowedPop=null}}_disallowPop(e,t){if(e&&!t)return;this._disallowedPop=this._normalizePosition(e,t)}_normalizePosition(e,t,r,n){const s=t?t[e]:null;if(r===undefined){r={identifierName:null,line:null,column:null,filename:null,force:false}}const i=r.line;const a=r.column;const o=r.filename;r.identifierName=e==="start"&&(t==null?void 0:t.identifierName)||null;r.line=s==null?void 0:s.line;r.column=s==null?void 0:s.column;r.filename=t==null?void 0:t.filename;if(n||r.line!==i||r.column!==a||r.filename!==o){r.force=n}return r}getCurrentColumn(){const e=this._queue.reduce((e,t)=>t[0]+e,"");const t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t}getCurrentLine(){const e=this._queue.reduce((e,t)=>t[0]+e,"");let t=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.File=File;t.Program=Program;t.BlockStatement=BlockStatement;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;var n=r(42428);function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){this.printInnerComments(e,false);this.printSequence(e.directives,e);if(e.directives&&e.directives.length)this.newline();this.printSequence(e.body,e)}function BlockStatement(e){var t;this.token("{");this.printInnerComments(e);const r=(t=e.directives)==null?void 0:t.length;if(e.body.length||r){this.newline();this.printSequence(e.directives,e,{indent:true});if(r)this.newline();this.printSequence(e.body,e,{indent:true});this.removeTrailingNewline();this.source("end",e.loc);if(!this.endsWith("\n"))this.newline();this.rightBrace()}else{this.source("end",e.loc);this.token("}")}}function Directive(e){this.print(e.value,e);this.semicolon()}const s=/(?:^|[^\\])(?:\\\\)*'/;const i=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t);return}const{value:r}=e;if(!i.test(r)){this.token(`"${r}"`)}else if(!s.test(r)){this.token(`'${r}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}\n`)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},4545:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassBody=ClassBody;t.ClassProperty=ClassProperty;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t._classMethodHead=_classMethodHead;t.StaticBlock=StaticBlock;var n=r(42428);function ClassDeclaration(e,t){if(!this.format.decoratorsBeforeExport||!n.isExportDefaultDeclaration(t)&&!n.isExportNamedDeclaration(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.token("{");this.printInnerComments(e);if(e.body.length===0){this.token("}")}else{this.newline();this.indent();this.printSequence(e.body,e);this.dedent();if(!this.endsWith("\n"))this.newline();this.rightBrace()}}function ClassProperty(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,true);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.token("?")}if(e.definite){this.token("!")}this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,false);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.token("{");if(e.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace()}}},22396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UnaryExpression=UnaryExpression;t.DoExpression=DoExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.UpdateExpression=UpdateExpression;t.ConditionalExpression=ConditionalExpression;t.NewExpression=NewExpression;t.SequenceExpression=SequenceExpression;t.ThisExpression=ThisExpression;t.Super=Super;t.Decorator=Decorator;t.OptionalMemberExpression=OptionalMemberExpression;t.OptionalCallExpression=OptionalCallExpression;t.CallExpression=CallExpression;t.Import=Import;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.AssignmentPattern=AssignmentPattern;t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.BindExpression=BindExpression;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.PrivateName=PrivateName;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.ModuleExpression=ModuleExpression;t.AwaitExpression=t.YieldExpression=void 0;var n=r(42428);var s=r(97119);function UnaryExpression(e){if(e.operator==="void"||e.operator==="delete"||e.operator==="typeof"||e.operator==="throw"){this.word(e.operator);this.space()}else{this.token(e.operator)}this.print(e.argument,e)}function DoExpression(e){if(e.async){this.word("async");this.space()}this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.token("(");this.print(e.expression,e);this.token(")")}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.startTerminatorless(true);this.print(e.argument,e);this.endTerminatorless();this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.token("?");this.space();this.print(e.consequent,e);this.space();this.token(":");this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!n.isCallExpression(t,{callee:e})&&!n.isMemberExpression(t)&&!n.isNewExpression(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function Decorator(e){this.token("@");this.print(e.expression,e);this.newline()}function OptionalMemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(e.optional){this.token("?.")}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{if(!e.optional){this.token(".")}this.print(e.property,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.token("(");this.printList(e.arguments,e);this.token(")")}function Import(){this.word("import")}function buildYieldAwait(e){return function(t){this.word(e);if(t.delegate){this.token("*")}if(t.argument){this.space();const e=this.startTerminatorless();this.print(t.argument,t);this.endTerminatorless(e)}}}const i=buildYieldAwait("yield");t.YieldExpression=i;const a=buildYieldAwait("await");t.AwaitExpression=a;function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.token("?");this.print(e.left.typeAnnotation,e);this.space();this.token("=");this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!s.needsParens(e,t);if(r){this.token("(")}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.token(")")}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{this.token(".");this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.token(".");this.print(e.property,e)}function PrivateName(e){this.token("#");this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.token("%");this.word(e.name)}function ModuleExpression(e){this.word("module");this.space();this.token("{");if(e.body.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body.body,e,{indent:true});this.rightBrace()}}},86977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareFunction=DeclareFunction;t.InferredPredicate=InferredPredicate;t.DeclaredPredicate=DeclaredPredicate;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareVariable=DeclareVariable;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.EnumDeclaration=EnumDeclaration;t.EnumBooleanBody=EnumBooleanBody;t.EnumNumberBody=EnumNumberBody;t.EnumStringBody=EnumStringBody;t.EnumSymbolBody=EnumSymbolBody;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumBooleanMember=EnumBooleanMember;t.EnumNumberMember=EnumNumberMember;t.EnumStringMember=EnumStringMember;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t._interfaceish=_interfaceish;t._variance=_variance;t.InterfaceDeclaration=InterfaceDeclaration;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;t.NumberTypeAnnotation=NumberTypeAnnotation;t.StringTypeAnnotation=StringTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeParameter=TypeParameter;t.OpaqueType=OpaqueType;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;t.IndexedAccessType=IndexedAccessType;t.OptionalIndexedAccessType=OptionalIndexedAccessType;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return i.NumericLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return i.StringLiteral}});var n=r(42428);var s=r(19699);var i=r(72069);function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e);this.token("[");this.token("]")}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.token("%");this.word("checks")}function DeclaredPredicate(e){this.token("%");this.word("checks");this.token("(");this.print(e.value,e);this.token(")")}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.token(".");this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.apply(this,arguments)}function DeclareExportAllDeclaration(){this.word("declare");this.space();s.ExportAllDeclaration.apply(this,arguments)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}if(t.hasUnknownMembers){e.token("...");e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.token(",")}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{this.token("{");if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.token("}");if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.token("*")}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.token("(");if(e.this){this.word("this");this.token(":");this.space();this.print(e.this.typeAnnotation,e);if(e.params.length||e.rest){this.token(",");this.space()}}this.printList(e.params,e);if(e.rest){if(e.params.length){this.token(",");this.space()}this.token("...");this.print(e.rest,e)}this.token(")");if(t.type==="ObjectTypeCallProperty"||t.type==="DeclareFunction"||t.type==="ObjectTypeProperty"&&t.method){this.token(":")}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.token("?");if(e.name){this.token(":");this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e)}function _interfaceish(e){var t;this.print(e.id,e);this.print(e.typeParameters,e);if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.mixins&&e.mixins.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if(e.implements&&e.implements.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function _variance(e){if(e.variance){if(e.variance.kind==="plus"){this.token("+")}else if(e.variance.kind==="minus"){this.token("-")}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.token("&");this.space()}function InterfaceTypeAnnotation(e){this.word("interface");if(e.extends&&e.extends.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.token("?");this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.token("[");this.printList(e.types,e);this.token("]")}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.token("=");this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.token(":");this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.token("=");this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.token("{")}const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];if(t.length){this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.token(",");this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.token("}")}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.token("[");this.token("[");this.print(e.id,e);this.token("]");this.token("]");if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.token("[");if(e.id){this.print(e.id,e);this.token(":");this.space()}this.print(e.key,e);this.token("]");this.token(":");this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.token(".");this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.token("|");this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.token("(");this.print(e.expression,e);this.print(e.typeAnnotation,e);this.token(")")}function Variance(e){if(e.kind==="plus"){this.token("+")}else{this.token("-")}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function OptionalIndexedAccessType(e){this.print(e.objectType,e);if(e.optional){this.token("?.")}this.token("[");this.print(e.indexType,e);this.token("]")}},7534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(91525);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})});var s=r(22396);Object.keys(s).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})});var i=r(40757);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})});var a=r(4545);Object.keys(a).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})});var o=r(11596);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})});var l=r(19699);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(72069);Object.keys(u).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})});var c=r(86977);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var p=r(42013);Object.keys(p).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})});var f=r(72694);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(20507);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})})},72694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXIdentifier=JSXIdentifier;t.JSXNamespacedName=JSXNamespacedName;t.JSXMemberExpression=JSXMemberExpression;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;t.JSXElement=JSXElement;t.JSXOpeningElement=JSXOpeningElement;t.JSXClosingElement=JSXClosingElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXFragment=JSXFragment;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXClosingFragment=JSXClosingFragment;var n=r(42428);function JSXAttribute(e){this.print(e.name,e);if(e.value){this.token("=");this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.token(":");this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.token(".");this.print(e.property,e)}function JSXSpreadAttribute(e){this.token("{");this.token("...");this.print(e.argument,e);this.token("}")}function JSXExpressionContainer(e){this.token("{");this.print(e.expression,e);this.token("}")}function JSXSpreadChild(e){this.token("{");this.token("...");this.print(e.expression,e);this.token("}")}function JSXText(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t)}else{this.token(e.value)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.token("<");this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.token(">")}}function JSXClosingElement(e){this.token("")}function JSXEmptyExpression(e){this.printInnerComments(e)}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.token("<");this.token(">")}function JSXClosingFragment(){this.token("")}},11596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._params=_params;t._parameters=_parameters;t._param=_param;t._methodHead=_methodHead;t._predicate=_predicate;t._functionHead=_functionHead;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;var n=r(42428);function _params(e){this.print(e.typeParameters,e);this.token("(");this._parameters(e.params,e);this.token(")");this.print(e.returnType,e)}function _parameters(e,t){for(let r=0;r");this.space();this.print(e.body,e)}function hasTypesOrComments(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}},19699:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImportSpecifier=ImportSpecifier;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportSpecifier=ExportSpecifier;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportAllDeclaration=ExportAllDeclaration;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ImportDeclaration=ImportDeclaration;t.ImportAttribute=ImportAttribute;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;var n=r(42428);function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.exported,e)}function ExportAllDeclaration(e){this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.token("*");this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e);this.semicolon()}function ExportNamedDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();this.word("default");this.space();ExportDeclaration.apply(this,arguments)}function ExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const t=e.specifiers.slice(0);let r=false;for(;;){const s=t[0];if(n.isExportDefaultSpecifier(s)||n.isExportNamespaceSpecifier(s)){r=true;this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length||!t.length&&!r){this.token("{");if(t.length){this.space();this.printList(t,e);this.space()}this.token("}")}if(e.source){this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e)}this.semicolon()}}function ImportDeclaration(e){this.word("import");this.space();if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}const t=e.specifiers.slice(0);if(t!=null&&t.length){for(;;){const r=t[0];if(n.isImportDefaultSpecifier(r)||n.isImportNamespaceSpecifier(r)){this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length){this.token("{");this.space();this.printList(t,e);this.space();this.token("}")}this.space();this.word("from");this.space()}this.print(e.source,e);this.printAssertions(e);{var r;if((r=e.attributes)!=null&&r.length){this.space();this.word("with");this.space();this.printList(e.attributes,e)}}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.token(":");this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.local,e)}},40757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WithStatement=WithStatement;t.IfStatement=IfStatement;t.ForStatement=ForStatement;t.WhileStatement=WhileStatement;t.DoWhileStatement=DoWhileStatement;t.LabeledStatement=LabeledStatement;t.TryStatement=TryStatement;t.CatchClause=CatchClause;t.SwitchStatement=SwitchStatement;t.SwitchCase=SwitchCase;t.DebuggerStatement=DebuggerStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForOfStatement=t.ForInStatement=void 0;var n=r(42428);function WithStatement(e){this.word("with");this.space();this.token("(");this.print(e.object,e);this.token(")");this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.token("(");this.print(e.test,e);this.token(")");this.space();const t=e.alternate&&n.isIfStatement(getLastStatement(e.consequent));if(t){this.token("{");this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.token("}")}if(e.alternate){if(this.endsWith("}"))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){if(!n.isStatement(e.body))return e;return getLastStatement(e.body)}function ForStatement(e){this.word("for");this.space();this.token("(");this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.token(";");if(e.test){this.space();this.print(e.test,e)}this.token(";");if(e.update){this.space();this.print(e.update,e)}this.token(")");this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.printBlock(e)}const s=function(e){return function(t){this.word("for");this.space();if(e==="of"&&t.await){this.word("await");this.space()}this.token("(");this.print(t.left,t);this.space();this.word(e);this.space();this.print(t.right,t);this.token(")");this.printBlock(t)}};const i=s("in");t.ForInStatement=i;const a=s("of");t.ForOfStatement=a;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.semicolon()}function buildLabelStatement(e,t="label"){return function(r){this.word(e);const n=r[t];if(n){this.space();const e=t=="label";const s=this.startTerminatorless(e);this.print(n,r);this.endTerminatorless(s)}this.semicolon()}}const o=buildLabelStatement("continue");t.ContinueStatement=o;const l=buildLabelStatement("return","argument");t.ReturnStatement=l;const u=buildLabelStatement("break");t.BreakStatement=u;const c=buildLabelStatement("throw","argument");t.ThrowStatement=c;function LabeledStatement(e){this.print(e.label,e);this.token(":");this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.token("(");this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.token(")");this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.token("(");this.print(e.discriminant,e);this.token(")");this.space();this.token("{");this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.token("}")}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.token(":")}else{this.word("default");this.token(":")}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function variableDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<4;e++)this.space(true)}function constDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<6;e++)this.space(true)}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}this.word(e.kind);this.space();let r=false;if(!n.isFor(t)){for(const t of e.declarations){if(t.init){r=true}}}let s;if(r){s=e.kind==="const"?constDeclarationIndent:variableDeclarationIndent}this.printList(e.declarations,e,{separator:s});if(n.isFor(t)){if(n.isForStatement(t)){if(t.init===e)return}else{if(t.left===e)return}}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.token("!");this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.token("=");this.space();this.print(e.init,e)}}},91525:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;var n=r(42428);function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const s=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(s)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Identifier=Identifier;t.ArgumentPlaceholder=ArgumentPlaceholder;t.SpreadElement=t.RestElement=RestElement;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.RecordExpression=RecordExpression;t.TupleExpression=TupleExpression;t.RegExpLiteral=RegExpLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.StringLiteral=StringLiteral;t.BigIntLiteral=BigIntLiteral;t.DecimalLiteral=DecimalLiteral;t.PipelineTopicExpression=PipelineTopicExpression;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;var n=r(42428);var s=r(87504);function Identifier(e){this.exactSource(e.loc,()=>{this.word(e.name)})}function ArgumentPlaceholder(){this.token("?")}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.token("{");this.printInnerComments(e);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token("}")}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{if(n.isAssignmentPattern(e.value)&&n.isIdentifier(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&n.isIdentifier(e.key)&&n.isIdentifier(e.value)&&e.key.name===e.value.name){return}}this.token(":");this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.token("[");this.printInnerComments(e);for(let n=0;n0)this.space();this.print(s,e);if(n0)this.space();this.print(s,e);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypeParameter=TSTypeParameter;t.TSParameterProperty=TSParameterProperty;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSQualifiedName=TSQualifiedName;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSPropertySignature=TSPropertySignature;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.TSMethodSignature=TSMethodSignature;t.TSIndexSignature=TSIndexSignature;t.TSAnyKeyword=TSAnyKeyword;t.TSBigIntKeyword=TSBigIntKeyword;t.TSUnknownKeyword=TSUnknownKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSVoidKeyword=TSVoidKeyword;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSNullKeyword=TSNullKeyword;t.TSNeverKeyword=TSNeverKeyword;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSThisType=TSThisType;t.TSFunctionType=TSFunctionType;t.TSConstructorType=TSConstructorType;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.TSTypeReference=TSTypeReference;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeLiteral=TSTypeLiteral;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;t.tsPrintBraced=tsPrintBraced;t.TSArrayType=TSArrayType;t.TSTupleType=TSTupleType;t.TSOptionalType=TSOptionalType;t.TSRestType=TSRestType;t.TSNamedTupleMember=TSNamedTupleMember;t.TSUnionType=TSUnionType;t.TSIntersectionType=TSIntersectionType;t.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;t.TSConditionalType=TSConditionalType;t.TSInferType=TSInferType;t.TSParenthesizedType=TSParenthesizedType;t.TSTypeOperator=TSTypeOperator;t.TSIndexedAccessType=TSIndexedAccessType;t.TSMappedType=TSMappedType;t.TSLiteralType=TSLiteralType;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSInterfaceBody=TSInterfaceBody;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSModuleDeclaration=TSModuleDeclaration;t.TSModuleBlock=TSModuleBlock;t.TSImportType=TSImportType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSExternalModuleReference=TSExternalModuleReference;t.TSNonNullExpression=TSNonNullExpression;t.TSExportAssignment=TSExportAssignment;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;var n=r(42428);function TSTypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TSTypeParameter(e){this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e){if(e.declare){this.word("declare");this.space()}this._functionHead(e);this.token(";")}function TSDeclareMethod(e){this._classMethodHead(e);this.token(";")}function TSQualifiedName(e){this.print(e.left,e);this.token(".");this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(";")}function tsPrintPropertyOrMethodName(e){if(e.computed){this.token("[")}this.print(e.key,e);if(e.computed){this.token("]")}if(e.optional){this.token("?")}}function TSMethodSignature(e){const{kind:t}=e;if(t==="set"||t==="get"){this.word(t);this.space()}this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSIndexSignature(e){const{readonly:t,static:r}=e;if(r){this.word("static");this.space()}if(t){this.word("readonly");this.space()}this.token("[");this._parameters(e.parameters,e);this.token("]");this.print(e.typeAnnotation,e);this.token(";")}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){if(e.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.space();this.token("=>");this.space();this.print(e.typeAnnotation.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e);this.print(e.typeParameters,e)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName)}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){this.tsPrintBraced(e,t)}function tsPrintBraced(e,t){this.token("{");if(e.length){this.indent();this.newline();for(const r of e){this.print(r,t);this.newline()}this.dedent();this.rightBrace()}else{this.token("}")}}function TSArrayType(e){this.print(e.elementType,e);this.token("[]")}function TSTupleType(e){this.token("[");this.printList(e.elementTypes,e);this.token("]")}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.token("?")}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.token("?");this.token(":");this.space();this.print(e.elementType,e)}function TSUnionType(e){this.tsPrintUnionOrIntersectionType(e,"|")}function TSIntersectionType(e){this.tsPrintUnionOrIntersectionType(e,"&")}function tsPrintUnionOrIntersectionType(e,t){this.printJoin(e.types,e,{separator(){this.space();this.token(t);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.token("?");this.space();this.print(e.trueType);this.space();this.token(":");this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.token("(");this.print(e.typeAnnotation,e);this.token(")")}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:s}=e;this.token("{");this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.token("[");this.word(s.name);this.space();this.word("in");this.space();this.print(s.constraint,s);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.token("]");if(r){tokenIfPlusMinus(this,r);this.token("?")}this.token(":");this.space();this.print(e.typeAnnotation,e);this.space();this.token("}")}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:s,body:i}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(s!=null&&s.length){this.space();this.word("extends");this.space();this.printList(s,e)}this.space();this.print(i,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:s}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.token("=");this.space();this.print(s,e);this.token(";")}function TSAsExpression(e){const{expression:t,typeAnnotation:r}=e;this.print(t,e);this.space();this.word("as");this.space();this.print(r,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.token("<");this.print(t,e);this.token(">");this.space();this.print(r,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:s}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();this.tsPrintBraced(s,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(",")}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.token(";");return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.token(".");this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){this.tsPrintBraced(e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.token("(");this.print(t,e);this.token(")");if(r){this.token(".");this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.token("=");this.space();this.print(n,e);this.token(";")}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.token(")")}function TSNonNullExpression(e){this.print(e.expression,e);this.token("!")}function TSExportAssignment(e){this.word("export");this.space();this.token("=");this.space();this.print(e.expression,e);this.token(";")}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.print(e.typeAnnotation,e)}function tsPrintClassMemberModifiers(e,t){if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.override){this.word("override");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},67776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generate;t.CodeGenerator=void 0;var n=r(10950);var s=r(4347);class Generator extends s.default{constructor(e,t={},r){const s=normalizeOptions(r,t);const i=t.sourceMaps?new n.default(t,r):null;super(s,i);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:true,minimal:false},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType};{r.jsonCompatibleStrings=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0)}if(r.compact==="auto"){r.compact=e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}return r}class CodeGenerator{constructor(e,t,r){this._generator=void 0;this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function generate(e,t,r){const n=new Generator(e,t,r);return n.generate()}},97119:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsWhitespace=needsWhitespace;t.needsWhitespaceBefore=needsWhitespaceBefore;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsParens=needsParens;var n=r(58789);var s=r(34258);var i=r(42428);function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,s){const i=n(e,t,s);return i==null?r(e,t,s):i}:r}for(const t of Object.keys(e)){const r=i.FLIPPED_ALIAS_KEYS[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const a=expandAliases(s);const o=expandAliases(n.nodes);const l=expandAliases(n.list);function find(e,t,r,n){const s=e[t.type];return s?s(t,r,n):null}function isOrHasCallExpression(e){if(i.isCallExpression(e)){return true}return i.isMemberExpression(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return 0;if(i.isExpressionStatement(e)){e=e.expression}let n=find(o,e,t);if(!n){const s=find(l,e,t);if(s){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NullableTypeAnnotation=NullableTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.ObjectExpression=ObjectExpression;t.DoExpression=DoExpression;t.Binary=Binary;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.TSInferType=TSInferType;t.BinaryExpression=BinaryExpression;t.SequenceExpression=SequenceExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;t.ClassExpression=ClassExpression;t.UnaryLike=UnaryLike;t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;t.ConditionalExpression=ConditionalExpression;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.AssignmentExpression=AssignmentExpression;t.LogicalExpression=LogicalExpression;t.Identifier=Identifier;var n=r(42428);const s={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};const i=(e,t)=>(n.isClassDeclaration(t)||n.isClassExpression(t))&&t.superClass===e;const a=(e,t)=>(n.isMemberExpression(t)||n.isOptionalMemberExpression(t))&&t.object===e||(n.isCallExpression(t)||n.isOptionalCallExpression(t)||n.isNewExpression(t))&&t.callee===e||n.isTaggedTemplateExpression(t)&&t.tag===e||n.isTSNonNullExpression(t);function NullableTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)}function FunctionTypeAnnotation(e,t,r){return n.isUnionTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isArrayTypeAnnotation(t)||n.isTypeAnnotation(t)&&n.isArrowFunctionExpression(r[r.length-3])}function UpdateExpression(e,t){return a(e,t)||i(e,t)}function ObjectExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,arrowBody:true})}function DoExpression(e,t,r){return!e.async&&isFirstInContext(r,{expressionStatement:true})}function Binary(e,t){if(e.operator==="**"&&n.isBinaryExpression(t,{operator:"**"})){return t.left===e}if(i(e,t)){return true}if(a(e,t)||n.isUnaryLike(t)||n.isAwaitExpression(t)){return true}if(n.isBinary(t)){const r=t.operator;const i=s[r];const a=e.operator;const o=s[a];if(i===o&&t.right===e&&!n.isLogicalExpression(t)||i>o){return true}}}function UnionTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)||n.isNullableTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isUnionTypeAnnotation(t)}function OptionalIndexedAccessType(e,t){return n.isIndexedAccessType(t,{objectType:e})}function TSAsExpression(){return true}function TSTypeAssertion(){return true}function TSUnionType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)||n.isTSIntersectionType(t)||n.isTSUnionType(t)||n.isTSRestType(t)}function TSInferType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)}function BinaryExpression(e,t){return e.operator==="in"&&(n.isVariableDeclarator(t)||n.isFor(t))}function SequenceExpression(e,t){if(n.isForStatement(t)||n.isThrowStatement(t)||n.isReturnStatement(t)||n.isIfStatement(t)&&t.test===e||n.isWhileStatement(t)&&t.test===e||n.isForInStatement(t)&&t.right===e||n.isSwitchStatement(t)&&t.discriminant===e||n.isExpressionStatement(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return n.isBinary(t)||n.isUnaryLike(t)||a(e,t)||n.isAwaitExpression(t)&&n.isYieldExpression(e)||n.isConditionalExpression(t)&&e===t.test||i(e,t)}function ClassExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function UnaryLike(e,t){return a(e,t)||n.isBinaryExpression(t,{operator:"**",left:e})||i(e,t)}function FunctionExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function ArrowFunctionExpression(e,t){return n.isExportDeclaration(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(n.isUnaryLike(t)||n.isBinary(t)||n.isConditionalExpression(t,{test:e})||n.isAwaitExpression(t)||n.isTSTypeAssertion(t)||n.isTSAsExpression(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return n.isCallExpression(t,{callee:e})||n.isMemberExpression(t,{object:e})}function AssignmentExpression(e,t){if(n.isObjectPattern(e.left)){return true}else{return ConditionalExpression(e,t)}}function LogicalExpression(e,t){switch(e.operator){case"||":if(!n.isLogicalExpression(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return n.isLogicalExpression(t,{operator:"??"});case"??":return n.isLogicalExpression(t)&&t.operator!=="??"}}function Identifier(e,t,r){if(e.name==="let"){const s=n.isMemberExpression(t,{object:e,computed:true})||n.isOptionalMemberExpression(t,{object:e,computed:true,optional:false});return isFirstInContext(r,{expressionStatement:s,forHead:s,forInHead:s,forOfHead:true})}return e.name==="async"&&n.isForOfStatement(t)&&e===t.left}function isFirstInContext(e,{expressionStatement:t=false,arrowBody:r=false,exportDefault:s=false,forHead:i=false,forInHead:o=false,forOfHead:l=false}){let u=e.length-1;let c=e[u];u--;let p=e[u];while(u>=0){if(t&&n.isExpressionStatement(p,{expression:c})||s&&n.isExportDefaultDeclaration(p,{declaration:c})||r&&n.isArrowFunctionExpression(p,{body:c})||i&&n.isForStatement(p,{init:c})||o&&n.isForInStatement(p,{left:c})||l&&n.isForOfStatement(p,{left:c})){return true}if(a(c,p)&&!n.isNewExpression(p)||n.isSequenceExpression(p)&&p.expressions[0]===c||n.isConditional(p,{test:c})||n.isBinary(p,{left:c})||n.isAssignmentExpression(p,{left:c})){c=p;u--;p=e[u]}else{return false}}return false}},58789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.list=t.nodes=void 0;var n=r(42428);function crawl(e,t={}){if(n.isMemberExpression(e)||n.isOptionalMemberExpression(e)){crawl(e.object,t);if(e.computed)crawl(e.property,t)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){crawl(e.left,t);crawl(e.right,t)}else if(n.isCallExpression(e)||n.isOptionalCallExpression(e)){t.hasCall=true;crawl(e.callee,t)}else if(n.isFunction(e)){t.hasFunction=true}else if(n.isIdentifier(e)){t.hasHelper=t.hasHelper||isHelper(e.callee)}return t}function isHelper(e){if(n.isMemberExpression(e)){return isHelper(e.object)||isHelper(e.property)}else if(n.isIdentifier(e)){return e.name==="require"||e.name[0]==="_"}else if(n.isCallExpression(e)){return isHelper(e.callee)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){return n.isIdentifier(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return n.isLiteral(e)||n.isObjectExpression(e)||n.isArrayExpression(e)||n.isIdentifier(e)||n.isMemberExpression(e)}const s={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return{before:t.hasFunction,after:true}}},SwitchCase(e,t){return{before:!!e.consequent.length||t.cases[0]===e,after:!e.consequent.length&&t.cases[t.cases.length-1]===e}},LogicalExpression(e){if(n.isFunction(e.left)||n.isFunction(e.right)){return{after:true}}},Literal(e){if(n.isStringLiteral(e)&&e.value==="use strict"){return{after:true}}},CallExpression(e){if(n.isFunction(e.callee)||isHelper(e)){return{before:true,after:true}}},OptionalCallExpression(e){if(n.isFunction(e.callee)){return{before:true,after:true}}},VariableDeclaration(e){for(let t=0;te.init)},ArrayExpression(e){return e.elements},ObjectExpression(e){return e.properties}};t.list=i;[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach(function([e,t]){if(typeof t==="boolean"){t={after:t,before:t}}[e].concat(n.FLIPPED_ALIAS_KEYS[e]||[]).forEach(function(e){s[e]=function(){return t}})})},4347:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(81063);var s=r(97119);var i=r(42428);var a=r(7534);const o=/e/i;const l=/\.0+$/;const u=/^0[box]/;const c=/^\s*[@#]__PURE__\s*$/;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._insideAux=false;this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new WeakSet;this._endsWithInteger=false;this._endsWithWord=false;this.format=e;this._buf=new n.default(t)}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();this._append(";",!e)}rightBrace(){if(this.format.minified){this._buf.removeLastSemicolon()}this.token("}")}space(e=false){if(this.format.compact)return;if(this._buf.hasContent()&&!this.endsWith(" ")&&!this.endsWith("\n")||e){this._space()}}word(e){if(this._endsWithWord||this.endsWith("/")&&e.indexOf("/")===0){this._space()}this._maybeAddAuxComment();this._append(e);this._endsWithWord=true}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!u.test(e)&&!o.test(e)&&!l.test(e)&&e[e.length-1]!=="."}token(e){if(e==="--"&&this.endsWith("!")||e[0]==="+"&&this.endsWith("+")||e[0]==="-"&&this.endsWith("-")||e[0]==="."&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e)}newline(e){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}if(this.endsWith("\n\n"))return;if(typeof e!=="number")e=1;e=Math.min(2,e);if(this.endsWith("{\n")||this.endsWith(":\n"))e--;if(e<=0)return;for(let t=0;t{n.call(this,e,t)});this._printTrailingComments(e);if(o)this.token(")");this._printStack.pop();this.format.concise=r;this._insideAux=a}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e})}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e})}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e!=null&&e.length))return;if(r.indent)this.indent();const n={addNewlines:r.addNewlines};for(let s=0;s0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(!i.isEmptyStatement(t)){this.space()}this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(false,e))}_printLeadingComments(e){this._printComments(this._getComments(true,e),true)}printInnerComments(e,t=true){var r;if(!((r=e.innerComments)!=null&&r.length))return;if(t)this.indent();this._printComments(e.innerComments);if(t)this.dedent()}printSequence(e,t,r={}){r.statement=true;return this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}return this.printJoin(e,t,r)}_printNewline(e,t,r,n){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}let i=0;if(this._buf.hasContent()){if(!e)i++;if(n.addNewlines)i+=n.addNewlines(e,t)||0;const a=e?s.needsWhitespaceBefore:s.needsWhitespaceAfter;if(a(t,r))i++}this.newline(i)}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e,t){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;this._printedComments.add(e);const r=e.type==="CommentBlock";const n=r&&!t&&!this._noLineTerminator;if(n&&this._buf.hasContent())this.newline(1);if(!this.endsWith("[")&&!this.endsWith("{"))this.space();let s=!r&&!this._noLineTerminator?`//${e.value}\n`:`/*${e.value}*/`;if(r&&this.format.indent.adjustMultilineComment){var i;const t=(i=e.loc)==null?void 0:i.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");s=s.replace(e,"\n")}const r=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());s=s.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}if(this.endsWith("/"))this._space();this.withSource("start",e.loc,()=>{this._append(s)});if(n)this.newline(1)}_printComments(e,t){if(!(e!=null&&e.length))return;if(t&&e.length===1&&c.test(e[0].value)){this._printComment(e[0],this._buf.hasContent()&&!this.endsWith("\n"))}else{for(const t of e){this._printComment(t)}}}printAssertions(e){var t;if((t=e.assertions)!=null&&t.length){this.space();this.word("assert");this.space();this.token("{");this.space();this.printList(e.assertions,e);this.space();this.token("}")}}}Object.assign(Printer.prototype,a);{Printer.prototype.Noop=function Noop(){}}var p=Printer;t.default=p;function commaSeparator(){this.token(",");this.space()}},10950:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(96241);class SourceMap{constructor(e,t){this._cachedMap=void 0;this._code=void 0;this._opts=void 0;this._rawMappings=void 0;this._lastGenLine=void 0;this._lastSourceLine=void 0;this._lastSourceColumn=void 0;this._cachedMap=null;this._code=t;this._opts=e;this._rawMappings=[]}get(){if(!this._cachedMap){const e=this._cachedMap=new n.SourceMapGenerator({sourceRoot:this._opts.sourceRoot});const t=this._code;if(typeof t==="string"){e.setSourceContent(this._opts.sourceFileName.replace(/\\/g,"/"),t)}else if(typeof t==="object"){Object.keys(t).forEach(r=>{e.setSourceContent(r.replace(/\\/g,"/"),t[r])})}this._rawMappings.forEach(t=>e.addMapping(t),e)}return this._cachedMap.toJSON()}getRawMappings(){return this._rawMappings.slice()}mark(e,t,r,n,s,i,a){if(this._lastGenLine!==e&&r===null)return;if(!a&&this._lastGenLine===e&&this._lastSourceLine===r&&this._lastSourceColumn===n){return}this._cachedMap=null;this._lastGenLine=e;this._lastSourceLine=r;this._lastSourceColumn=n;this._rawMappings.push({name:s||undefined,generated:{line:e,column:t},source:r==null?undefined:(i||this._opts.sourceFileName).replace(/\\/g,"/"),original:r==null?undefined:{line:r,column:n}})}}t.default=SourceMap},77094:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(59089);var s=r(87762);var i=r(42428);const a=(0,s.default)(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const o=(0,s.default)(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const l={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const r=e.scope.getBindingIdentifier(t.name);if(r!==t.outerDeclar)return;t.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(i.isNullLiteral(e)){return"null"}if(i.isRegExpLiteral(e)){return`_${e.pattern}_${e.flags}`}if(i.isTemplateLiteral(e)){return e.quasis.map(e=>e.value.raw).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,t,r,s){if(e.selfReference){if(s.hasBinding(r.name)&&!s.hasGlobal(r.name)){s.rename(r.name)}else{if(!i.isFunction(t))return;let e=a;if(t.generator){e=o}const l=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:s.generateUidIdentifier(r.name)}).expression;const u=l.callee.body.body[0].params;for(let e=0,r=(0,n.default)(t);e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=splitExportDeclaration;var n=r(42428);function splitExportDeclaration(e){if(!e.isExportDeclaration()){throw new Error("Only export declarations can be split.")}const t=e.isExportDefaultDeclaration();const r=e.get("declaration");const s=r.isClassDeclaration();if(t){const t=r.isFunctionDeclaration()||s;const i=r.isScope()?r.scope.parent:r.scope;let a=r.node.id;let o=false;if(!a){o=true;a=i.generateUidIdentifier("default");if(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)]);const u=n.exportNamedDeclaration(null,[n.exportSpecifier(n.cloneNode(a),n.identifier("default"))]);e.insertAfter(u);e.replaceWith(l);if(o){i.registerDeclaration(e)}return e}if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const i=r.getOuterBindingIdentifiers();const a=Object.keys(i).map(e=>{return n.exportSpecifier(n.identifier(e),n.identifier(e))});const o=n.exportNamedDeclaration(null,a);e.insertAfter(o);e.replaceWith(r.node);return e}},42863:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(42863);var s=r(91067)},91067:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},85327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var s=r(6094);var i=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,s.isKeyword)(t.value)||(0,s.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=s}}return r}function shouldHighlight(e){return!!i.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new i.constructor({enabled:true,level:1}):i}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},25163:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const s=true;const i=true;const a=true;const o=true;class TokenType{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=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:i}),assign:new TokenType("_=",{beforeExpr:r,isAssign:i}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:i}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:s,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:s}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:s}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const c=/\r\n?|[\n\u2028\u2029]/;const p=new RegExp(c.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const f=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(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 true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{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}}function getLineInfo(e,t){let r=1;let n=0;let s;p.lastIndex=0;while((s=p.exec(e))&&s.index0){n=t[--s]}if(n===null){return}for(let e=0;e0){n.trailingComments=i}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,s,i,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){s=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){s=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(n.leadingComments).end<=e.start){e.leadingComments=n.leadingComments;delete n.leadingComments}else{for(i=n.leadingComments.length-2;i>=0;--i){if(n.leadingComments[i].end<=e.start){e.leadingComments=n.leadingComments.splice(0,i+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(a=0;a0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(i=0;ie.start){break}}const t=this.state.leadingComments.slice(0,i);if(t.length){e.leadingComments=t}s=this.state.leadingComments.slice(i);if(s.length===0){s=null}}}this.state.commentPreviousNode=e;if(s){if(s.length&&s[0].start>=e.start&&last(s).end<=e.end){e.innerComments=s}else{const t=s.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=s.slice(0,t);e.trailingComments=s.slice(t)}else{e.trailingComments=s}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const h=makeErrorTemplates({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."},d.SyntaxError);const y=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...s){return this.raiseWithData(e,{code:t,reasonCode:r},n,...s)}raiseOverwrite(e,{code:t,template:r},...n){const s=this.getLocationForPosition(e);const i=r.replace(/%(\d+)/g,(e,t)=>n[t])+` (${s.line}:${s.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:i})}else if(n.posn[t])+` (${s.line}:${s.column})`;return this._raise(Object.assign({loc:s,pos:e},t),i)}_raise(e,t){const r=new SyntaxError(t);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);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);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return 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,s,i){this.parseMethod(t,r,n,s,i,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,s,i,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,s,i,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(i==="ClassPrivateMethod"){e.computed=false}i="MethodDefinition";return this.finishNode(e,i)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,s){const i=super.parseObjectMethod(e,t,r,n,s);if(i){i.type="Property";if(i.kind==="method")i.kind="init";i.shorthand=false}return i}parseObjectProperty(e,t,r,n,s){const i=super.parseObjectProperty(e,t,r,n,s);if(i){i.kind="init";i.type="Property"}return i}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,h.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,h.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,s){const i=super.parseSubscript(e,t,r,n,s);if(s.optionalChainMember){if(i.type==="OptionalMemberExpression"||i.type==="OptionalCallExpression"){i.type=i.type.substring(8)}if(s.stop){const e=this.startNodeAtNode(i);e.expression=i;return this.finishNode(e,"ChainExpression")}}else if(i.type==="MemberExpression"||i.type==="CallExpression"){i.optional=false}return i}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const g={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(g.brace)});u.dollarBraceL.updateContext=(e=>{e.push(g.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===g.template){e.pop()}else{e.push(g.template)}});let b="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let T="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const v=new RegExp("["+b+"]");const x=new RegExp("["+b+T+"]");b=T=null;const E=[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];const S=[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 isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&v.test(String.fromCharCode(e))}return isInAstralSet(e,E)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&x.test(String.fromCharCode(e))}return isInAstralSet(e,E)||isInAstralSet(e,S)}const P={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const w=new Set(P.keyword);const A=new Set(P.strict);const O=new Set(P.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||A.has(e)}function isStrictBindOnlyReservedWord(e){return O.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return w.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const _=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return _.has(e)}const C=0,j=1,D=2,I=4,k=8,N=16,M=32,R=64,F=128,L=256,B=j|D|L;const q=1,W=2,U=4,K=8,V=16,$=64,J=128,Y=256,X=512,H=1024,z=2048;const G=q|W|K|J,Q=q|0|K|0,Z=q|0|U|0,ee=q|0|V|0,te=0|W|0|J,re=0|W|0|0,ne=q|W|K|Y,se=0|0|0|H,ie=0|0|0|$,ae=q|0|0|$,oe=ne|X,le=0|0|0|H,ue=z;const ce=4,pe=2,fe=1,de=pe|fe;const he=pe|ce,ye=fe|ce,me=pe,ge=fe,be=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&D)>0}get allowSuper(){return(this.currentThisScopeFlags()&N)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&M)>0}get inClass(){return(this.currentThisScopeFlags()&R)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&R)>0&&(e&D)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&F)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&D)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&D||!this.inModule&&e.flags&j)}declareName(e,t,r){let n=this.currentScope();if(t&K||t&V){this.checkRedeclarationInScope(n,e,t,r);if(t&V){n.functions.add(e)}else{n.lexical.add(e)}if(t&K){this.maybeExportDefined(n,e)}}else if(t&U){for(let s=this.scopeStack.length-1;s>=0;--s){n=this.scopeStack[s];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&B)break}}if(this.inModule&&n.flags&j){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&j){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,h.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&q))return false;if(r&K){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&V){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&k&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&B){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(B|R)&&!(t&I)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&z){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&z){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const Te=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const ve=makeErrorTemplates({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."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const xe={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let s=0;s(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Ee.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,ve.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const s=this.flowParseFunctionTypeParams();r.params=s.params;r.rest=s.rest;r.this=s._this;this.expect(u.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,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,ve.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(C);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,ve.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",ve.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let s=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(s){this.raise(e.start,ve.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}n="CommonJS";s=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=xe[e];throw this.raise(this.state.start,ve.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,ve.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!Te.has(e))return;this.raise(t,r?ve.AssignReservedType:ve.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const s=this.flowParseTypeAnnotatableIdentifier();r.name=s.name;r.variance=n;r.bound=s.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,ve.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:s}){const i=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let c=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let i=null;let o=null;const p=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();i=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const f=this.flowParseVariance();if(this.eat(u.bracketL)){if(i!=null){this.unexpected(i)}if(this.eat(u.bracketL)){if(f){this.unexpected(f.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(p,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(p,t,f))}}else if(this.match(u.parenL)||this.isRelational("<")){if(i!=null){this.unexpected(i)}if(f){this.unexpected(f.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(p,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(p,t,i,f,e,r,s!=null?s:!l);if(n===null){c=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,ve.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=c}const p=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=i;return p}flowParseObjectTypeProperty(e,t,r,n,s,i,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!i){this.raise(this.state.lastTokStart,ve.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,ve.InexactInsideExact)}if(n){this.raise(n.start,ve.InexactVariance)}return null}if(!i){this.raise(this.state.lastTokStart,ve.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,ve.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=s;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(s==="get"||s==="set"){this.flowCheckGetterSetterParams(e)}if(!i&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,ve.ThisParamBannedInConstructor)}}else{if(s!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?ve.GetterMayNotHaveThisParam:ve.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,h.BadGetterArity)}else{this.raise(r,h.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,h.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.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(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}this.expect(u.question);const s=this.state.clone();const i=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[c,p]=this.getArrowLikeExpressions(o);if(l||p.length>0){const e=[...i];if(p.length>0){this.state=s;this.state.noArrowAt=e;for(let t=0;t1){this.raise(s.start,ve.AmbiguousConditionalArrow)}if(l&&c.length===1){this.state=s;this.state.noArrowAt=e.concat(c[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=i;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(D|I);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(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=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,ve.DeclareClassElement)}else if(t.value){this.raise(t.value.start,ve.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,h.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&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 false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(s.typeAnnotation.start,ve.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(s.elements)}return s}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,s,i){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,s,i);if(t.params&&s){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&s&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,ve.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,ve.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,s,i,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,s,i,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,ve.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,ve.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),s);if(!i.error)return i.node;const{context:n}=this.state;if(n[n.length-1]===g.j_oTag){n.length-=2}else if(n[n.length-1]===g.j_expr){n.length-=1}}if((n=i)!=null&&n.error||this.isRelational("<")){var a,o;s=s||this.state.clone();let n;const l=this.tryParse(s=>{var i;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const s=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(s,n);return s});if(a.type!=="ArrowFunctionExpression"&&(i=a.extra)!=null&&i.parenthesized){s()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},s);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,ve.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=i)!=null&&a.node){this.state=i.failState;return i.node}if(u){this.state=l.failState;return u}if((o=i)!=null&&o.thrown)throw i.error;if(l.thrown)throw l.error;throw this.raise(n.start,ve.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(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(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,ve.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const s=this.state.clone();const i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,r)||e(),s);if(!i.error&&!i.aborted)return i.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,r,n),s);if(a.node&&!a.error)return a.node;if(i.node){this.state=i.failState;return i.node}if(a.node){this.state=a.failState;return a.node}throw i.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,s){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){s.optionalChainMember=true;if(n){s.stop=true;return e}this.next();const i=this.startNodeAt(t,r);i.callee=e;i.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);i.arguments=this.parseCallExpressionArguments(u.parenR,false);i.optional=true;return this.finishCallExpression(i,true)}else if(!n&&this.shouldParseTypes()&&this.isRelational("<")){const n=this.startNodeAt(t,r);n.callee=e;const i=this.tryParse(()=>{n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(s.optionalChainMember)n.optional=false;return this.finishCallExpression(n,s.optionalChainMember)});if(i.node){if(i.error)this.state=i.failState;return i.node}}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){let t=null;if(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);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,ve.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,ve.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,h.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,h.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,ve.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,ve.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,ve.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,ve.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?ve.EnumInvalidExplicitTypeUnknownSupplied:ve.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let s=null;switch(r){case"boolean":case"number":case"string":s=ve.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":s=ve.EnumInvalidMemberInitializerSymbolType;break;default:s=ve.EnumInvalidMemberInitializerUnknownType}return this.raise(e,s,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,ve.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,ve.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let s=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){s=true;break}const i=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const c={enumName:e,explicitType:t,memberName:l};i.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,c,"boolean");i.init=o.value;n.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,c,"number");i.init=o.value;n.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,c,"string");i.init=o.value;n.stringMembers.push(this.finishNode(i,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,c)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,c);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,c);break;default:n.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:s}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:s,hasUnknownMembers:i}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=i;switch(n){case"boolean":e.explicitType=true;e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=s.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const i=s.booleanMembers.length;const a=s.numberMembers.length;const o=s.stringMembers.length;const l=s.defaultedMembers.length;if(!i&&!a&&!o&&!l){return n()}else if(!i&&!a){e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&i>=l){for(const e of s.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!i&&!o&&a>=l){for(const e of s.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Pe={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:"♦"};class State{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=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[g.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,s=r.length;n.",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 <>...?"},d.SyntaxError);g.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(g.j_expr);e.push(g.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var _e=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Oe.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,h.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const s=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&je)>0}get hasReturn(){return(this.currentFlags()&Ie)>0}get hasIn(){return(this.currentFlags()&ke)>0}}function functionFlags(e,t){return(e?De:0)|(t?je:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const Ne=makeErrorTemplates({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."},d.SyntaxError);function keywordTypeFromName(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 undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var Me=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const s=(t,r,n,s)=>{if(r===n&&e[s]){this.raise(t,Ne.InvalidModifiersOrder,n,s)}};const i=(t,r,n,s)=>{if(e[n]&&r===s||e[s]&&r===n){this.raise(t,Ne.IncompatibleModifiers,n,s)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Ne.DuplicateAccessibilityModifier)}else{s(a,o,o,"override");s(a,o,o,"static");s(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Ne.DuplicateModifier,o)}else{s(a,o,"static","readonly");s(a,o,"static","override");s(a,o,"override","readonly");s(a,o,"abstract","override");i(a,o,"declare","override");i(a,o,"static","abstract")}e[o]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const s=t();if(s==null){return undefined}n.push(s);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const s=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return s}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Ne.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.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();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Ne.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Ne.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Ne.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,Ne.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,h.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,Ne.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,h.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Ne.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Ne.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Ne.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,Ne.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Ne.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:s}=e;if(t&&s!=="TSRestType"&&s!=="TSOptionalType"&&!(s==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Ne.OptionalTypeBeforeRequired)}t=t||s==="TSNamedTupleMember"&&e.optional||s==="TSOptionalType";if(s==="TSRestType"){e=e.typeAnnotation;s=e.type}const i=s==="TSNamedTupleMember";r=(n=r)!=null?n:i;if(r!==i){this.raise(e.start,Ne.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const s=this.eat(u.question);const i=this.eat(u.colon);if(i){const e=this.startNodeAtNode(n);e.optional=s;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Ne.InvalidTupleMemberLabel);e.label=n}e.elementType=this.tsParseType();n=this.finishNode(e,"TSNamedTupleMember")}else if(s){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();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Ne.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return 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();const s=this.eat(r);const i=[];do{i.push(t())}while(this.eat(r));if(i.length===1&&!s){return i[0]}n.types=i;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsParseTypeAnnotation(false);r.parameterName=s;r.typeAnnotation=i;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,h.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Ne.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return 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=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(C);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(L);this.prodParam.enter(Ce);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(L);this.prodParam.enter(Ce);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,Ne.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(L);this.prodParam.enter(Ce);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Ne.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let s;let i=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);s=t.accessibility;a=t.override;i=t.readonly;if(e===false&&(s||i||a)){this.raise(r,Ne.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(s||i||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(s)e.accessibility=s;if(i)e.readonly=i;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Ne.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Ne.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",se)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Ne.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,s){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return this.finishNode(n,"TSNonNullExpression")}if(this.isRelational("<")){const i=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e){return e}}const i=this.startNodeAt(t,r);i.callee=e;const a=this.tsParseTypeArguments();if(a){if(!n&&this.eat(u.parenL)){i.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(i.arguments);i.typeParameters=a;if(s.optionalChainMember){i.optional=false}return this.finishCallExpression(i,s.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,s);n.typeParameters=a;return n}}this.unexpected()});if(i)return i}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const s=this.startNodeAt(t,r);s.expression=e;const i=this.tsTryNextParseConstantContext();if(i){s.typeAnnotation=i}else{s.typeAnnotation=this.tsNextThenParseType()}this.finishNode(s,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(s,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Ne.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,n.concat(["static"]));const s=()=>{const s=!!t.static;if(s&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,Ne.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,s)}};if(t.declare){this.tsInAmbientContext(s)}else{s()}}parseClassMemberWithIsStatic(e,t,r,n){const s=this.tsTryParseIndexSignature(t);if(s){e.body.push(s);if(t.abstract){this.raise(t.start,Ne.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Ne.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Ne.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Ne.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Ne.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,Ne.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Ne.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Ne.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Ne.ExpectedAmbientAfterExportDeclare)}let s;if(this.match(u.name)){s=this.tsTryParseExportDeclaration()}if(!s){s=super.parseExportDeclaration(e)}if(s&&(s.type==="TSInterfaceDeclaration"||s.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(s&&n){this.resetStartLocation(s,t,r);s.declare=true}return s}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?se:G);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,Ne.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Ne.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Ne.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,s,i){const a=this.tsTryParseTypeParameters();if(a&&s){this.raise(a.start,Ne.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Ne.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){const s=this.tsTryParseTypeParameters();if(s)t.typeParameters=s;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,s,i,a,o;let l;let c;let p;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();c=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!c.error)return c.node;const{context:t}=this.state;if(t[t.length-1]===g.j_oTag){t.length-=2}else if(t[t.length-1]===g.j_expr){t.length-=1}}if(!((t=c)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let f;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;f=this.tsParseTypeParameters();const s=super.parseMaybeAssign(...e);if(s.type!=="ArrowFunctionExpression"||(r=s.extra)!=null&&r.parenthesized){t()}if(((n=f)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(s,f)}s.typeParameters=f;return s},l);if(!d.error&&!d.aborted)return d.node;if(!c){assert(!this.hasPlugin("jsx"));p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node}if((r=c)!=null&&r.node){this.state=c.failState;return c.node}if(d.node){this.state=d.failState;return d.node}if((n=p)!=null&&n.node){this.state=p.failState;return p.node}if((s=c)!=null&&s.thrown)throw c.error;if(d.thrown)throw d.error;if((i=p)!=null&&i.thrown)throw p.error;throw((a=c)==null?void 0:a.error)||d.error||((o=p)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Ne.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,h.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const s=n&&this.isThisParam(n);return s?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;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(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Ne.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Ne.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Re=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Fe=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return 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 s=this.state.strict;const i=this.parsePlaceholder("Identifier");if(i){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=i}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(i,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Re.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,s);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Le=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Be=["minimal","smart","fsharp"];const qe=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){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'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Be.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Be.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!qe.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+qe.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const We={estree:m,jsx:_e,flow:Se,typescript:Me,v8intrinsic:Le,placeholders:Fe};const Ue=Object.keys(We);const Ke={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Ke)){t[r]=e&&e[r]!=null?e[r]:Ke[r]}return t}var Ve=function isDigit(e){return e>=48&&e<=57};const $e=new Set([103,109,115,105,121,117,100]);const Je={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const Ye={};Ye.bin=[48,49];Ye.oct=[...Ye.bin,50,51,52,53,54,55];Ye.dec=[...Ye.oct,56,57];Ye.hex=[...Ye.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(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){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){f.lastIndex=e;const t=f.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===g.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}pushComment(e,t,r,n,s,i){const a={type:e?"CommentBlock":"CommentLine",value:t,start:r,end:n,loc:new SourceLocation(s,i)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,h.UnterminatedComment);this.state.pos=r+2;p.lastIndex=t;let n;while((n=p.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,h.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?h.RecordExpressionHashIncorrectStartSyntaxType:h.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,h.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,h.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,h.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.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,h.UnterminatedRegExp)}const s=this.input.charCodeAt(n);if(isNewLine(s)){throw this.raise(e,h.UnterminatedRegExp)}if(t){t=false}else{if(s===91){r=true}else if(s===93&&r){r=false}else if(s===47&&!r){break}t=s===92}}const s=this.input.slice(e,n);++n;let i="";while(n-1||i.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,h.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,h.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Ve(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+s+2,h.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===s||t!=null&&this.state.pos-s!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,h.InvalidDigit,e)}const s=this.input.charCodeAt(this.state.pos);if(s===110){++this.state.pos;r=true}else if(s===109){throw this.raise(t,h.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,h.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let s=false;let i=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,h.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,h.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,h.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,h.InvalidOrMissingExponent)}r=true;i=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,h.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(i||o){this.raise(t,h.InvalidDecimal)}++this.state.pos;s=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,h.NumberIdentifier)}const c=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,c);return}if(s){this.finishToken(u.decimal,c);return}const p=a?parseInt(c,8):parseFloat(c);this.finishToken(u.num,p)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,h.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,h.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,h.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,h.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++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}else{this.recordStrictModeErrors(this.state.pos-1,h.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let s=parseInt(n,8);if(s>255){n=n.slice(0,-1);s=parseInt(n,8)}this.state.pos+=n.length-1;const i=this.input.charCodeAt(this.state.pos);if(n!=="0"||i===56||i===57){if(e){return null}else{this.recordStrictModeErrors(t,h.StrictNumericEscape)}}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const s=this.readInt(16,e,t,false);if(s===null){if(r){this.raise(n,h.InvalidEscapeSequence)}else{this.state.pos=n-1}}return s}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let s=e[n];while(s.canBeArrowParameterDeclaration()){s.clearDeclarationError(r);s=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope(Ge)}function newArrowHeadScope(){return new ArrowHeadParsingScope(He)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(ze)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return c.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return c.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,h.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?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)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,h.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const s=this.scope;const i=this.getScopeHandler();this.scope=new i(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=s;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=Ce;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=De}this.scope.enter(j);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{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 SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let s=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){s=Qe(e);if(t){if(s.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,h.InvalidParenthesizedAssignment)}else if(s.type!=="MemberExpression"){this.raise(e.start,h.InvalidParenthesizedAssignment)}}else{this.raise(e.start,h.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,s=n-1;rthis.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const s=this.startNodeAt(t,r);s.expressions=[n];while(this.eat(u.comma)){s.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(s.expressions);return this.finishNode(s,"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;const s=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,s)}return e}}let i;if(e){i=false}else{e=new ExpressionErrors;i=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,s)}if(this.state.type.isAssign){const t=this.startNodeAt(n,s);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(i){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.state.potentialArrowAt;const i=this.parseExprOps(e);if(this.shouldExitDescending(i,s)){return i}return this.parseConditional(i,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseMaybeUnary(e);if(this.shouldExitDescending(s,n)){return s}return this.parseExprOp(s,t,r,-1)}parseExprOp(e,t,r,n){let s=this.state.type.binop;if(s!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(s>n){const i=this.state.type;if(i===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=i===u.logicalOR||i===u.logicalAND;const l=i===u.nullishCoalescing;if(l){s=u.logicalAND.binop}this.next();if(i===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,h.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(i,s);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const c=this.state.type;if(l&&(c===u.logicalOR||c===u.logicalAND)||o&&c===u.nullishCoalescing){throw this.raise(this.state.start,h.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,h.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.isContextual("await");if(s&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const i=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,h.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,h.DeletePrivateField)}}if(!i){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,i,e);if(s){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?h.AwaitNotInAsyncContext:h.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const s=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return i;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,s);e.operator=this.state.value;e.prefix=false;e.argument=i;this.checkLVal(i,"postfix operation");this.next();i=this.finishNode(e,"UpdateExpression")}return i}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprAtom(e);if(this.shouldExitDescending(s,n)){return s}return this.parseSubscripts(s,t,r)}parseSubscripts(e,t,r,n){const s={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,s);s.maybeAsyncArrow=false}while(!s.stop);return e}parseSubscript(e,t,r,n,s){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,s)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,s)}let i=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){s.stop=true;return e}s.optionalChainMember=i=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,s,i)}else if(i||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,s,i)}else{s.stop=true;return e}}parseMember(e,t,r,n,s){const i=this.startNodeAt(t,r);const a=this.eat(u.bracketL);i.object=e;i.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(i.object.type==="Super"){this.raise(t,h.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}i.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){i.optional=s;return this.finishNode(i,"OptionalMemberExpression")}else{return this.finishNode(i,"MemberExpression")}}parseBind(e,t,r,n,s){const i=this.startNodeAt(t,r);i.object=e;i.callee=this.parseNoCallExpr();s.stop=true;return this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,s){const i=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=s}if(s){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!s){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=i;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const s=this.startNodeAt(t,r);s.tag=e;s.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,h.OptionalChainingNoTemplate)}return this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,h.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,h.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,s){const i=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,h.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}i.push(this.parseExprListItem(false,s,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return i}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,h.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,h.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,h.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,h.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,h.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,h.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(De);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,h.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,h.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,h.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,h.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,h.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,y.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const s=this.state.maybeInArrowParameters;const i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const c=new ExpressionErrors;const p={start:0};let f=true;let d;let h;while(!this.match(u.parenR)){if(f){f=false}else{this.expect(u.comma,p.start||null);if(this.match(u.parenR)){h=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(c,this.parseParenItem,p))}}const y=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=s;this.state.inFSharpPipelineDirectBody=i;let g=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(g=this.parseArrow(g))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(g,l,false);return g}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(h)this.unexpected(h);if(d)this.unexpected(d);this.checkExpressionErrors(c,true);if(p.start)this.unexpected(p.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",y,m)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const b=this.startNodeAt(t,r);b.expression=n;this.finishNode(b,"ParenthesizedExpression");return b}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,h.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,h.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,h.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,h.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,h.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(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const s=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(s,r,i,n)}if(r&&!this.isObjectProperty(s)&&s.type!=="SpreadElement"){this.raise(s.start,h.InvalidRecordProperty)}if(s.shorthand){this.addExtra(s,"shorthand",true)}o.properties.push(s)}this.next();this.state.inFSharpPipelineDirectBody=s;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,h.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let s=false;let i=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){s=this.eat(u.star)}const c=this.state.containsEsc;const p=this.parsePropertyName(n,false);if(!e&&!s&&!c&&this.maybeAsyncOrAccessorProp(n)){const e=p.name;if(e==="async"&&!this.hasPrecedingLineBreak()){i=true;s=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){s=true;this.raise(this.state.pos,h.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,s,i,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const s=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(s,h.BadGetterArity)}else{this.raise(s,h.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(s,h.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,s){if(s){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,s){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(s);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&s){if(s.shorthandAssign===-1){s.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,s,i,a,o){const l=this.parseObjectMethod(e,n,s,i,a)||this.parseObjectProperty(e,t,r,i,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,s,i,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(D|N|(a?R:0)|(s?M:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,i,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=this.startNode();this.next();i.elements=this.parseExprList(e,!r,n,i);this.state.inFSharpPipelineDirectBody=s;return this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(D|I);let s=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){s|=ke}this.prodParam.enter(s);this.initFunction(e,r);const i=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=i;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const s=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|Ie);e.body=this.parseBlock(true,false,s=>{const i=!this.isSimpleParamList(e.params);if(s&&i){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,h.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!i,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=s}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,h.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,h.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,h.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,h.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,h.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,h.UnexpectedKeyword,e);return}const s=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(s(e,this.inModule)){this.raise(t,h.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,h.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,h.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,h.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,h.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,h.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,h.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const s=this.isSimpleReference(e);if(s){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,h.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,s?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=ke&~t;if(r){this.prodParam.enter(t|ke);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=ke&t;if(r){this.prodParam.enter(t&~ke);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const s=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return s}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,st=4;const it=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(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,h.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const s=this.input.slice(t.start,t.end);const i=r.value=s.slice(1,-1);this.addExtra(r,"raw",s);this.addExtra(r,"rawValue",i);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let s;if(this.isLet(e)){r=u._var;s="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,h.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,h.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:s=s||this.state.value;if(e&&s!=="var"){this.raise(this.state.start,h.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,s);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,h.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,h.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const i=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,i,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,y.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,h.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,h.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;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(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(C);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const s=n?"let":this.state.value;this.next();this.parseVar(r,true,s);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const s=this.match(u.name)&&!this.state.containsEsc;const i=new ExpressionErrors;const a=this.parseExpression(true,i);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,h.ForOfLet)}else if(t===-1&&s&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,h.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(i,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,h.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(C);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,h.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,h.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?k:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(C)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,h.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,h.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,h.LabelRedeclaration,t)}}const s=this.state.type.isLoop?"loop":this.match(u._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){r.statementStart=this.state.start;r.kind=s}else{break}}this.state.labels.push({name:t,kind:s,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(C)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,s){const i=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:undefined,r,n,s)}parseBlockOrModuleBlockBody(e,t,r,n,s){const i=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(s){s.call(this,a)}if(!i){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,h.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,h.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const s=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!s){this.raise(this.state.lastTokEnd,h.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,h.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const s=t&nt;const i=!!n&&!(t&st);this.initFunction(e,r);if(this.match(u.star)&&s){this.raise(this.state.start,h.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(i)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(D);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!s){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const s=this.startNode();s.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,h.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(s,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,h.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,h.TrailingDecorator)}this.classScope.exit();return this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const s=t;const i=t;const a=t;const o=t;const l=s;const c=s;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,i,true,false);return}if(this.isNonstaticConstructor(s)){this.raise(s.key.start,h.ConstructorIsGenerator)}this.pushClassMethod(e,s,true,false,false,false);return}const p=this.state.containsEsc;const f=this.match(u.privateName);const d=this.parseClassElementName(t);const y=d.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(c);if(this.isClassMethod()){l.kind="method";if(f){this.pushClassPrivateMethod(e,i,false,false);return}const n=this.isNonstaticConstructor(s);let a=false;if(n){s.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,h.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,h.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,s,false,false,n,a)}else if(this.isClassProperty()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(y&&d.name==="async"&&!p&&!this.isLineTerminator()){const t=this.eat(u.star);if(c.optional){this.unexpected(m)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(c);if(r){this.pushClassPrivateMethod(e,i,t,true)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,h.ConstructorIsAsync)}this.pushClassMethod(e,s,t,true,false,false)}}else if(y&&(d.name==="get"||d.name==="set")&&!p&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(s);if(t){this.pushClassPrivateMethod(e,i,false,false)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,h.ConstructorIsAccessor)}this.pushClassMethod(e,s,false,false,false,false)}this.checkGetterSetterParams(s)}else if(this.isLineTerminator()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,h.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,h.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(R|F|N);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(Ce);const s=t.body=[];this.parseBlockOrModuleBlockBody(s,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,h.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,h.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),be,r.key.start)}pushClassMethod(e,t,r,n,s,i){e.body.push(this.parseMethod(t,r,n,s,i,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const s=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(s);const i=s.kind==="get"?s.static?he:me:s.kind==="set"?s.static?ye:ge:be;this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),i,s.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(R|N);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(Ce);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=G){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,h.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const s=n&&this.maybeParseExportNamespaceSpecifier(e);const i=r&&(!s||this.eat(u.comma));const a=t||n;if(n&&!s){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||s&&i&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!c.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|st,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,h.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,h.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,h.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var s;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((s=t.extra)!=null&&s.parenthesized)){this.raise(t.start,h.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,h.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const i=this.state.decoratorStack[this.state.decoratorStack.length-1];if(i.length){throw this.raise(e.start,h.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?h.DuplicateDefaultExport:h.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.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(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(it);if(t){this.raise(e.start,h.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,h.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,h.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,h.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,h.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,h.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,h.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,h.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Ue.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=We[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},94071:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTemplateBuilder;var n=r(79236);var s=r(49526);var i=r(43647);const a=(0,n.validate)({placeholderPattern:false});function createTemplateBuilder(e,t){const r=new WeakMap;const o=new WeakMap;const l=t||(0,n.validate)(null);return Object.assign((t,...a)=>{if(typeof t==="string"){if(a.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,s.default)(e,t,(0,n.merge)(l,(0,n.validate)(a[0]))))}else if(Array.isArray(t)){let n=r.get(t);if(!n){n=(0,i.default)(e,t,l);r.set(t,n)}return extendedTrace(n(a))}else if(typeof t==="object"&&t){if(a.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,n.merge)(l,(0,n.validate)(t)))}throw new Error(`Unexpected template param ${typeof t}`)},{ast:(t,...r)=>{if(typeof t==="string"){if(r.length>1)throw new Error("Unexpected extra params.");return(0,s.default)(e,t,(0,n.merge)((0,n.merge)(l,(0,n.validate)(r[0])),a))()}else if(Array.isArray(t)){let s=o.get(t);if(!s){s=(0,i.default)(e,t,(0,n.merge)(l,a));o.set(t,s)}return s(r)()}throw new Error(`Unexpected template param ${typeof t}`)}})}function extendedTrace(e){let t="";try{throw new Error}catch(e){if(e.stack){t=e.stack.split("\n").slice(3).join("\n")}}return r=>{try{return e(r)}catch(e){e.stack+=`\n =============\n${t}`;throw e}}}},2760:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.program=t.expression=t.statement=t.statements=t.smart=void 0;var n=r(42428);function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>{return e(t.program.body.slice(1))}}}const s=makeStatementFormatter(e=>{if(e.length>1){return e}else{return e[0]}});t.smart=s;const i=makeStatementFormatter(e=>e);t.statements=i;const a=makeStatementFormatter(e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]});t.statement=a;const o={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(o.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[t]=e.body;n.assertExpressionStatement(t);return t.expression}};t.expression=o;const l={code:e=>e,validate:()=>{},unwrap:e=>e.program};t.program=l},87762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.program=t.expression=t.statements=t.statement=t.smart=void 0;var n=r(2760);var s=r(94071);const i=(0,s.default)(n.smart);t.smart=i;const a=(0,s.default)(n.statement);t.statement=a;const o=(0,s.default)(n.statements);t.statements=o;const l=(0,s.default)(n.expression);t.expression=l;const u=(0,s.default)(n.program);t.program=u;var c=Object.assign(i.bind(undefined),{smart:i,statement:a,statements:o,expression:l,program:u,ast:i.ast});t.default=c},43647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=literalTemplate;var n=r(79236);var s=r(51219);var i=r(68141);function literalTemplate(e,t,r){const{metadata:s,names:a}=buildLiteralData(e,t,r);return t=>{const r={};t.forEach((e,t)=>{r[a[t]]=e});return t=>{const a=(0,n.normalizeReplacements)(t);if(a){Object.keys(a).forEach(e=>{if(Object.prototype.hasOwnProperty.call(r,e)){throw new Error("Unexpected replacement overlap.")}})}return e.unwrap((0,i.default)(s,a?Object.assign(a,r):r))}}}function buildLiteralData(e,t,r){let n;let i;let a;let o="";do{o+="$";const l=buildTemplateCode(t,o);n=l.names;i=new Set(n);a=(0,s.default)(e,e.code(l.code),{parser:r.parser,placeholderWhitelist:new Set(l.names.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders})}while(a.placeholders.some(e=>e.isDuplicate&&i.has(e.name)));return{metadata:a,names:n}}function buildTemplateCode(e,t){const r=[];let n=e[0];for(let s=1;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.merge=merge;t.validate=validate;t.normalizeReplacements=normalizeReplacements;function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}function merge(e,t){const{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:s=e.preserveComments,syntacticPlaceholders:i=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const t=e||{},{placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}=t,a=_objectWithoutPropertiesLoose(t,["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]);if(r!=null&&!(r instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(n!=null&&!(n instanceof RegExp)&&n!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(s!=null&&typeof s!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(i!=null&&typeof i!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(i===true&&(r!=null||n!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:a,placeholderWhitelist:r||undefined,placeholderPattern:n==null?undefined:n,preserveComments:s==null?undefined:s,syntacticPlaceholders:i==null?undefined:i}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce((e,t,r)=>{e["$"+r]=t;return e},{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},51219:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parseAndBuildMetadata;var n=r(42428);var s=r(25163);var i=r(88971);const a=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,t,r){const{placeholderWhitelist:s,placeholderPattern:i,preserveComments:a,syntacticPlaceholders:o}=r;const l=parseWithCodeFrame(t,r.parser,o);n.removePropertiesDeep(l,{preserveComments:a});e.validate(l);const u={placeholders:[],placeholderNames:new Set};const c={placeholders:[],placeholderNames:new Set};const p={value:undefined};n.traverse(l,placeholderVisitorHandler,{syntactic:u,legacy:c,isLegacyRef:p,placeholderWhitelist:s,placeholderPattern:i,syntacticPlaceholders:o});return Object.assign({ast:l},p.value?c:u)}function placeholderVisitorHandler(e,t,r){var s;let i;if(n.isPlaceholder(e)){if(r.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}else{i=e.name.name;r.isLegacyRef.value=false}}else if(r.isLegacyRef.value===false||r.syntacticPlaceholders){return}else if(n.isIdentifier(e)||n.isJSXIdentifier(e)){i=e.name;r.isLegacyRef.value=true}else if(n.isStringLiteral(e)){i=e.value;r.isLegacyRef.value=true}else{return}if(!r.isLegacyRef.value&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(r.isLegacyRef.value&&(r.placeholderPattern===false||!(r.placeholderPattern||a).test(i))&&!((s=r.placeholderWhitelist)!=null&&s.has(i))){return}t=t.slice();const{node:o,key:l}=t[t.length-1];let u;if(n.isStringLiteral(e)||n.isPlaceholder(e,{expectedNode:"StringLiteral"})){u="string"}else if(n.isNewExpression(o)&&l==="arguments"||n.isCallExpression(o)&&l==="arguments"||n.isFunction(o)&&l==="params"){u="param"}else if(n.isExpressionStatement(o)&&!n.isPlaceholder(e)){u="statement";t=t.slice(0,-1)}else if(n.isStatement(e)&&n.isPlaceholder(e)){u="statement"}else{u="other"}const{placeholders:c,placeholderNames:p}=r.isLegacyRef.value?r.legacy:r.syntactic;c.push({name:i,type:u,resolve:e=>resolveAncestors(e,t),isDuplicate:p.has(i)});p.add(i)}function resolveAncestors(e,t){let r=e;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=populatePlaceholders;var n=r(42428);function populatePlaceholders(e,t){const r=n.cloneNode(e.ast);if(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{applyReplacement(e,r,t&&t[e.name]||null)}catch(t){t.message=`@babel/template placeholder "${e.name}": ${t.message}`;throw t}});return r}function applyReplacement(e,t,r){if(e.isDuplicate){if(Array.isArray(r)){r=r.map(e=>n.cloneNode(e))}else if(typeof r==="object"){r=n.cloneNode(r)}}const{parent:s,key:i,index:a}=e.resolve(t);if(e.type==="string"){if(typeof r==="string"){r=n.stringLiteral(r)}if(!r||!n.isStringLiteral(r)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(a===undefined){if(!r){r=n.emptyStatement()}else if(Array.isArray(r)){r=n.blockStatement(r)}else if(typeof r==="string"){r=n.expressionStatement(n.identifier(r))}else if(!n.isStatement(r)){r=n.expressionStatement(r)}}else{if(r&&!Array.isArray(r)){if(typeof r==="string"){r=n.identifier(r)}if(!n.isStatement(r)){r=n.expressionStatement(r)}}}}else if(e.type==="param"){if(typeof r==="string"){r=n.identifier(r)}if(a===undefined)throw new Error("Assertion failure.")}else{if(typeof r==="string"){r=n.identifier(r)}if(Array.isArray(r)){throw new Error("Cannot replace single expression with an array.")}}if(a===undefined){n.validate(s,i,r);s[i]=r}else{const t=s[i].slice();if(e.type==="statement"||e.type==="param"){if(r==null){t.splice(a,1)}else if(Array.isArray(r)){t.splice(a,1,...r)}else{t[a]=r}}else{t[a]=r}n.validate(s,i,t);s[i]=t}}},49526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=stringTemplate;var n=r(79236);var s=r(51219);var i=r(68141);function stringTemplate(e,t,r){t=e.code(t);let a;return o=>{const l=(0,n.normalizeReplacements)(o);if(!a)a=(0,s.default)(e,t,r);return e.unwrap((0,i.default)(a,l))}}},87621:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.scope=t.path=void 0;let r=new WeakMap;t.path=r;let n=new WeakMap;t.scope=n;function clear(){clearPath();clearScope()}function clearPath(){t.path=r=new WeakMap}function clearScope(){t.scope=n=new WeakMap}},68870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(28039);var s=r(42428);const i=process.env.NODE_ENV==="test";class TraversalContext{constructor(e,t,r,n){this.queue=null;this.priorityQueue=null;this.parentPath=n;this.scope=e;this.state=r;this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return true;if(t[e.type])return true;const r=s.VISITOR_KEYS[e.type];if(!(r!=null&&r.length))return false;for(const t of r){if(e[t])return true}return false}create(e,t,r,s){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:s})}maybeQueue(e,t){if(this.trap){throw new Error("Infinite cycle detected")}if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,r){if(e.length===0)return false;const n=[];for(let s=0;s=1e4){this.trap=true}const{node:s}=n;if(t.has(s))continue;if(s)t.add(s);if(n.visit()){r=true;break}if(this.priorityQueue.length){r=this.visitQueue(this.priorityQueue);this.priorityQueue=[];this.queue=e;if(r)break}}for(const t of e){t.popContext()}this.queue=null;return r}visit(e,t){const r=e[t];if(!r)return false;if(Array.isArray(r)){return this.visitMultiple(r,e,t)}else{return this.visitSingle(e,t)}}}t.default=TraversalContext},50210:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}t.default=Hub},58163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"Hub",{enumerable:true,get:function(){return u.default}});t.visitors=t.default=void 0;var n=r(68870);var s=r(11627);t.visitors=s;var i=r(42428);var a=r(87621);var o=r(28039);var l=r(76608);var u=r(50210);function traverse(e,t={},r,n,a){if(!e)return;if(!t.noScope&&!r){if(e.type!=="Program"&&e.type!=="File"){throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+"passing scope and parentPath.")}}if(!i.VISITOR_KEYS[e.type]){return}s.explode(t);traverse.node(e,t,r,n,a)}var c=traverse;t.default=c;traverse.visitors=s;traverse.verify=s.verify;traverse.explode=s.explode;traverse.cheap=function(e,t){return i.traverseFast(e,t)};traverse.node=function(e,t,r,s,a,o){const l=i.VISITOR_KEYS[e.type];if(!l)return;const u=new n.default(r,t,s,a);for(const t of l){if(o&&o[t])continue;if(u.visit(e,t))return}};traverse.clearNode=function(e,t){i.removeProperties(e,t);a.path.delete(e)};traverse.removeProperties=function(e,t){i.traverseFast(e,traverse.clearNode,t);return e};function hasDenylistedType(e,t){if(e.node.type===t.type){t.has=true;e.stop()}}traverse.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return false;if(e.type===t)return true;const n={has:false,type:t};traverse(e,{noScope:true,denylist:r,enter:hasDenylistedType},null,n);return n.has};traverse.cache=a},78596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findParent=findParent;t.find=find;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getAncestry=getAncestry;t.isAncestor=isAncestor;t.isDescendant=isDescendant;t.inType=inType;var n=r(42428);var s=r(28039);function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent(e=>e.isFunction())}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{e=e.parentPath}}while(e);if(e&&(e.isProgram()||e.isFile())){throw new Error("File/Program node, we can't possibly find a statement parent to this")}return e}function getEarliestCommonAncestorFrom(e){return this.getDeepestCommonAncestorFrom(e,function(e,t,r){let s;const i=n.VISITOR_KEYS[e.type];for(const e of r){const r=e[t+1];if(!s){s=r;continue}if(r.listKey&&s.listKey===r.listKey){if(r.keya){s=r}}return s})}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let r=Infinity;let n,s;const i=e.map(e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.lengtht===e)}function inType(...e){let t=this;while(t){for(const r of e){if(t.node.type===r)return true}t=t.parentPath}return false}},52333:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shareCommentsWithSiblings=shareCommentsWithSiblings;t.addComment=addComment;t.addComments=addComments;var n=r(42428);function shareCommentsWithSiblings(){if(typeof this.key==="string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1);const s=this.getSibling(this.key+1);const i=Boolean(n.node);const a=Boolean(s.node);if(i&&!a){n.addComments("trailing",t)}else if(a&&!i){s.addComments("leading",r)}}function addComment(e,t,r){n.addComment(this.node,e,t,r)}function addComments(e,t){n.addComments(this.node,e,t)}},87236:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.call=call;t._call=_call;t.isBlacklisted=t.isDenylisted=isDenylisted;t.visit=visit;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.setScope=setScope;t.setContext=setContext;t.resync=resync;t._resyncParent=_resyncParent;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncRemoved=_resyncRemoved;t.popContext=popContext;t.pushContext=pushContext;t.setup=setup;t.setKey=setKey;t.requeue=requeue;t._getQueueContexts=_getQueueContexts;var n=r(58163);var s=r(28039);function call(e){const t=this.opts;this.debug(e);if(this.node){if(this._call(t[e]))return true}if(this.node){return this._call(t[this.node.type]&&t[this.node.type][e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const r=t.call(this.state,this,this.state);if(r&&typeof r==="object"&&typeof r.then==="function"){throw new Error(`You appear to be using a plugin with an async traversal visitor, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}if(r){throw new Error(`Unexpected return value from visitor method ${t}`)}if(this.node!==e)return true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function visit(){if(!this.node){return false}if(this.isDenylisted()){return false}if(this.opts.shouldSkip&&this.opts.shouldSkip(this)){return false}if(this.shouldSkip||this.call("enter")||this.shouldSkip){this.debug("Skip...");return this.shouldStop}this.debug("Recursing into...");n.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys);this.call("exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=s.SHOULD_SKIP|s.SHOULD_STOP}function setScope(){if(this.opts&&this.opts.noScope)return;let e=this.parentPath;if(this.key==="key"&&e.isMethod())e=e.parentPath;let t;while(e&&!t){if(e.opts&&e.opts.noScope)return;t=e.scope;e=e.parentPath}this.scope=this.getScope(t);if(this.scope)this.scope.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}this.setScope();return this}function resync(){if(this.removed)return;this._resyncParent();this._resyncList();this._resyncKey()}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let e=0;e0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,r,n){this.listKey=r;this.container=t;this.parentPath=e||this.parentPath;this.setKey(n)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const r of t){r.maybeQueue(e)}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},16912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toComputedKey=toComputedKey;t.ensureBlock=ensureBlock;t.arrowFunctionToShadowed=arrowFunctionToShadowed;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;t.arrowFunctionToExpression=arrowFunctionToExpression;var n=r(42428);var s=r(77094);function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(n.isIdentifier(e))e=n.stringLiteral(e.name)}return e}function ensureBlock(){const e=this.get("body");const t=e.node;if(Array.isArray(e)){throw new Error("Can't convert array path to a block statement")}if(!t){throw new Error("Can't convert node without a body")}if(e.isBlockStatement()){return t}const r=[];let s="body";let i;let a;if(e.isStatement()){a="body";i=0;r.push(e.node)}else{s+=".body.0";if(this.isFunction()){i="argument";r.push(n.returnStatement(e.node))}else{i="expression";r.push(n.expressionStatement(e.node))}}this.node.body=n.blockStatement(r);const o=this.get(s);e.setup(o,a?o.node[a]:o.node,a,i);return this.node}function arrowFunctionToShadowed(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function arrowFunctionToExpression({allowInsertArrow:e=true,specCompliant:t=false,noNewArrows:r=!t}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}const i=hoistFunctionEnvironment(this,r,e);this.ensureBlock();this.node.type="FunctionExpression";if(!r){const e=i?null:this.parentPath.scope.generateUidIdentifier("arrowCheckId");if(e){this.parentPath.scope.push({id:e,init:n.objectExpression([])})}this.get("body").unshiftContainer("body",n.expressionStatement(n.callExpression(this.hub.addHelper("newArrowCheck"),[n.thisExpression(),e?n.identifier(e.name):n.identifier(i)])));this.replaceWith(n.callExpression(n.memberExpression((0,s.default)(this,true)||this.node,n.identifier("bind")),[e?n.identifier(e.name):n.thisExpression()]))}}function hoistFunctionEnvironment(e,t=true,r=true){const s=e.findParent(e=>{return e.isFunction()&&!e.isArrowFunctionExpression()||e.isProgram()||e.isClassProperty({static:false})});const i=(s==null?void 0:s.node.kind)==="constructor";if(s.isClassProperty()){throw e.buildCodeFrameError("Unable to transform arrow inside class property")}const{thisPaths:a,argumentsPaths:o,newTargetPaths:l,superProps:u,superCalls:c}=getScopeInformation(e);if(i&&c.length>0){if(!r){throw c[0].buildCodeFrameError("Unable to handle nested super() usage in arrow")}const e=[];s.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(t){if(!t.get("callee").isSuper())return;e.push(t)}});const t=getSuperBinding(s);e.forEach(e=>{const r=n.identifier(t);r.loc=e.node.callee.loc;e.get("callee").replaceWith(r)})}if(o.length>0){const e=getBinding(s,"arguments",()=>n.identifier("arguments"));o.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(l.length>0){const e=getBinding(s,"newtarget",()=>n.metaProperty(n.identifier("new"),n.identifier("target")));l.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(u.length>0){if(!r){throw u[0].buildCodeFrameError("Unable to handle nested super.prop usage")}const e=u.reduce((e,t)=>e.concat(standardizeSuperProperty(t)),[]);e.forEach(e=>{const t=e.node.computed?"":e.get("property").node.name;const r=e.parentPath.isAssignmentExpression({left:e.node});const i=e.parentPath.isCallExpression({callee:e.node});const o=getSuperPropBinding(s,r,t);const l=[];if(e.node.computed){l.push(e.get("property").node)}if(r){const t=e.parentPath.node.right;l.push(t)}const u=n.callExpression(n.identifier(o),l);if(i){e.parentPath.unshiftContainer("arguments",n.thisExpression());e.replaceWith(n.memberExpression(u,n.identifier("call")));a.push(e.parentPath.get("arguments.0"))}else if(r){e.parentPath.replaceWith(u)}else{e.replaceWith(u)}})}let p;if(a.length>0||!t){p=getThisBinding(s,i);if(t||i&&hasSuperClass(s)){a.forEach(e=>{const t=e.isJSX()?n.jsxIdentifier(p):n.identifier(p);t.loc=e.node.loc;e.replaceWith(t)});if(!t)p=null}}return p}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){const t=e.parentPath;const r=t.node.operator.slice(0,-1);const s=t.node.right;t.node.operator="=";if(e.node.computed){const i=e.scope.generateDeclaredUidIdentifier("tmp");t.get("left").replaceWith(n.memberExpression(e.node.object,n.assignmentExpression("=",i,e.node.property),true));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(i.name),true),s))}else{t.get("left").replaceWith(n.memberExpression(e.node.object,e.node.property));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(e.node.property.name)),s))}return[t.get("left"),t.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const r=e.scope.generateDeclaredUidIdentifier("tmp");const s=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null;const i=[n.assignmentExpression("=",r,n.memberExpression(e.node.object,s?n.assignmentExpression("=",s,e.node.property):e.node.property,e.node.computed)),n.assignmentExpression("=",n.memberExpression(e.node.object,s?n.identifier(s.name):e.node.property,e.node.computed),n.binaryExpression("+",n.identifier(r.name),n.numericLiteral(1)))];if(!e.parentPath.node.prefix){i.push(n.identifier(r.name))}t.replaceWith(n.sequenceExpression(i));const a=t.get("expressions.0.right");const o=t.get("expressions.1.left");return[a,o]}return[e]}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}function getThisBinding(e,t){return getBinding(e,"this",r=>{if(!t||!hasSuperClass(e))return n.thisExpression();const s=new WeakSet;e.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(e){if(!e.get("callee").isSuper())return;if(s.has(e.node))return;s.add(e.node);e.replaceWithMultiple([e.node,n.assignmentExpression("=",n.identifier(r),n.identifier("this"))])}})})}function getSuperBinding(e){return getBinding(e,"supercall",()=>{const t=e.scope.generateUidIdentifier("args");return n.arrowFunctionExpression([n.restElement(t)],n.callExpression(n.super(),[n.spreadElement(n.identifier(t.name))]))})}function getSuperPropBinding(e,t,r){const s=t?"set":"get";return getBinding(e,`superprop_${s}:${r||""}`,()=>{const s=[];let i;if(r){i=n.memberExpression(n.super(),n.identifier(r))}else{const t=e.scope.generateUidIdentifier("prop");s.unshift(t);i=n.memberExpression(n.super(),n.identifier(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("value");s.push(t);i=n.assignmentExpression("=",i,n.identifier(t.name))}return n.arrowFunctionExpression(s,i)})}function getBinding(e,t,r){const n="binding:"+t;let s=e.getData(n);if(!s){const i=e.scope.generateUidIdentifier(t);s=i.name;e.setData(n,s);e.scope.push({id:i,init:r(s)})}return s}function getScopeInformation(e){const t=[];const r=[];const n=[];const s=[];const i=[];e.traverse({ClassProperty(e){e.skip()},Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ThisExpression(e){t.push(e)},JSXIdentifier(e){if(e.node.name!=="this")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e){if(e.get("callee").isSuper())i.push(e)},MemberExpression(e){if(e.get("object").isSuper())s.push(e)},ReferencedIdentifier(e){if(e.node.name!=="arguments")return;r.push(e)},MetaProperty(e){if(!e.get("meta").isIdentifier({name:"new"}))return;if(!e.get("property").isIdentifier({name:"target"}))return;n.push(e)}});return{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i}}},39821:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluateTruthy=evaluateTruthy;t.evaluate=evaluate;const r=["String","Number","Math"];const n=["random"];function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}function evaluateCached(e,t){const{node:r}=e;const{seen:n}=t;if(n.has(r)){const s=n.get(r);if(s.resolved){return s.value}else{deopt(e,t);return}}else{const s={resolved:false};n.set(r,s);const i=_evaluate(e,t);if(t.confident){s.resolved=true;s.value=i}return i}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const r=e.get("expressions");return evaluateCached(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral()){return e.node.value}if(e.isNullLiteral()){return null}if(e.isTemplateLiteral()){return evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const r=e.get("tag.object");const{node:{name:n}}=r;const s=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&s.isIdentifier()&&s.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const r=evaluateCached(e.get("test"),t);if(!t.confident)return;if(r){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const t=e.get("property");const r=e.get("object");if(r.isLiteral()&&t.isIdentifier()){const e=r.node.value;const n=typeof e;if(n==="number"||n==="string"){return e[t.node.name]}}}if(e.isReferencedIdentifier()){const r=e.scope.getBinding(e.node.name);if(r&&r.constantViolations.length>0){return deopt(r.path,t)}if(r&&e.node.start":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){const s=e.get("callee");let i;let a;if(s.isIdentifier()&&!e.scope.getBinding(s.node.name)&&r.indexOf(s.node.name)>=0){a=global[s.node.name]}if(s.isMemberExpression()){const e=s.get("object");const t=s.get("property");if(e.isIdentifier()&&t.isIdentifier()&&r.indexOf(e.node.name)>=0&&n.indexOf(t.node.name)<0){i=global[e.node.name];a=i[t.node.name]}if(e.isLiteral()&&t.isIdentifier()){const r=typeof e.node.value;if(r==="string"||r==="number"){i=e.node.value;a=i[t.node.name]}}}if(a){const r=e.get("arguments").map(e=>evaluateCached(e,t));if(!t.confident)return;return a.apply(i,r)}}deopt(e,t)}function evaluateQuasis(e,t,r,n=false){let s="";let i=0;const a=e.get("expressions");for(const e of t){if(!r.confident)break;s+=n?e.value.raw:e.value.cooked;const t=a[i++];if(t)s+=String(evaluateCached(t,r))}if(!r.confident)return;return s}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},29319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOpposite=getOpposite;t.getCompletionRecords=getCompletionRecords;t.getSibling=getSibling;t.getPrevSibling=getPrevSibling;t.getNextSibling=getNextSibling;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.get=get;t._getKey=_getKey;t._getPattern=_getPattern;t.getBindingIdentifiers=getBindingIdentifiers;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;var n=r(28039);var s=r(42428);const i=0;const a=1;function NormalCompletion(e){return{type:i,path:e}}function BreakCompletion(e){return{type:a,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,r){if(e)return t.concat(_getCompletionRecords(e,r));return t}function completionRecordForSwitch(e,t,r){let n=[];for(let s=0;s{e.type=a})}function replaceBreakStatementInBreakCompletion(e,t){e.forEach(e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(s.unaryExpression("void",s.numericLiteral(0)))}else{e.path.remove()}}})}function getStatementListCompletion(e,t){let r=[];if(t.canHaveBreak){let n=[];for(let s=0;s0&&u.every(e=>e.type===a)){if(n.length>0&&u.every(e=>e.path.isBreakStatement({label:null}))){normalCompletionToBreak(n);r=r.concat(n);if(n.some(e=>e.path.isDeclaration())){r=r.concat(u);replaceBreakStatementInBreakCompletion(u,true)}replaceBreakStatementInBreakCompletion(u,false)}else{r=r.concat(u);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(u,true)}}break}if(s===e.length-1){r=r.concat(u)}else{r=r.concat(u.filter(e=>e.type===a));n=u.filter(e=>e.type===i)}}}else if(e.length){r=r.concat(_getCompletionRecords(e[e.length-1],t))}return r}function _getCompletionRecords(e,t){let r=[];if(e.isIfStatement()){r=addCompletionRecords(e.get("consequent"),r,t);r=addCompletionRecords(e.get("alternate"),r,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isProgram()||e.isBlockStatement()){r=r.concat(getStatementListCompletion(e.get("body"),t))}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){r=addCompletionRecords(e.get("block"),r,t);r=addCompletionRecords(e.get("handler"),r,t)}else if(e.isCatchClause()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isSwitchStatement()){r=completionRecordForSwitch(e.get("cases"),r,t)}else if(e.isSwitchCase()){r=r.concat(getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true}))}else if(e.isBreakStatement()){r.push(BreakCompletion(e))}else{r.push(NormalCompletion(e))}return r}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map(e=>e.path)}function getSibling(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const r=[];while(t.node){r.push(t);t=this.getSibling(++e)}return r}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const r=[];while(t.node){r.push(t);t=this.getSibling(--e)}return r}function get(e,t=true){if(t===true)t=this.context;const r=e.split(".");if(r.length===1){return this._getKey(e,t)}else{return this._getPattern(r,t)}}function _getKey(e,t){const r=this.node;const s=r[e];if(Array.isArray(s)){return s.map((i,a)=>{return n.default.get({listKey:e,parentPath:this,parent:r,container:s,key:a}).setContext(t)})}else{return n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}}function _getPattern(e,t){let r=this;for(const n of e){if(n==="."){r=r.parentPath}else{if(Array.isArray(r)){r=r[n]}else{r=r.get(n,t)}}}return r}function getBindingIdentifiers(e){return s.getBindingIdentifiers(this.node,e)}function getOuterBindingIdentifiers(e){return s.getOuterBindingIdentifiers(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const r=this;let n=[].concat(r);const i=Object.create(null);while(n.length){const r=n.shift();if(!r)continue;if(!r.node)continue;const a=s.getBindingIdentifiers.keys[r.node.type];if(r.isIdentifier()){if(e){const e=i[r.node.name]=i[r.node.name]||[];e.push(r)}else{i[r.node.name]=r}continue}if(r.isExportDeclaration()){const e=r.get("declaration");if(e.isDeclaration()){n.push(e)}continue}if(t){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression()){continue}}if(a){for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.SHOULD_SKIP=t.SHOULD_STOP=t.REMOVED=void 0;var n=r(90874);var s=r(31185);var i=r(58163);var a=r(76608);var o=r(42428);var l=r(87621);var u=r(67776);var c=r(78596);var p=r(12490);var f=r(29784);var d=r(39821);var h=r(16912);var y=r(73304);var m=r(87236);var g=r(98240);var b=r(45885);var T=r(29319);var v=r(52333);const x=s("babel");const E=1<<0;t.REMOVED=E;const S=1<<1;t.SHOULD_STOP=S;const P=1<<2;t.SHOULD_SKIP=P;class NodePath{constructor(e,t){this.contexts=[];this.state=null;this.opts=null;this._traverseFlags=0;this.skipKeys=null;this.parentPath=null;this.container=null;this.listKey=null;this.key=null;this.node=null;this.type=null;this.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:s,key:i}){if(!e&&t){e=t.hub}if(!r){throw new Error("To get a node path the parent needs to exist")}const a=n[i];let o=l.path.get(r);if(!o){o=new Map;l.path.set(r,o)}let u=o.get(a);if(!u){u=new NodePath(e,r);if(a)o.set(a,u)}u.setup(t,n,s,i);return u}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let r=this.data[e];if(r===undefined&&t!==undefined)r=this.data[e]=t;return r}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,i.default)(this.node,e,this.scope,t,this)}set(e,t){o.validate(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;if(t.inList)r=`${t.listKey}[${r}]`;e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){if(!x.enabled)return;x(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&P)}set shouldSkip(e){if(e){this._traverseFlags|=P}else{this._traverseFlags&=~P}}get shouldStop(){return!!(this._traverseFlags&S)}set shouldStop(e){if(e){this._traverseFlags|=S}else{this._traverseFlags&=~S}}get removed(){return!!(this._traverseFlags&E)}set removed(e){if(e){this._traverseFlags|=E}else{this._traverseFlags&=~E}}}Object.assign(NodePath.prototype,c,p,f,d,h,y,m,g,b,T,v);for(const e of o.TYPES){const t=`is${e}`;const r=o[t];NodePath.prototype[t]=function(e){return r(this.node,e)};NodePath.prototype[`assert${e}`]=function(t){if(!r(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}for(const e of Object.keys(n)){if(e[0]==="_")continue;if(o.TYPES.indexOf(e)<0)o.TYPES.push(e);const t=n[e];NodePath.prototype[`is${e}`]=function(e){return t.checkPath(this,e)}}var w=NodePath;t.default=w},12490:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getTypeAnnotation=getTypeAnnotation;t._getTypeAnnotation=_getTypeAnnotation;t.isBaseType=isBaseType;t.couldBeBaseType=couldBeBaseType;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.isGenericType=isGenericType;var n=r(78130);var s=r(42428);function getTypeAnnotation(){if(this.typeAnnotation)return this.typeAnnotation;let e=this._getTypeAnnotation()||s.anyTypeAnnotation();if(s.isTypeAnnotation(e))e=e.typeAnnotation;return this.typeAnnotation=e}const i=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return s.stringTypeAnnotation()}if(e.key==="left"&&t.isForOfStatement()){return s.anyTypeAnnotation()}return s.voidTypeAnnotation()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(i.has(e)){return}i.add(e);try{var t;let r=n[e.type];if(r){return r.call(this,e)}r=n[this.parentPath.type];if((t=r)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{i.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,r){if(e==="string"){return s.isStringTypeAnnotation(t)}else if(e==="number"){return s.isNumberTypeAnnotation(t)}else if(e==="boolean"){return s.isBooleanTypeAnnotation(t)}else if(e==="any"){return s.isAnyTypeAnnotation(t)}else if(e==="mixed"){return s.isMixedTypeAnnotation(t)}else if(e==="empty"){return s.isEmptyTypeAnnotation(t)}else if(e==="void"){return s.isVoidTypeAnnotation(t)}else{if(r){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(s.isAnyTypeAnnotation(t))return true;if(s.isUnionTypeAnnotation(t)){for(const r of t.types){if(s.isAnyTypeAnnotation(r)||_isBaseType(e,r,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const r=e.getTypeAnnotation();if(!s.isAnyTypeAnnotation(t)&&s.isFlowBaseAnnotation(t)){return r.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();return s.isGenericTypeAnnotation(t)&&s.isIdentifier(t.id,{name:e})}},5631:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(42428);function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return n.voidTypeAnnotation()}else if(e.name==="NaN"||e.name==="Infinity"){return n.numberTypeAnnotation()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,r){const s=[];const i=[];let a=getConstantViolationsBefore(e,t,i);const o=getConditionalAnnotation(e,t,r);if(o){const t=getConstantViolationsBefore(e,o.ifStatement);a=a.filter(e=>t.indexOf(e)<0);s.push(o.typeAnnotation)}if(a.length){a=a.concat(i);for(const e of a){s.push(e.getTypeAnnotation())}}if(!s.length){return}if(n.isTSTypeAnnotation(s[0])&&n.createTSUnionType){return n.createTSUnionType(s)}if(n.createFlowUnionType){return n.createFlowUnionType(s)}return n.createUnionTypeAnnotation(s)}function getConstantViolationsBefore(e,t,r){const n=e.constantViolations.slice();n.unshift(e.path);return n.filter(e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);if(r&&n==="unknown")r.push(e);return n==="before"})}function inferAnnotationFromBinaryExpression(e,t){const r=t.node.operator;const s=t.get("right").resolve();const i=t.get("left").resolve();let a;if(i.isIdentifier({name:e})){a=s}else if(s.isIdentifier({name:e})){a=i}if(a){if(r==="==="){return a.getTypeAnnotation()}if(n.BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(r)>=0){return n.numberTypeAnnotation()}return}if(r!=="==="&&r!=="==")return;let o;let l;if(i.isUnaryExpression({operator:"typeof"})){o=i;l=s}else if(s.isUnaryExpression({operator:"typeof"})){o=s;l=i}if(!o)return;if(!o.get("argument").isIdentifier({name:e}))return;l=l.resolve();if(!l.isLiteral())return;const u=l.node.value;if(typeof u!=="string")return;return n.createTypeAnnotationBasedOnTypeof(u)}function getParentConditionalPath(e,t,r){let n;while(n=t.parentPath){if(n.isIfStatement()||n.isConditionalExpression()){if(t.key==="test"){return}return n}if(n.isFunction()){if(n.parentPath.scope.getBinding(r)!==e)return}t=n}}function getConditionalAnnotation(e,t,r){const s=getParentConditionalPath(e,t,r);if(!s)return;const i=s.get("test");const a=[i];const o=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VariableDeclarator=VariableDeclarator;t.TypeCastExpression=TypeCastExpression;t.NewExpression=NewExpression;t.TemplateLiteral=TemplateLiteral;t.UnaryExpression=UnaryExpression;t.BinaryExpression=BinaryExpression;t.LogicalExpression=LogicalExpression;t.ConditionalExpression=ConditionalExpression;t.SequenceExpression=SequenceExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.AssignmentExpression=AssignmentExpression;t.UpdateExpression=UpdateExpression;t.StringLiteral=StringLiteral;t.NumericLiteral=NumericLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.RegExpLiteral=RegExpLiteral;t.ObjectExpression=ObjectExpression;t.ArrayExpression=ArrayExpression;t.RestElement=RestElement;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;t.CallExpression=CallExpression;t.TaggedTemplateExpression=TaggedTemplateExpression;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return s.default}});var n=r(42428);var s=r(5631);function VariableDeclarator(){var e;const t=this.get("id");if(!t.isIdentifier())return;const r=this.get("init");let n=r.getTypeAnnotation();if(((e=n)==null?void 0:e.type)==="AnyTypeAnnotation"){if(r.isCallExpression()&&r.get("callee").isIdentifier({name:"Array"})&&!r.scope.hasBinding("Array",true)){n=ArrayExpression()}}return n}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function NewExpression(e){if(this.get("callee").isIdentifier()){return n.genericTypeAnnotation(e.callee)}}function TemplateLiteral(){return n.stringTypeAnnotation()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return n.voidTypeAnnotation()}else if(n.NUMBER_UNARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.STRING_UNARY_OPERATORS.indexOf(t)>=0){return n.stringTypeAnnotation()}else if(n.BOOLEAN_UNARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}}function BinaryExpression(e){const t=e.operator;if(n.NUMBER_BINARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.BOOLEAN_BINARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return n.numberTypeAnnotation()}else if(t.isBaseType("string")||e.isBaseType("string")){return n.stringTypeAnnotation()}return n.unionTypeAnnotation([n.stringTypeAnnotation(),n.numberTypeAnnotation()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return n.numberTypeAnnotation()}}function StringLiteral(){return n.stringTypeAnnotation()}function NumericLiteral(){return n.numberTypeAnnotation()}function BooleanLiteral(){return n.booleanTypeAnnotation()}function NullLiteral(){return n.nullLiteralTypeAnnotation()}function RegExpLiteral(){return n.genericTypeAnnotation(n.identifier("RegExp"))}function ObjectExpression(){return n.genericTypeAnnotation(n.identifier("Object"))}function ArrayExpression(){return n.genericTypeAnnotation(n.identifier("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return n.genericTypeAnnotation(n.identifier("Function"))}const i=n.buildMatchMemberExpression("Array.from");const a=n.buildMatchMemberExpression("Object.keys");const o=n.buildMatchMemberExpression("Object.values");const l=n.buildMatchMemberExpression("Object.entries");function CallExpression(){const{callee:e}=this.node;if(a(e)){return n.arrayTypeAnnotation(n.stringTypeAnnotation())}else if(i(e)||o(e)){return n.arrayTypeAnnotation(n.anyTypeAnnotation())}else if(l(e)){return n.arrayTypeAnnotation(n.tupleTypeAnnotation([n.stringTypeAnnotation(),n.anyTypeAnnotation()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){if(e.is("async")){if(e.is("generator")){return n.genericTypeAnnotation(n.identifier("AsyncIterator"))}else{return n.genericTypeAnnotation(n.identifier("Promise"))}}else{if(e.node.returnType){return e.node.returnType}else{}}}}},73304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.matchesPattern=matchesPattern;t.has=has;t.isStatic=isStatic;t.isnt=isnt;t.equals=equals;t.isNodeType=isNodeType;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.isCompletionRecord=isCompletionRecord;t.isStatementOrBlock=isStatementOrBlock;t.referencesImport=referencesImport;t.getSource=getSource;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._guessExecutionStatusRelativeToDifferentFunctions=_guessExecutionStatusRelativeToDifferentFunctions;t.resolve=resolve;t._resolve=_resolve;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.is=void 0;var n=r(42428);function matchesPattern(e,t){return n.matchesPattern(this.node,e,t)}function has(e){const t=this.node&&this.node[e];if(t&&Array.isArray(t)){return!!t.length}else{return!!t}}function isStatic(){return this.scope.isStatic(this.node)}const s=has;t.is=s;function isnt(e){return!this.has(e)}function equals(e,t){return this.node[e]===t}function isNodeType(e){return n.isType(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return n.isBlockStatement(e)}else if(this.isBlockStatement()){return n.isExpression(e)}return false}function isCompletionRecord(e){let t=this;let r=true;do{const n=t.container;if(t.isFunction()&&!r){return!!e}r=false;if(Array.isArray(n)&&t.key!==n.length-1){return false}}while((t=t.parentPath)&&!t.isProgram());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||n.isBlockStatement(this.container)){return false}else{return n.STATEMENT_OR_BLOCK_KEYS.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if((this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?n.isStringLiteral(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return false;const s=r.path;const i=s.parentPath;if(!i.isImportDeclaration())return false;if(i.node.source.value===e){if(!t)return true}else{return false}if(s.isImportDefaultSpecifier()&&t==="default"){return true}if(s.isImportNamespaceSpecifier()&&t==="*"){return true}if(s.isImportSpecifier()&&n.isIdentifier(s.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return(e.scope.getFunctionParent()||e.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let r=0;r=0)return"after";if(r.this.indexOf(e)>=0)return"before";let s;const i={target:0,this:0};while(!s&&i.this=0){s=e}else{i.this++}}if(!s){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(r.this,i.this-1)||isExecutionUncertainInList(r.target,i.target-1)){return"unknown"}const a={this:r.this[i.this-1],target:r.target[i.target-1]};if(a.target.listKey&&a.this.listKey&&a.target.container===a.this.container){return a.target.key>a.this.key?"before":"after"}const o=n.VISITOR_KEYS[s.type];const l={this:o.indexOf(a.this.parentKey),target:o.indexOf(a.target.parentKey)};return l.target>l.this?"before":"after"}const i=new WeakSet;function _guessExecutionStatusRelativeToDifferentFunctions(e){if(!e.isFunctionDeclaration()||e.parentPath.isExportDeclaration()){return"unknown"}const t=e.scope.getBinding(e.node.id.name);if(!t.references)return"before";const r=t.referencePaths;let n;for(const t of r){const r=!!t.find(t=>t.node===e.node);if(r)continue;if(t.key!=="callee"||!t.parentPath.isCallExpression()){return"unknown"}if(i.has(t.node))continue;i.add(t.node);const s=this._guessExecutionStatusRelativeTo(t);i.delete(t.node);if(n&&n!==s){return"unknown"}else{n=s}}return n}function resolve(e,t){return this._resolve(e,t)||this}function _resolve(e,t){if(t&&t.indexOf(this)>=0)return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if(r.kind==="module")return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find(e=>e.node===n.node))return;return n}}else if(this.isTypeCastExpression()){return this.get("expression").resolve(e,t)}else if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!n.isLiteral(r))return;const s=r.value;const i=this.get("object").resolve(e,t);if(i.isObjectExpression()){const r=i.get("properties");for(const n of r){if(!n.isProperty())continue;const r=n.get("key");let i=n.isnt("computed")&&r.isIdentifier({name:s});i=i||r.isLiteral({value:s});if(i)return n.get("value").resolve(e,t)}}else if(i.isArrayExpression()&&!isNaN(+s)){const r=i.get("elements");const n=r[s];if(n)return n.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every(e=>e.isConstantExpression())}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find(e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(!e.isProgram()&&!e.isFunction())return false;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}const t=e.isFunction()?e.node.body:e.node;for(const e of t.directives){if(e.value.value==="use strict"){return true}}});return!!t}},15562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42428);const s={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&n.react.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);if(r)t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);if(!r)return;for(const n of r.constantViolations){if(n.scope!==r.path.scope){t.mutableBinding=true;e.stop();return}}if(r!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=r}};class PathHoister{constructor(e,t){this.breakOnScopePaths=void 0;this.bindings=void 0;this.mutableBinding=void 0;this.scopes=void 0;this.scope=void 0;this.path=void 0;this.attachAfter=void 0;this.breakOnScopePaths=[];this.bindings={};this.mutableBinding=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.indexOf(e.path)>=0){break}}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e){t=e.scope.parent}if(t.path.isProgram()||t.path.isFunction()){for(const r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if(n.kind==="param"||n.path.parentKey==="params"){continue}const s=this.getAttachmentParentForPath(n.path);if(s.key>=e.key){this.attachAfter=true;e=n.path;for(const t of n.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const r=[function(e,t){const r=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(r){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&(e.key==="consequent"||e.key==="alternate")||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}];t.hooks=r},90874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ForAwaitStatement=t.NumericLiteralTypeAnnotation=t.ExistentialTypeParam=t.SpreadProperty=t.RestProperty=t.Flow=t.Pure=t.Generated=t.User=t.Var=t.BlockScoped=t.Referenced=t.Scope=t.Expression=t.Statement=t.BindingIdentifier=t.ReferencedMemberExpression=t.ReferencedIdentifier=void 0;var n=r(42428);const s={types:["Identifier","JSXIdentifier"],checkPath(e,t){const{node:r,parent:s}=e;if(!n.isIdentifier(r,t)&&!n.isJSXMemberExpression(s,t)){if(n.isJSXIdentifier(r,t)){if(n.react.isCompatTag(r.name))return false}else{return false}}return n.isReferenced(r,s,e.parentPath.parent)}};t.ReferencedIdentifier=s;const i={types:["MemberExpression"],checkPath({node:e,parent:t}){return n.isMemberExpression(e)&&n.isReferenced(e,t)}};t.ReferencedMemberExpression=i;const a={types:["Identifier"],checkPath(e){const{node:t,parent:r}=e;const s=e.parentPath.parent;return n.isIdentifier(t)&&n.isBinding(t,r,s)}};t.BindingIdentifier=a;const o={types:["Statement"],checkPath({node:e,parent:t}){if(n.isStatement(e)){if(n.isVariableDeclaration(e)){if(n.isForXStatement(t,{left:e}))return false;if(n.isForStatement(t,{init:e}))return false}return true}else{return false}}};t.Statement=o;const l={types:["Expression"],checkPath(e){if(e.isIdentifier()){return e.isReferencedIdentifier()}else{return n.isExpression(e.node)}}};t.Expression=l;const u={types:["Scopable","Pattern"],checkPath(e){return n.isScope(e.node,e.parent)}};t.Scope=u;const c={checkPath(e){return n.isReferenced(e.node,e.parent)}};t.Referenced=c;const p={checkPath(e){return n.isBlockScoped(e.node)}};t.BlockScoped=p;const f={types:["VariableDeclaration"],checkPath(e){return n.isVar(e.node)}};t.Var=f;const d={checkPath(e){return e.node&&!!e.node.loc}};t.User=d;const h={checkPath(e){return!e.isUser()}};t.Generated=h;const y={checkPath(e,t){return e.scope.isPure(e.node,t)}};t.Pure=y;const m={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath({node:e}){if(n.isFlow(e)){return true}else if(n.isImportDeclaration(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(n.isExportDeclaration(e)){return e.exportKind==="type"}else if(n.isImportSpecifier(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}};t.Flow=m;const g={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectPattern()}};t.RestProperty=g;const b={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectExpression()}};t.SpreadProperty=b;const T={types:["ExistsTypeAnnotation"]};t.ExistentialTypeParam=T;const v={types:["NumberLiteralTypeAnnotation"]};t.NumericLiteralTypeAnnotation=v;const x={types:["ForOfStatement"],checkPath({node:e}){return e.await===true}};t.ForAwaitStatement=x},45885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.insertBefore=insertBefore;t._containerInsert=_containerInsert;t._containerInsertBefore=_containerInsertBefore;t._containerInsertAfter=_containerInsertAfter;t.insertAfter=insertAfter;t.updateSiblingKeys=updateSiblingKeys;t._verifyNodeList=_verifyNodeList;t.unshiftContainer=unshiftContainer;t.pushContainer=pushContainer;t.hoist=hoist;var n=r(87621);var s=r(15562);var i=r(28039);var a=r(42428);function insertBefore(e){this._assertUnremoved();const t=this._verifyNodeList(e);const{parentPath:r}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||r.isExportNamedDeclaration()||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertBefore(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.unshiftContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function _containerInsert(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let n=0;n{return a.isExpression(e)?a.expressionStatement(e):e}))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){const e=this.node;let{scope:n}=this;if(n.path.isPattern()){a.assertExpression(e);this.replaceWith(a.callExpression(a.arrowFunctionExpression([],e),[]));this.get("callee.body").insertAfter(t);return[this]}if(r.isMethod({computed:true,key:e})){n=n.parent}const s=n.generateDeclaredUidIdentifier();t.unshift(a.expressionStatement(a.assignmentExpression("=",a.cloneNode(s),e)));t.push(a.expressionStatement(a.cloneNode(s)))}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertAfter(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.pushContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(const[,n]of r){if(n.key>=e){n.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.remove=remove;t._removeFromScope=_removeFromScope;t._callRemovalHooks=_callRemovalHooks;t._remove=_remove;t._markRemoved=_markRemoved;t._assertUnremoved=_assertUnremoved;var n=r(51750);var s=r(87621);var i=r(28039);function remove(){var e;this._assertUnremoved();this.resync();if(!((e=this.opts)!=null&&e.noScope)){this._removeFromScope()}if(this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings();this._remove();this._markRemoved()}function _removeFromScope(){const e=this.getBindingIdentifiers();Object.keys(e).forEach(e=>this.scope.removeBinding(e))}function _callRemovalHooks(){for(const e of n.hooks){if(e(this,this.parentPath))return true}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);this.updateSiblingKeys(this.key,-1)}else{this._replaceWith(null)}}function _markRemoved(){this._traverseFlags|=i.SHOULD_SKIP|i.REMOVED;if(this.parent)s.path.get(this.parent).delete(this.node);this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},29784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;t.replaceWith=replaceWith;t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;var n=r(88971);var s=r(58163);var i=r(28039);var a=r(87621);var o=r(25163);var l=r(42428);var u=r(28497);function replaceWithMultiple(e){var t;this.resync();e=this._verifyNodeList(e);l.inheritLeadingComments(e[0],this.node);l.inheritTrailingComments(e[e.length-1],this.node);(t=a.path.get(this.parent))==null?void 0:t.delete(this.node);this.node=this.container[this.key]=null;const r=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return r}function replaceWithSourceString(e){this.resync();try{e=`(${e})`;e=(0,o.parse)(e)}catch(t){const r=t.loc;if(r){t.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}});t.code="BABEL_REPLACE_SOURCE_ERROR"}throw t}e=e.program.body[0].expression;s.default.removeProperties(e);return this.replaceWith(e)}function replaceWith(e){this.resync();if(this.removed){throw new Error("You can't replace this node, we've already removed it")}if(e instanceof i.default){e=e.node}if(!e){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===e){return[this]}if(this.isProgram()&&!l.isProgram(e)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(e)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof e==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let t="";if(this.isNodeType("Statement")&&l.isExpression(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)&&!this.parentPath.isExportDefaultDeclaration()){e=l.expressionStatement(e);t="expression"}}if(this.isNodeType("Expression")&&l.isStatement(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)){return this.replaceExpressionWithStatements([e])}}const r=this.node;if(r){l.inheritsComments(e,r);l.removeComments(r)}this._replaceWith(e);this.type=e.type;this.setScope();this.requeue();return[t?this.get(t):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){l.validate(this.parent,this.key,[e])}else{l.validate(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=a.path.get(this.parent))==null?void 0:t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){this.resync();const t=l.toSequenceExpression(e,this.scope);if(t){return this.replaceWith(t)[0].get("expressions")}const r=this.getFunctionParent();const n=r==null?void 0:r.is("async");const i=r==null?void 0:r.is("generator");const a=l.arrowFunctionExpression([],l.blockStatement(e));this.replaceWith(l.callExpression(a,[]));const o=this.get("callee");(0,u.default)(o.get("body"),e=>{this.scope.push({id:e})},"var");const c=this.get("callee").getCompletionRecords();for(const e of c){if(!e.isExpressionStatement())continue;const t=e.findParent(e=>e.isLoop());if(t){let r=t.getData("expressionReplacementReturnUid");if(!r){r=o.scope.generateDeclaredUidIdentifier("ret");o.get("body").pushContainer("body",l.returnStatement(l.cloneNode(r)));t.setData("expressionReplacementReturnUid",r)}else{r=l.identifier(r.name)}e.get("expression").replaceWith(l.assignmentExpression("=",l.cloneNode(r),e.node.expression))}else{e.replaceWith(l.returnStatement(e.node.expression))}}o.arrowFunctionToExpression();const p=o;const f=n&&s.default.hasType(this.get("callee.body").node,"AwaitExpression",l.FUNCTION_TYPES);const d=i&&s.default.hasType(this.get("callee.body").node,"YieldExpression",l.FUNCTION_TYPES);if(f){p.set("async",true);if(!d){this.replaceWith(l.awaitExpression(this.node))}}if(d){p.set("generator",true);this.replaceWith(l.yieldExpression(this.node,true))}return p.get("body.body")}function replaceInline(e){this.resync();if(Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},97005:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Binding{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0;this.scope=void 0;this.path=void 0;this.kind=void 0;this.constantViolations=[];this.constant=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=r;this.kind=n;this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.indexOf(e)!==-1){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.indexOf(e)!==-1){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t.default=Binding},76608:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(81928);var s=r(58163);var i=r(97005);var a=r(41389);var o=r(42428);var l=r(87621);function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(o.isModuleDeclaration(e)){if((o.isExportAllDeclaration(e)||o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.source){gatherNodeParts(e.source,t)}else if((o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.specifiers&&e.specifiers.length){for(const r of e.specifiers)gatherNodeParts(r,t)}else if((o.isExportDefaultDeclaration(e)||o.isExportNamedDeclaration(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(o.isModuleSpecifier(e)){gatherNodeParts(e.local,t)}else if(o.isLiteral(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const r of e.properties){gatherNodeParts(r,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":t.push(e.name);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}const u={For(e){for(const t of o.FOR_INIT_KEYS){const r=e.get(t);if(r.isVar()){const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerBinding("var",r)}}},Declaration(e){if(e.isBlockScoped())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier()){t.constantViolations.push(e)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(o.isExportAllDeclaration(t))return;const n=t.declaration;if(o.isClassDeclaration(n)||o.isFunctionDeclaration(n)){const t=n.id;if(!t)return;const s=r.getBinding(t.name);if(s)s.reference(e)}else if(o.isVariableDeclaration(n)){for(const t of n.declarations){for(const n of Object.keys(o.getBindingIdentifiers(t))){const t=r.getBinding(n);if(t)t.reference(e)}}}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const r=t.getBlockParent();r.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){if(e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e.get("id"),e)}const t=e.get("params");for(const r of t){e.scope.registerBinding("param",r)}},ClassExpression(e){if(e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e)}}};let c=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.labels=void 0;this.inited=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const r=l.scope.get(t);if((r==null?void 0:r.path)===e){return r}l.scope.set(t,this);this.uid=c++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,r=this.path;do{const e=r.key==="key";r=r.parentPath;if(e&&r.isMethod())r=r.parentPath;if(r&&r.isScope())t=r}while(r&&!t);return(e=t)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,s.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return o.cloneNode(t)}generateUidIdentifier(e){return o.identifier(this.generateUid(e))}generateUid(e="temp"){e=o.toIdentifier(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let t;let r=1;do{t=this._generateUid(e,r);r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();n.references[t]=true;n.uids[t]=true;return t}_generateUid(e,t){let r=e;if(t>1)r+=t;return`_${r}`}generateUidBasedOnNode(e,t){const r=[];gatherNodeParts(e,r);let n=r.join("$");n=n.replace(/^_/,"")||t||"ref";return this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return o.identifier(this.generateUidBasedOnNode(e,t))}isStatic(e){if(o.isThisExpression(e)||o.isSuper(e)){return true}if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const r=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:r});return o.cloneNode(r)}return r}}checkBlockScopedCollisions(e,t,r,n){if(t==="param")return;if(e.kind==="local")return;const s=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&(t==="let"||t==="const");if(s){throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}}rename(e,t,r){const s=this.getBinding(e);if(s){t=t||this.generateUidIdentifier(e).name;return new n.default(s,e,t).rename(r)}}_renameFromMap(e,t,r,n){if(e[t]){e[r]=n;e[t]=null}}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,r){if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(o.isArrayExpression(e)){return e}if(o.isIdentifier(e,{name:"arguments"})){return o.callExpression(o.memberExpression(o.memberExpression(o.memberExpression(o.identifier("Array"),o.identifier("prototype")),o.identifier("slice")),o.identifier("call")),[e])}let n;const s=[e];if(t===true){n="toConsumableArray"}else if(t){s.push(o.numericLiteral(t));n="slicedToArray"}else{n="toArray"}if(r){s.unshift(this.hub.addHelper(n));n="maybeArrayLike"}return o.callExpression(this.hub.addHelper(n),s)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement()){this.registerLabel(e)}else if(e.isFunctionDeclaration()){this.registerBinding("hoisted",e.get("id"),e)}else if(e.isVariableDeclaration()){const t=e.get("declarations");for(const r of t){this.registerBinding(e.node.kind,r)}}else if(e.isClassDeclaration()){this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.get("specifiers");for(const e of t){this.registerBinding("module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return o.unaryExpression("void",o.numericLiteral(0),true)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const t=this.getBinding(r);if(t)t.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r){this.registerBinding(e,t)}return}const n=this.getProgramParent();const s=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(s)){n.references[t]=true;for(const n of s[t]){const s=this.getOwnBinding(t);if(s){if(s.identifier===n)continue;this.checkBlockScopedCollisions(s,e,t,n)}if(s){this.registerConstantViolation(r)}else{this.bindings[t]=new i.default({identifier:n,scope:this,path:r,kind:e})}}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(o.isIdentifier(e)){const r=this.getBinding(e.name);if(!r)return false;if(t)return r.constant;return true}else if(o.isClass(e)){if(e.superClass&&!this.isPure(e.superClass,t)){return false}return this.isPure(e.body,t)}else if(o.isClassBody(e)){for(const r of e.body){if(!this.isPure(r,t))return false}return true}else if(o.isBinary(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(o.isArrayExpression(e)){for(const r of e.elements){if(!this.isPure(r,t))return false}return true}else if(o.isObjectExpression(e)){for(const r of e.properties){if(!this.isPure(r,t))return false}return true}else if(o.isMethod(e)){if(e.computed&&!this.isPure(e.key,t))return false;if(e.kind==="get"||e.kind==="set")return false;return true}else if(o.isProperty(e)){if(e.computed&&!this.isPure(e.key,t))return false;return this.isPure(e.value,t)}else if(o.isUnaryExpression(e)){return this.isPure(e.argument,t)}else if(o.isTaggedTemplateExpression(e)){return o.matchesPattern(e.tag,"String.raw")&&!this.hasBinding("String",true)&&this.isPure(e.quasi,t)}else if(o.isTemplateLiteral(e)){for(const r of e.expressions){if(!this.isPure(r,t))return false}return true}else{return o.isPureish(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(r!=null)return r}while(t=t.parent)}removeData(e){let t=this;do{const r=t.data[e];if(r!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;this.references=Object.create(null);this.bindings=Object.create(null);this.globals=Object.create(null);this.uids=Object.create(null);this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const r={references:[],constantViolations:[],assignments:[]};this.crawling=true;if(e.type!=="Program"&&u._exploded){for(const t of u.enter){t(e,r)}const t=u[e.type];if(t){for(const n of t.enter){n(e,r)}}}e.traverse(u,r);this.crawling=false;for(const e of r.assignments){const r=e.getBindingIdentifiers();for(const n of Object.keys(r)){if(e.scope.getBinding(n))continue;t.addGlobal(r[n])}e.scope.registerConstantViolation(e)}for(const e of r.references){const r=e.scope.getBinding(e.node.name);if(r){r.reference(e)}else{t.addGlobal(e.node)}}for(const e of r.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const r=e.unique;const n=e.kind||"var";const s=e._blockHoist==null?2:e._blockHoist;const i=`declaration:${n}:${s}`;let a=!r&&t.getData(i);if(!a){const e=o.variableDeclaration(n,[]);e._blockHoist=s;[a]=t.unshiftContainer("body",[e]);if(!r)t.setData(i,a)}const l=o.variableDeclarator(e.id,e.init);a.node.declarations.push(l);this.registerBinding(n,a.get("declarations").pop())}getProgramParent(){let e=this;do{if(e.path.isProgram()){return e}}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent()){return e}}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent()){return e}}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const r of Object.keys(t.bindings)){if(r in e===false){e[r]=t.bindings[r]}}t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const s=e.bindings[n];if(s.kind===r)t[n]=s}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let r;do{const s=t.getOwnBinding(e);if(s){var n;if((n=r)!=null&&n.isPattern()&&s.kind!=="param"){}else{return s}}r=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return false;if(this.hasOwnBinding(e))return true;if(this.parentHasBinding(e,t))return true;if(this.hasUid(e))return true;if(!t&&Scope.globals.includes(e))return true;if(!t&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);if(r){r.scope.removeOwnBinding(e);r.scope=t;t.bindings[e]=r}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null?void 0:t.scope.removeOwnBinding(e);let r=this;do{if(r.uids[e]){r.uids[e]=false}}while(r=r.parent)}}t.default=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},81928:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(97005);var s=r(94145);var i=r(42428);const a={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){skipAllButComputedMethodKey(e)}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.getOuterBindingIdentifiers();for(const e in r){if(e===t.oldName)r[e].name=t.newName}}};class Renamer{constructor(e,t,r){this.newName=r;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()&&!t.get("declaration").node.id){return}(0,s.default)(t)}maybeConvertFromClassFunctionDeclaration(e){return;if(!e.isFunctionDeclaration()&&!e.isClassDeclaration())return;if(this.binding.kind!=="hoisted")return;e.node.id=i.identifier(this.oldName);e.node._blockHoist=3;e.replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.identifier(this.newName),i.toExpression(e.node))]))}maybeConvertFromClassFunctionExpression(e){return;if(!e.isFunctionExpression()&&!e.isClassExpression())return;if(this.binding.kind!=="local")return;e.node.id=i.identifier(this.oldName);this.binding.scope.parent.push({id:i.identifier(this.newName)});e.replaceWith(i.assignmentExpression("=",i.identifier(this.newName),e.node))}rename(e){const{binding:t,oldName:r,newName:n}=this;const{scope:s,path:i}=t;const o=i.find(e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression());if(o){const e=o.getOuterBindingIdentifiers();if(e[r]===t.identifier){this.maybeConvertFromExportDeclaration(o)}}const l=e||s.block;if((l==null?void 0:l.type)==="SwitchStatement"){l.cases.forEach(e=>{s.traverse(e,a,this)})}else{s.traverse(l,a,this)}if(!e){s.removeOwnBinding(r);s.bindings[n]=t;this.binding.identifier.name=n}if(o){this.maybeConvertFromClassFunctionDeclaration(o);this.maybeConvertFromClassFunctionExpression(o)}}}t.default=Renamer;function skipAllButComputedMethodKey(e){if(!e.isMethod()||!e.node.computed){e.skip();return}const t=i.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}},11627:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.explode=explode;t.verify=verify;t.merge=merge;var n=r(90874);var s=r(42428);function explode(e){if(e._exploded)return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=t.split("|");if(r.length===1)continue;const n=e[t];delete e[t];for(const t of r){e[t]=n}}verify(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=n[t];if(!r)continue;const s=e[t];for(const e of Object.keys(s)){s[e]=wrapCheck(r,s[e])}delete e[t];if(r.types){for(const t of r.types){if(e[t]){mergePair(e[t],s)}else{e[t]=s}}}else{mergePair(e,s)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];let n=s.FLIPPED_ALIAS_KEYS[t];const i=s.DEPRECATED_KEYS[t];if(i){console.trace(`Visitor defined for ${t} but it has been renamed to ${i}`);n=[i]}if(!n)continue;delete e[t];for(const t of n){const n=e[t];if(n){mergePair(n,r)}else{e[t]=Object.assign({},r)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify(e){if(e._verified)return;if(typeof e==="function"){throw new Error("You passed `traverse()` a function when it expected a visitor object, "+"are you sure you didn't mean `{ enter: Function }`?")}for(const t of Object.keys(e)){if(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(s.TYPES.indexOf(t)<0){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`)}const r=e[t];if(typeof r==="object"){for(const e of Object.keys(r)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,r[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const r=[].concat(t);for(const t of r){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],r){const n={};for(let s=0;se.toString())}return n});n[s]=i}return n}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];if(typeof r==="function"){e[t]={enter:r}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const r=function(r){if(e.checkPath(r)){return t.apply(this,arguments)}};r.toString=(()=>t.toString());return r}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"){return true}return false}function mergePair(e,t){for(const r of Object.keys(t)){e[r]=[].concat(e[r]||[],t[r])}}},75702:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(73410);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},82731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(27789);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},44361:()=>{},78803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(44534);var s=r(74304);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(21998);var s=r(6674);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},35770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(21998);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},21998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(78803);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},2424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(21998)},23363:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(45302);var s=r(87887);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(21998);var s=r(96781);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},11595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(71037);function clone(e){return(0,n.default)(e,false)}},67328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(71037);function cloneDeep(e){return(0,n.default)(e)}},34731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(71037);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},71037:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(44534);var s=r(45302);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},81043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(71037);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},19415:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(35166);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},35166:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},73168:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(97217);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},93694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(97217);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},60160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(97217);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},32633:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(60160);var s=r(93694);var i=r(73168);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},48626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(63923);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},22609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(44534);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const c=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=c;const p=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const h=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=h;const y=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const g=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=g;const b=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=b;const T=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=T;const v=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=v;const x=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=x;const E=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=E;const S=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=S;const P=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=P;const w=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=w;const A=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=O;const _=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=_;const C=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const D=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=D;const I=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=I;const k=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=k;const N=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=N;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const R=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=R;const F=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=F;const L=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=L;const B=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=B;const q=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=q;const W=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=W;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const K=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=V;const $=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=$;const J=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=Y;const X=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=X},63923:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const c=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=c;const p=[...c,...l];t.BOOLEAN_BINARY_OPERATORS=p;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...p];t.BINARY_OPERATORS=d;const h=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=h;const y=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=y;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const g=["typeof"];t.STRING_UNARY_OPERATORS=g;const b=["void","throw",...y,...m,...g];t.UNARY_OPERATORS=b;const T={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=T;const v=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=v;const x=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=x},57893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(85246);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},49509:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(98463);var s=r(45302);var i=r(21998);var a=r(71037);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},19319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(43612);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},85246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(45302);var s=r(21998);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},16946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(45302);var s=r(21998);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},39275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(45302);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},43612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(94056);var s=r(6094);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},99623:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(45302);var s=r(71037);var i=r(58692);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},27846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(49509);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},69246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(45302);var s=r(21998);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},7503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(94056);var s=r(21998);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},67819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(27789);var s=r(94056);var i=r(6094);var a=r(63923);var o=r(48862);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const c=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=c;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},c,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const p={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=p;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},p,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},p,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.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";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},43463:(e,t,r)=>{"use strict";var n=r(48862);var s=r(67819);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},89322:(e,t,r)=>{"use strict";var n=r(48862);const s=(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")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("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")}});s("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:false},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"))}})},44534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(67819);r(89322);r(19693);r(30282);r(43463);r(40541);var s=r(48862);var i=r(99539);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},19693:(e,t,r)=>{"use strict";var n=r(48862);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},30282:(e,t,r)=>{"use strict";var n=r(48862);var s=r(99539);{(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)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},99539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(48862);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},40541:(e,t,r)=>{"use strict";var n=r(48862);var s=r(67819);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),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,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),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 p={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},p,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},p,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(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)(i)}});(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:i,default:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),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)(i),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)(i),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)(i),const:(0,n.validateOptional)(i),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)(i),global:(0,n.validateOptional)(i),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)(i),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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},48862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(27789);var s=r(74304);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const c={};t.DEPRECATED_KEYS=c;const p={};t.NODE_PARENT_VALIDATIONS=p;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&h[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const y=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){c[t.deprecatedAlias]=e}for(const e of s.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=y;y.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){p[e]=t.validate}h[e]=t}const h={}},42428:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return I.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(66336);var i=r(72775);var a=r(23363);var o=r(75702);var l=r(82731);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(35770);var c=r(67753);var p=r(41558);var f=r(21998);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(2424);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var h=r(71037);var y=r(11595);var m=r(67328);var g=r(34731);var b=r(81043);var T=r(19415);var v=r(35166);var x=r(73168);var E=r(93694);var S=r(32633);var P=r(60160);var w=r(48626);var A=r(22609);Object.keys(A).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===A[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return A[e]}})});var O=r(63923);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var _=r(57893);var C=r(19319);var j=r(85246);var D=r(16946);var I=r(39275);var k=r(43612);var N=r(99623);var M=r(27846);var R=r(69246);var F=r(7503);var L=r(44534);Object.keys(L).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===L[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return L[e]}})});var B=r(25698);var q=r(40507);var W=r(41523);var U=r(44233);var K=r(58692);var V=r(6674);var $=r(98463);var J=r(14332);var Y=r(23801);Object.keys(Y).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===Y[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return Y[e]}})});var X=r(67475);var H=r(63226);var z=r(27789);var G=r(84694);var Q=r(12878);var Z=r(73867);var ee=r(87337);var te=r(73410);var re=r(47498);var ne=r(626);var se=r(58522);var ie=r(32673);var ae=r(21278);var oe=r(13605);var le=r(96346);var ue=r(94056);var ce=r(79786);var pe=r(46409);var fe=r(74304);var de=r(690);var he=r(45302);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});var ye=r(44361);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});const me={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=me},25698:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(21998);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},6674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(45302);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},40507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(63923);var s=r(32633);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},41523:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(21998);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},44233:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(63923);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},58692:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(67475);var s=r(44233);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},96781:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(45302);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},98463:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(45302);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98463);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},23801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(44534);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(44534);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},97217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},87887:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(21998);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(46409);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},45302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(63226);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},27789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(63226);var s=r(13605);var i=r(626);var a=r(44534);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},84694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(98463);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},12878:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(45302);var s=r(87337);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},73867:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(13605);var s=r(45302);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},87337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(45302);var s=r(63923);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},73410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(44534);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},47498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(44534);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(44534);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},58522:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},32673:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(45302);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},21278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(45302);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},13605:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(44534);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},96346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(94056);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},94056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(6094);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},79786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(45302);var s=r(63923);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},46409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(45302);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},66336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(690);const s=(0,n.default)("React.Component");var i=s;t.default=i},74304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(44534);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},39571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=_interopRequireWildcard(r(52388));var s=r(74246);var i=_interopRequireDefault(r(72242));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const a=/\r\n|[\n\r\u2028\u2029]/;const o=/^[a-z][\w-]*$/i;const l=/^[()[\]{}]$/;function getTokenType(e){const[t,r]=e.slice(-2);const i=(0,n.matchToToken)(e);if(i.type==="name"){if((0,s.isKeyword)(i.value)||(0,s.isReservedWord)(i.value)){return"keyword"}if(o.test(i.value)&&(r[t-1]==="<"||r.substr(t-2,2)=="n(e)).join("\n")}else{return t[0]}})}function shouldHighlight(e){return i.default.supportsColor||e.forceColor}function getChalk(e){let t=i.default;if(e.forceColor){t=new i.default.constructor({enabled:true,level:1})}return t}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},30865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const s=true;const i=true;const a=true;const o=true;class TokenType{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=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}"),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:i}),assign:new TokenType("_=",{beforeExpr:r,isAssign:i}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:s,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:s}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:s}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const c=/\r\n?|[\n\u2028\u2029]/;const p=new RegExp(c.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const f=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(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 true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{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}}function getLineInfo(e,t){let r=1;let n=0;let s;p.lastIndex=0;while((s=p.exec(e))&&s.index0){n=t[--s]}if(n===null){return}for(let e=0;e0){n.trailingComments=i}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,s,i,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){s=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){s=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(n.leadingComments).end<=e.start){e.leadingComments=n.leadingComments;delete n.leadingComments}else{for(i=n.leadingComments.length-2;i>=0;--i){if(n.leadingComments[i].end<=e.start){e.leadingComments=n.leadingComments.splice(0,i+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(a=0;a0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(i=0;ie.start){break}}const t=this.state.leadingComments.slice(0,i);if(t.length){e.leadingComments=t}s=this.state.leadingComments.slice(i);if(s.length===0){s=null}}}this.state.commentPreviousNode=e;if(s){if(s.length&&s[0].start>=e.start&&last(s).end<=e.end){e.innerComments=s}else{const t=s.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=s.slice(0,t);e.trailingComments=s.slice(t)}else{e.trailingComments=s}}}t.push(e)}}const d=Object.freeze({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",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:"getter must not have any formal parameters",BadSetterArity:"setter must have exactly one formal parameter",BadSetterRestParameter:"setter 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",DuplicateStaticBlock:"Duplicate static block in the same class",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",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()",ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`,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.",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",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",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"});class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,t,...r){return this.raiseWithData(e,undefined,t,...r)}raiseWithData(e,t,r,...n){const s=this.getLocationForPosition(e);const i=r.replace(/%(\d+)/g,(e,t)=>n[t])+` (${s.line}:${s.column})`;return this._raise(Object.assign({loc:s,pos:e},t),i)}_raise(e,t){const r=new SyntaxError(t);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var h=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);n.regex={pattern:e,flags:t};return n}estreeParseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}estreeParseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);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);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)==null?void 0:t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return 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,s,i){this.parseMethod(t,r,n,s,i,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseExprAtom(e){switch(this.state.type){case u.num:case u.string:return this.estreeParseLiteral(this.state.value);case u.regexp:return this.estreeParseRegExpLiteral(this.state.value);case u.bigint:return this.estreeParseBigIntLiteral(this.state.value);case u.decimal:return this.estreeParseDecimalLiteral(this.state.value);case u._null:return this.estreeParseLiteral(null);case u._true:return this.estreeParseLiteral(true);case u._false:return this.estreeParseLiteral(false);default:return super.parseExprAtom(e)}}parseLiteral(e,t,r,n){const s=super.parseLiteral(e,t,r,n);s.raw=s.extra.raw;delete s.extra;return s}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,s,i,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,s,i,a);o.type="FunctionExpression";delete o.kind;e.value=o;i=i==="ClassMethod"?"MethodDefinition":i;return this.finishNode(e,i)}parseObjectMethod(e,t,r,n,s){const i=super.parseObjectMethod(e,t,r,n,s);if(i){i.type="Property";if(i.kind==="method")i.kind="init";i.shorthand=false}return i}parseObjectProperty(e,t,r,n,s){const i=super.parseObjectProperty(e,t,r,n,s);if(i){i.kind="init";i.type="Property"}return i}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,d.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,d.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,s){const i=super.parseSubscript(e,t,r,n,s);if(s.optionalChainMember){if(i.type==="OptionalMemberExpression"||i.type==="OptionalCallExpression"){i.type=i.type.substring(8)}if(s.stop){const e=this.startNodeAtNode(i);e.expression=i;return this.finishNode(e,"ChainExpression")}}else if(i.type==="MemberExpression"||i.type==="CallExpression"){i.optional=false}return i}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{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 y={braceStatement:new TokContext("{",false),braceExpression:new TokContext("{",true),recordExpression:new TokContext("#{",true),templateQuasi:new TokContext("${",false),parenStatement:new TokContext("(",false),parenExpression:new TokContext("(",true),template:new TokContext("`",true,true,e=>e.readTmplToken()),functionExpression:new TokContext("function",true),functionStatement:new TokContext("function",false)};u.parenR.updateContext=u.braceR.updateContext=function(){if(this.state.context.length===1){this.state.exprAllowed=true;return}let e=this.state.context.pop();if(e===y.braceStatement&&this.curContext().token==="function"){e=this.state.context.pop()}this.state.exprAllowed=!e.isExpr};u.name.updateContext=function(e){let t=false;if(e!==u.dot){if(this.state.value==="of"&&!this.state.exprAllowed&&e!==u._function&&e!==u._class){t=true}}this.state.exprAllowed=t;if(this.state.isIterator){this.state.isIterator=false}};u.braceL.updateContext=function(e){this.state.context.push(this.braceIsBlock(e)?y.braceStatement:y.braceExpression);this.state.exprAllowed=true};u.dollarBraceL.updateContext=function(){this.state.context.push(y.templateQuasi);this.state.exprAllowed=true};u.parenL.updateContext=function(e){const t=e===u._if||e===u._for||e===u._with||e===u._while;this.state.context.push(t?y.parenStatement:y.parenExpression);this.state.exprAllowed=true};u.incDec.updateContext=function(){};u._function.updateContext=u._class.updateContext=function(e){if(e.beforeExpr&&e!==u.semi&&e!==u._else&&!(e===u._return&&this.hasPrecedingLineBreak())&&!((e===u.colon||e===u.braceL)&&this.curContext()===y.b_stat)){this.state.context.push(y.functionExpression)}else{this.state.context.push(y.functionStatement)}this.state.exprAllowed=false};u.backQuote.updateContext=function(){if(this.curContext()===y.template){this.state.context.pop()}else{this.state.context.push(y.template)}this.state.exprAllowed=false};u.braceHashL.updateContext=function(){this.state.context.push(y.recordExpression);this.state.exprAllowed=true};let m="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let g="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const b=new RegExp("["+m+"]");const T=new RegExp("["+m+g+"]");m=g=null;const v=[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];const x=[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 isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&b.test(String.fromCharCode(e))}return isInAstralSet(e,v)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&T.test(String.fromCharCode(e))}return isInAstralSet(e,v)||isInAstralSet(e,x)}const E={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const S=new Set(E.keyword);const P=new Set(E.strict);const w=new Set(E.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||P.has(e)}function isStrictBindOnlyReservedWord(e){return w.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return S.has(e)}const A=/^in(stanceof)?$/;function isIteratorStart(e,t){return e===64&&t===64}const O=0,_=1,C=2,j=4,D=8,I=16,k=32,N=64,M=128,R=_|C|M;const F=1,L=2,B=4,q=8,W=16,U=64,K=128,V=256,$=512,J=1024;const Y=F|L|q|K,X=F|0|q|0,H=F|0|B|0,z=F|0|W|0,G=0|L|0|K,Q=0|L|0|0,Z=F|L|q|V,ee=0|0|0|J,te=0|0|0|U,re=F|0|0|U,ne=Z|$,se=0|0|0|J;const ie=4,ae=2,oe=1,le=ae|oe;const ue=ae|ie,ce=oe|ie,pe=ae,fe=oe,de=0;const he=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const ye=Object.freeze({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`.",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.",SpreadVariance:"Spread properties cannot have variance",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"});function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const me={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let s=0;s{var t;return t=class extends e{constructor(e,t){super(e,t);this.flowPragma=void 0;this.flowPragma=undefined}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=ge.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.startLoc;const r=this.state.start;this.expect(u.modulo);const n=this.state.startLoc;this.expectContextual("checks");if(t.line!==n.line||t.column!==n.column-1){this.raise(r,ye.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const s=this.flowParseFunctionTypeParams();r.params=s.params;r.rest=s.rest;this.expect(u.parenR);[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(n,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,ye.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,H,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(O);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,ye.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",ye.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let s=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,ye.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(s){this.raise(e.start,ye.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,ye.AmbiguousDeclareModuleKind)}n="CommonJS";s=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=me[e];throw this.raise(this.state.start,ye.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?z:X,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,ye.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!he.has(e))return;this.raise(t,r?ye.AssignReservedType:ye.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,X,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,X,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const s=this.flowParseTypeAnnotatableIdentifier();r.name=s.name;r.variance=n;r.bound=s.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,ye.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam());if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam()}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:s}){const i=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let c=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let i=null;let o=null;const p=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();i=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const f=this.flowParseVariance();if(this.eat(u.bracketL)){if(i!=null){this.unexpected(i)}if(this.eat(u.bracketL)){if(f){this.unexpected(f.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(p,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(p,t,f))}}else if(this.match(u.parenL)||this.isRelational("<")){if(i!=null){this.unexpected(i)}if(f){this.unexpected(f.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(p,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(p,t,i,f,e,r,s!=null?s:!l);if(n===null){c=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,ye.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=c}const p=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=i;return p}flowParseObjectTypeProperty(e,t,r,n,s,i,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!i){this.raise(this.state.lastTokStart,ye.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,ye.InexactInsideExact)}if(n){this.raise(n.start,ye.InexactVariance)}return null}if(!i){this.raise(this.state.lastTokStart,ye.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,ye.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=s;let i=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(s==="get"||s==="set"){this.flowCheckGetterSetterParams(e)}}else{if(s!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){i=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=i;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(n!==t){if(e.kind==="get"){this.raise(r,d.BadGetterArity)}else{this.raise(r,d.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,d.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.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(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}this.expect(u.question);const s=this.state.clone();const i=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[c,p]=this.getArrowLikeExpressions(o);if(l||p.length>0){const e=[...i];if(p.length>0){this.state=s;this.state.noArrowAt=e;for(let t=0;t1){this.raise(s.start,ye.AmbiguousConditionalArrow)}if(l&&c.length===1){this.state=s;this.state.noArrowAt=e.concat(c[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=i;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(C|j);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(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=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"){this.raise(n,ye.DeclareClassElement)}else if(t.value){this.raise(t.value.start,ye.DeclareClassFieldInitializer)}}}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.isIterator=true;return super.readWord()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&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 false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(s.typeAnnotation.start,ye.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(s.elements)}return s}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,s,i){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,s,i,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,s,i,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,ye.OptionalBindingPattern)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),s);if(!i.error)return i.node;const{context:n}=this.state;if(n[n.length-1]===y.j_oTag){n.length-=2}else if(n[n.length-1]===y.j_expr){n.length-=1}}if(((n=i)==null?void 0:n.error)||this.isRelational("<")){var a,o;s=s||this.state.clone();let n;const l=this.tryParse(s=>{var i;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const s=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(s,n);return s});if(a.type!=="ArrowFunctionExpression"&&((i=a.extra)==null?void 0:i.parenthesized)){s()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},s);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,ye.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=i)==null?void 0:a.node){this.state=i.failState;return i.node}if(u){this.state=l.failState;return u}if((o=i)==null?void 0:o.thrown)throw i.error;if(l.thrown)throw l.error;throw this.raise(n.start,ye.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(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(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const s=this.state.clone();const i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,r)||e(),s);if(!i.error&&!i.aborted)return i.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,r,n),s);if(a.node&&!a.error)return a.node;if(i.node){this.state=i.failState;return i.node}if(a.node){this.state=a.failState;return a.node}throw i.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,s){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){s.optionalChainMember=true;if(n){s.stop=true;return e}this.next();const i=this.startNodeAt(t,r);i.callee=e;i.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);i.arguments=this.parseCallExpressionArguments(u.parenR,false);i.optional=true;return this.finishCallExpression(i,true)}else if(!n&&this.shouldParseTypes()&&this.isRelational("<")){const n=this.startNodeAt(t,r);n.callee=e;const i=this.tryParse(()=>{n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(s.optionalChainMember)n.optional=false;return this.finishCallExpression(n,s.optionalChainMember)});if(i.node){if(i.error)this.state=i.failState;return i.node}}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){let t=null;if(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);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,ye.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,ye.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,d.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,d.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,ye.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,ye.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,ye.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,ye.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?ye.EnumInvalidExplicitTypeUnknownSupplied:ye.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let s=null;switch(r){case"boolean":case"number":case"string":s=ye.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":s=ye.EnumInvalidMemberInitializerSymbolType;break;default:s=ye.EnumInvalidMemberInitializerUnknownType}return this.raise(e,s,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,ye.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,ye.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseLiteral(this.state.value,"NumericLiteral");if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseLiteral(this.state.value,"StringLiteral");if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral();if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};while(!this.match(u.braceR)){const s=this.startNode();const{id:i,init:a}=this.flowEnumMemberRaw();const o=i.name;if(o===""){continue}if(/^[a-z]/.test(o)){this.flowEnumErrorInvalidMemberName(i.start,{enumName:e,memberName:o})}if(r.has(o)){this.flowEnumErrorDuplicateMemberName(i.start,{enumName:e,memberName:o})}r.add(o);const l={enumName:e,explicitType:t,memberName:o};s.id=i;switch(a.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(a.pos,l,"boolean");s.init=a.value;n.booleanMembers.push(this.finishNode(s,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(a.pos,l,"number");s.init=a.value;n.numberMembers.push(this.finishNode(s,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(a.pos,l,"string");s.init=a.value;n.stringMembers.push(this.finishNode(s,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(a.pos,l)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(a.pos,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(a.pos,l);break;default:n.defaultedMembers.push(this.finishNode(s,"EnumDefaultedMember"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return n}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(let t=0;t{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const i=s.booleanMembers.length;const a=s.numberMembers.length;const o=s.stringMembers.length;const l=s.defaultedMembers.length;if(!i&&!a&&!o&&!l){return n()}else if(!i&&!a){e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&i>=l){for(let e=0,r=s.defaultedMembers;e=l){for(let e=0,r=s.defaultedMembers;e",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:"♦"};const ve=/^[\da-fA-F]+$/;const xe=/^\d+$/;const Ee=Object.freeze({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>",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 <>...?"});y.j_oTag=new TokContext("...",true,true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=function(){this.state.context.push(y.j_expr);this.state.context.push(y.j_oTag);this.state.exprAllowed=false};u.jsxTagEnd.updateContext=function(e){const t=this.state.context.pop();if(t===y.j_oTag&&e===u.slash||t===y.j_cTag){this.state.context.pop();this.state.exprAllowed=this.curContext()===y.j_expr}else{this.state.exprAllowed=true}};function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var Se=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ee.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const s=++this.state.pos;while(this.state.pos0}get allowSuper(){return(this.currentThisScope().flags&I)>0}get allowDirectSuper(){return(this.currentThisScope().flags&k)>0}get inClass(){return(this.currentThisScope().flags&N)>0}get inNonArrowFunction(){return(this.currentThisScope().flags&C)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&C||!this.inModule&&e.flags&_)}declareName(e,t,r){let n=this.currentScope();if(t&q||t&W){this.checkRedeclarationInScope(n,e,t,r);if(t&W){n.functions.push(e)}else{n.lexical.push(e)}if(t&q){this.maybeExportDefined(n,e)}}else if(t&B){for(let s=this.scopeStack.length-1;s>=0;--s){n=this.scopeStack[s];this.checkRedeclarationInScope(n,e,t,r);n.var.push(e);this.maybeExportDefined(n,e);if(n.flags&R)break}}if(this.inModule&&n.flags&_){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&_){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,d.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&F))return false;if(r&q){return e.lexical.indexOf(t)>-1||e.functions.indexOf(t)>-1||e.var.indexOf(t)>-1}if(r&W){return e.lexical.indexOf(t)>-1||!this.treatFunctionsAsVarInScope(e)&&e.var.indexOf(t)>-1}return e.lexical.indexOf(t)>-1&&!(e.flags&D&&e.lexical[0]===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.indexOf(t)>-1}checkLocalExport(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&this.scopeStack[0].functions.indexOf(e.name)===-1){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(t.flags&R){return t}}}currentThisScope(){for(let e=this.scopeStack.length-1;;e--){const t=this.scopeStack[e];if((t.flags&R||t.flags&N)&&!(t.flags&j)){return t}}}}class TypeScriptScope extends Scope{constructor(...e){super(...e);this.types=[];this.enums=[];this.constEnums=[];this.classes=[];this.exportOnlyBindings=[]}}class TypeScriptScopeHandler extends ScopeHandler{createScope(e){return new TypeScriptScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&J){this.maybeExportDefined(n,e);n.exportOnlyBindings.push(e);return}super.declareName(...arguments);if(t&L){if(!(t&F)){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e)}n.types.push(e)}if(t&V)n.enums.push(e);if(t&$)n.constEnums.push(e);if(t&K)n.classes.push(e)}isRedeclaredInScope(e,t,r){if(e.enums.indexOf(t)>-1){if(r&V){const n=!!(r&$);const s=e.constEnums.indexOf(t)>-1;return n!==s}return true}if(r&K&&e.classes.indexOf(t)>-1){if(e.lexical.indexOf(t)>-1){return!!(r&F)}else{return false}}if(r&L&&e.types.indexOf(t)>-1){return true}return super.isRedeclaredInScope(...arguments)}checkLocalExport(e){if(this.scopeStack[0].types.indexOf(e.name)===-1&&this.scopeStack[0].exportOnlyBindings.indexOf(e.name)===-1){super.checkLocalExport(e)}}}const Pe=0,we=1,Ae=2,Oe=4,_e=8;class ProductionParameterHandler{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&Ae)>0}get hasYield(){return(this.currentFlags()&we)>0}get hasReturn(){return(this.currentFlags()&Oe)>0}get hasIn(){return(this.currentFlags()&_e)>0}}function functionFlags(e,t){return(e?Ae:0)|(t?we:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const Ce=Object.freeze({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.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateModifier:"Duplicate modifier: '%0'",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0')",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",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')",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`",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"});function keywordTypeFromName(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 undefined}}var je=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsNextTokenCanFollowModifier(){this.next();return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.hash)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t){for(;;){const r=this.state.start;const n=this.tsParseModifier(t);if(!n)break;if(Object.hasOwnProperty.call(e,n)){this.raise(r,Ce.DuplicateModifier,n)}e[n]=true}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const s=t();if(s==null){return undefined}n.push(s);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const s=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return s}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Ce.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.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();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Ce.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Ce.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)){this.semicolon()}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(!t&&(this.match(u.parenL)||this.isRelational("<"))){const e=r;this.tsFillSignature(u.colon,e);this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}const t=!!this.tsParseModifier(["readonly"]);const r=this.tsTryParseIndexSignature(e);if(r){if(t)e.readonly=true;return r}this.parsePropertyName(e,false);return this.tsParsePropertyOrMethodSignature(e,t)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:s}=e;if(t&&s!=="TSRestType"&&s!=="TSOptionalType"&&!(s==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Ce.OptionalTypeBeforeRequired)}t=t||s==="TSNamedTupleMember"&&e.optional||s==="TSOptionalType";if(s==="TSRestType"){e=e.typeAnnotation;s=e.type}const i=s==="TSNamedTupleMember";r=(n=r)!=null?n:i;if(r!==i){this.raise(e.start,Ce.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const s=this.eat(u.question);const i=this.eat(u.colon);if(i){const e=this.startNodeAtNode(n);e.optional=s;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Ce.InvalidTupleMemberLabel);e.label=n}e.elementType=this.tsParseType();n=this.finishNode(e,"TSNamedTupleMember")}else if(s){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();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e){const t=this.startNode();if(e==="TSConstructorType"){this.expect(u._new)}this.tsFillSignature(u.arrow,t);return this.finishNode(t,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Ce.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return 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){this.eat(r);let n=t();if(this.match(r)){const s=[n];while(this.eat(r)){s.push(t())}const i=this.startNodeAtNode(n);i.types=s;n=this.finishNode(i,e)}return n}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){const r=this.startNodeAtNode(t);r.parameterName=e;r.asserts=true;e=this.finishNode(r,"TSTypePredicate")}else{e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const n=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!n){if(!r){return this.tsParseTypeAnnotation(false,t)}const e=this.startNodeAtNode(t);e.parameterName=this.parseIdentifier();e.asserts=r;t.typeAnnotation=this.finishNode(e,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsParseTypeAnnotation(false);const i=this.startNodeAtNode(t);i.parameterName=n;i.typeAnnotation=s;i.asserts=r;t.typeAnnotation=this.finishNode(i,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,d.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Ce.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",G);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",Q);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return 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=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?ne:Z);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(O);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",se)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(M);this.prodParam.enter(Pe);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(M);this.prodParam.enter(Pe);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",X);this.expect(u.eq);e.moduleReference=this.tsParseModuleReference();this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInDeclareContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(M);this.prodParam.enter(Pe);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminatorAndMatch(u._class,r)){const t=e;t.abstract=true;if(r){this.next();if(!this.match(u._class)){this.unexpected(null,u._class)}}return this.parseClass(t,true,false)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminatorAndMatch(u.name,r)){if(r)this.next();return this.tsParseInterfaceDeclaration(e)}break;case"module":if(r)this.next();if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.tsCheckLineTerminatorAndMatch(u.name,r)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminatorAndMatch(u.name,r)){if(r)this.next();return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminatorAndMatch(u.name,r)){if(r)this.next();return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminatorAndMatch(e,t){return(t||this.match(e))&&!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Ce.EmptyTypeArguments)}this.state.exprAllowed=false;this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let s;let i=false;if(e!==undefined){s=this.parseAccessModifier();i=!!this.tsParseModifier(["readonly"]);if(e===false&&(s||i)){this.raise(r,Ce.UnexpectedParameterModifier)}}const a=this.parseMaybeDefault();this.parseAssignableListItemTypes(a);const o=this.parseMaybeDefault(a.start,a.loc.start,a);if(s||i){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(s)e.accessibility=s;if(i)e.readonly=i;if(o.type!=="Identifier"&&o.type!=="AssignmentPattern"){this.raise(e.start,Ce.UnsupportedParameterPropertyKind)}e.parameter=o;return this.finishNode(e,"TSParameterProperty")}if(t.length){a.decorators=t}return o}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isDeclareContext){this.raise(e.start,Ce.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ee)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Ce.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,s){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return this.finishNode(n,"TSNonNullExpression")}if(this.isRelational("<")){const i=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e){return e}}const i=this.startNodeAt(t,r);i.callee=e;const a=this.tsParseTypeArguments();if(a){if(!n&&this.eat(u.parenL)){i.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(i.arguments);i.typeParameters=a;return this.finishCallExpression(i,s.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,s);n.typeParameters=a;return n}}this.unexpected()});if(i)return i}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const s=this.startNodeAt(t,r);s.expression=e;const i=this.tsTryNextParseConstantContext();if(i){s.typeAnnotation=i}else{s.typeAnnotation=this.tsNextThenParseType()}this.finishNode(s,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(s,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){const t=this.lookahead();if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")){e.importKind="type";this.next()}}if(!e.importKind){e.importKind="value"}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,"A type-only import can specify a default import or named bindings, but not both.")}return t}parseExport(e){if(this.match(u._import)){this.expect(u._import);return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();this.parseClass(e,true,true);e.abstract=true;return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}parseClassMember(e,t,r){this.tsParseModifiers(t,["declare"]);const n=this.parseAccessModifier();if(n)t.accessibility=n;this.tsParseModifiers(t,["declare"]);const s=()=>{super.parseClassMember(e,t,r)};if(t.declare){this.tsInDeclareContext(s)}else{s()}}parseClassMemberWithIsStatic(e,t,r,n){this.tsParseModifiers(t,["abstract","readonly","declare"]);const s=this.tsTryParseIndexSignature(t);if(s){e.body.push(s);if(t.abstract){this.raise(t.start,Ce.IndexSignatureHasAbstract)}if(n){this.raise(t.start,Ce.IndexSignatureHasStatic)}if(t.accessibility){this.raise(t.start,Ce.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Ce.IndexSignatureHasDeclare)}return}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Ce.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Ce.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");let s;if(this.match(u.name)){s=this.tsTryParseExportDeclaration()}if(!s){s=super.parseExportDeclaration(e)}if(s&&(s.type==="TSInterfaceDeclaration"||s.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(s&&n){this.resetStartLocation(s,t,r);s.declare=true}return s}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?ee:Y);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isDeclareContext&&this.match(u.eq)){this.raise(this.state.start,Ce.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Ce.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Ce.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,s,i){const a=this.tsTryParseTypeParameters();if(a&&s){this.raise(a.start,Ce.ConstructorHasTypeParameters)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){const s=this.tsTryParseTypeParameters();if(s)t.typeParameters=s;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,s,i,a,o;let l;let c;let p;if(this.match(u.jsxTagStart)){l=this.state.clone();c=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!c.error)return c.node;const{context:t}=this.state;if(t[t.length-1]===y.j_oTag){t.length-=2}else if(t[t.length-1]===y.j_expr){t.length-=1}}if(!((t=c)==null?void 0:t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let f;l=l||this.state.clone();const d=this.tryParse(t=>{var r;f=this.tsParseTypeParameters();const n=super.parseMaybeAssign(...e);if(n.type!=="ArrowFunctionExpression"||n.extra&&n.extra.parenthesized){t()}if(((r=f)==null?void 0:r.params.length)!==0){this.resetStartLocationFromNode(n,f)}n.typeParameters=f;return n},l);if(!d.error&&!d.aborted)return d.node;if(!c){assert(!this.hasPlugin("jsx"));p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node}if((r=c)==null?void 0:r.node){this.state=c.failState;return c.node}if(d.node){this.state=d.failState;return d.node}if((n=p)==null?void 0:n.node){this.state=p.failState;return p.node}if((s=c)==null?void 0:s.thrown)throw c.error;if(d.thrown)throw d.error;if((i=p)==null?void 0:i.thrown)throw p.error;throw((a=c)==null?void 0:a.error)||d.error||((o=p)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isDeclareContext&&!this.state.inType){this.raise(e.start,Ce.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const s=n&&n.type==="Identifier"&&n.name==="this";return s?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInDeclareContext(e){const t=this.state.isDeclareContext;this.state.isDeclareContext=true;try{return e()}finally{this.state.isDeclareContext=t}}});u.placeholder=new TokenType("%%",{startsExpr:true});var De=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return 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 s=this.state.strict;const i=this.parsePlaceholder("Identifier");if(i){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=i}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(i,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,"A class name is required")}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,s);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t==null?void 0:t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Ie=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const ke=["minimal","smart","fsharp"];const Ne=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){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'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!ke.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}if(hasPlugin(e,"recordAndTuple")&&!Ne.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ne.map(e=>`'${e}'`).join(", "))}}const Me={estree:h,jsx:Se,flow:be,typescript:je,v8intrinsic:Ie,placeholders:De};const Re=Object.keys(Me);const Fe={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(let r=0,n=Object.keys(Fe);r=48&&e<=57};const Be=new Set(["g","m","s","i","y","u"]);const qe={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const We={};We.bin=[48,49];We.oct=[...We.bin,50,51,52,53,54,55];We.dec=[...We.oct,56,57];We.hex=[...We.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){if(!this.isLookahead){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(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){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}lookahead(){const e=this.state;this.state=e.clone(true);this.isLookahead=true;this.next();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){f.lastIndex=e;const t=f.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}setStrict(e){this.state.strict=e;if(e){this.state.strictErrors.forEach((e,t)=>this.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!(e==null?void 0:e.preserveSpace))this.skipSpace();this.state.start=this.state.pos;this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}const t=e==null?void 0:e.override;if(t){t(this)}else{this.getTokenFromCode(this.input.codePointAt(this.state.pos))}}pushComment(e,t,r,n,s,i){const a={type:e?"CommentBlock":"CommentLine",value:t,start:r,end:n,loc:new SourceLocation(s,i)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){const e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,d.UnterminatedComment);this.state.pos=r+2;p.lastIndex=t;let n;while((n=p.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,d.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?d.RecordExpressionHashIncorrectStartSyntaxType:d.TupleExpressionHashIncorrectStartSyntaxType)}if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}this.state.pos+=2}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){if(this.state.exprAllowed&&!this.state.inType){++this.state.pos;this.readRegexp();return}const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.assign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,d.TupleExpressionBarIncorrectStartSyntaxType)}this.finishToken(u.bracketBarL);this.state.pos+=2}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,d.RecordExpressionBarIncorrectStartSyntaxType)}this.finishToken(u.braceBarL);this.state.pos+=2}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord();return}}throw this.raise(this.state.pos,d.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,d.UnterminatedRegExp)}const n=this.input.charAt(this.state.pos);if(c.test(n)){throw this.raise(e,d.UnterminatedRegExp)}if(t){t=false}else{if(n==="["){r=true}else if(n==="]"&&r){r=false}else if(n==="/"&&!r){break}t=n==="\\"}++this.state.pos}const n=this.input.slice(e,this.state.pos);++this.state.pos;let s="";while(this.state.pos-1){this.raise(this.state.pos+1,d.DuplicateRegExpFlags)}}else if(isIdentifierChar(t)||t===92){this.raise(this.state.pos+1,d.MalformedRegExpFlags)}else{break}++this.state.pos;s+=e}this.finishToken(u.regexp,{pattern:n,flags:s})}readInt(e,t,r,n=true){const s=this.state.pos;const i=e===16?qe.hex:qe.decBinOct;const a=e===16?We.hex:e===10?We.dec:e===8?We.oct:We.bin;let o=false;let l=0;for(let s=0,u=t==null?Infinity:t;s-1||i.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,d.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,d.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Le(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+s+2,d.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===s||t!=null&&this.state.pos-s!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,d.InvalidDigit,e)}const s=this.input.charCodeAt(this.state.pos);if(s===110){++this.state.pos;r=true}else if(s===109){throw this.raise(t,d.InvalidDecimal)}if(isIdentifierStart(this.input.codePointAt(this.state.pos))){throw this.raise(this.state.pos,d.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let s=false;let i=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,d.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,d.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,d.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,d.InvalidOrMissingExponent)}r=true;i=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,d.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(i||o){this.raise(t,d.InvalidDecimal)}++this.state.pos;s=true}if(isIdentifierStart(this.input.codePointAt(this.state.pos))){throw this.raise(this.state.pos,d.NumberIdentifier)}const c=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,c);return}if(s){this.finishToken(u.decimal,c);return}const p=a?parseInt(c,8):parseFloat(c);this.finishToken(u.num,p)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,d.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,d.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++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}else{this.recordStrictModeErrors(this.state.pos-1,d.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let s=parseInt(n,8);if(s>255){n=n.slice(0,-1);s=parseInt(n,8)}this.state.pos+=n.length-1;const i=this.input.charCodeAt(this.state.pos);if(n!=="0"||i===56||i===57){if(e){return null}else{this.recordStrictModeErrors(t,d.StrictNumericEscape)}}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const s=this.readInt(16,e,t,false);if(s===null){if(r){this.raise(n,d.InvalidEscapeSequence)}else{this.state.pos=n-1}}return s}readWord1(){let e="";this.state.containsEsc=false;const t=this.state.pos;let r=this.state.pos;while(this.state.posthis.state.lastTokEnd){this.raise(this.state.lastTokEnd,e)}}unexpected(e,t="Unexpected token"){if(typeof t!=="string"){t=`Unexpected token, expected "${t.label}"`}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?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)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,d.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{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 SourceLocation(r);if(e==null?void 0:e.options.ranges)this.range=[t,0];if(e==null?void 0:e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Ue(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let s=undefined;if(e.type==="ParenthesizedExpression"||((r=e.extra)==null?void 0:r.parenthesized)){s=Ue(e);if(t){if(s.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,d.InvalidParenthesizedAssignment)}else if(s.type!=="MemberExpression"){this.raise(e.start,d.InvalidParenthesizedAssignment)}}else{this.raise(e.start,d.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,s=n-1;r{this.raise(r,t);let n=e.length-2;let s=e[n];while(s.canBeArrowParameterDeclaration()){s.clearDeclarationError(r);s=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope(Je)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Ve)}function newAsyncArrowScope(){return new ArrowHeadParsingScope($e)}function newExpressionScope(){return new ExpressionScope}class ExpressionParser extends LValParser{checkProto(e,t,r,n){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand){return}const s=e.key;const i=s.type==="Identifier"?s.name:s.value;if(i==="__proto__"){if(t){this.raise(s.start,d.RecordNoProto);return}if(r.used){if(n){if(n.doubleProto===-1){n.doubleProto=s.start}}else{this.raise(s.start,d.DuplicateProto)}}r.used=true}}shouldExitDescending(e,t){return e.type==="ArrowFunctionExpression"&&e.start===t}getExpression(){let e=Pe;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ae}this.scope.enter(_);this.prodParam.enter(e);this.nextToken();const t=this.parseExpression();if(!this.match(u.eof)){this.unexpected()}t.comments=this.state.comments;t.errors=this.state.errors;return t}parseExpression(e,t){if(e){return this.disallowInAnd(()=>this.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const s=this.startNodeAt(t,r);s.expressions=[n];while(this.eat(u.comma)){s.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(s.expressions);return this.finishNode(s,"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;const s=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){this.state.exprAllowed=true;let e=this.parseYield();if(t){e=t.call(this,e,n,s)}return e}}let i;if(e){i=false}else{e=new ExpressionErrors;i=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,s)}if(this.state.type.isAssign){const t=this.startNodeAt(n,s);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(i){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.state.potentialArrowAt;const i=this.parseExprOps(e);if(this.shouldExitDescending(i,s)){return i}return this.parseConditional(i,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseMaybeUnary(e);if(this.shouldExitDescending(s,n)){return s}return this.parseExprOp(s,t,r,-1)}parseExprOp(e,t,r,n){let s=this.state.type.binop;if(s!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(s>n){const i=this.state.type;if(i===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;if(i===u.exponent&&e.type==="UnaryExpression"&&(this.options.createParenthesizedExpressions||!(e.extra&&e.extra.parenthesized))){this.raise(e.argument.start,d.UnexpectedTokenUnaryExponentiation)}const o=i===u.logicalOR||i===u.logicalAND;const l=i===u.nullishCoalescing;if(l){s=u.logicalAND.binop}this.next();if(i===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,d.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(i,s);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const c=this.state.type;if(l&&(c===u.logicalOR||c===u.logicalAND)||o&&c===u.nullishCoalescing){throw this.raise(this.state.start,d.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}parseMaybeUnary(e){if(this.isContextual("await")&&this.isAwaitAllowed()){return this.parseAwait()}const t=this.match(u.incDec);const r=this.startNode();if(this.state.type.prefix){r.operator=this.state.value;r.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const n=this.match(u._delete);this.next();r.argument=this.parseMaybeUnary();this.checkExpressionErrors(e,true);if(this.state.strict&&n){const e=r.argument;if(e.type==="Identifier"){this.raise(r.start,d.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(r.start,d.DeletePrivateField)}}if(!t){return this.finishNode(r,"UnaryExpression")}}return this.parseUpdate(r,t,e)}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const s=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return i;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,s);e.operator=this.state.value;e.prefix=false;e.argument=i;this.checkLVal(i,"postfix operation");this.next();i=this.finishNode(e,"UpdateExpression")}return i}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprAtom(e);if(this.shouldExitDescending(s,n)){return s}return this.parseSubscripts(s,t,r)}parseSubscripts(e,t,r,n){const s={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,s);s.maybeAsyncArrow=false}while(!s.stop);return e}parseSubscript(e,t,r,n,s){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,s)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,s)}let i=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){s.stop=true;return e}s.optionalChainMember=i=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,s,i)}else if(i||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,s,i)}else{s.stop=true;return e}}parseMember(e,t,r,n,s){const i=this.startNodeAt(t,r);const a=this.eat(u.bracketL);i.object=e;i.computed=a;const o=a?this.parseExpression():this.parseMaybePrivateName(true);if(this.isPrivateName(o)){if(i.object.type==="Super"){this.raise(t,d.SuperPrivateField)}this.classScope.usePrivateName(this.getPrivateNameSV(o),o.start)}i.property=o;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){i.optional=s;return this.finishNode(i,"OptionalMemberExpression")}else{return this.finishNode(i,"MemberExpression")}}parseBind(e,t,r,n,s){const i=this.startNodeAt(t,r);i.object=e;i.callee=this.parseNoCallExpr();s.stop=true;return this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,s){const i=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;this.next();let a=this.startNodeAt(t,r);a.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope())}if(n.optionalChainMember){a.optional=s}if(s){a.arguments=this.parseCallExpressionArguments(u.parenR,false)}else{a.arguments=this.parseCallExpressionArguments(u.parenR,n.maybeAsyncArrow,e.type==="Import",e.type!=="Super",a)}this.finishCallExpression(a,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!s){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();a=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),a)}else{if(n.maybeAsyncArrow){this.expressionScope.exit()}this.toReferencedArguments(a)}this.state.maybeInArrowParameters=i;return a}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const s=this.startNodeAt(t,r);s.tag=e;s.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,d.OptionalChainingNoTemplate)}return this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,d.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(let t=0,r=e.arguments;t1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",y,m)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const b=this.startNodeAt(t,r);b.expression=n;this.finishNode(b,"ParenthesizedExpression");return b}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){let e=d.UnexpectedNewTarget;if(this.hasPlugin("classProperties")){e+=" or class properties"}this.raise(r.start,e)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,d.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,d.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,d.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,d.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(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const s=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(s,r,i,n)}if(r&&!this.isObjectProperty(s)&&s.type!=="SpreadElement"){this.raise(s.start,d.InvalidRecordProperty)}if(s.shorthand){this.addExtra(s,"shorthand",true)}o.properties.push(s)}this.state.exprAllowed=false;this.next();this.state.inFSharpPipelineDirectBody=s;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,d.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let s=false;let i=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){s=this.eat(u.star)}const c=this.state.containsEsc;const p=this.parsePropertyName(n,false);if(!e&&!s&&!c&&this.maybeAsyncOrAccessorProp(n)){const e=p.name;if(e==="async"&&!this.hasPrecedingLineBreak()){i=true;s=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){s=true;this.raise(this.state.pos,d.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,s,i,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const s=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(s,d.BadGetterArity)}else{this.raise(s,d.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(s,d.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,s){if(s){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,s){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(s);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&s){if(s.shorthandAssign===-1){s.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,s,i,a,o){const l=this.parseObjectMethod(e,n,s,i,a)||this.parseObjectProperty(e,t,r,i,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;e.key=this.match(u.num)||this.match(u.string)||this.match(u.bigint)||this.match(u.decimal)?this.parseExprAtom():this.parseMaybePrivateName(t);if(!this.isPrivateName(e.key)){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,s,i,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(C|I|(a?N:0)|(s?k:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,i,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=this.startNode();this.next();i.elements=this.parseExprList(e,!r,n,i);this.state.inFSharpPipelineDirectBody=s;return this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(C|j);let s=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){s|=_e}this.prodParam.enter(s);this.initFunction(e,r);const i=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=i;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const s=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|Oe);e.body=this.parseBlock(true,false,s=>{const i=!this.isSimpleParamList(e.params);if(s&&i){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,d.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!i,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",re,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=s}}isSimpleParamList(e){for(let t=0,r=e.length;t=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const s=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return s}}const Ye={kind:"loop"},Xe={kind:"switch"};const He=0,ze=1,Ge=2,Qe=4;const Ze=/[\uD800-\uDFFF]/u;class StatementParser extends ExpressionParser{parseTopLevel(e,t){t.sourceType=this.options.sourceType;t.interpreter=this.parseInterpreterDirective();this.parseBlockBody(t,true,true,u.eof);if(this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0){for(let e=0,t=Array.from(this.scope.undefinedExports);ethis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return 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(O);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isLet();if(this.match(u._var)||this.match(u._const)||r){const n=this.startNode();const s=r?"let":this.state.value;this.next();this.parseVar(n,true,s);this.finishNode(n,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&n.declarations.length===1){return this.parseForIn(e,n,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,n)}const n=new ExpressionErrors;const s=this.parseExpression(true,n);if(this.match(u._in)||this.isContextual("of")){this.toAssignable(s,true);const r=this.isContextual("of")?"for-of statement":"for-in statement";this.checkLVal(s,r);return this.parseForIn(e,s,t)}else{this.checkExpressionErrors(n,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,ze|(r?0:Ge),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,d.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(Xe);this.scope.enter(O);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,d.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,d.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?D:0);this.checkLVal(e,"catch clause",X);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(O)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,d.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ye);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,d.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(let e=0,n=this.state.labels;e=0;t--){const r=this.state.labels[t];if(r.statementStart===e.start){r.statementStart=this.state.start;r.kind=s}else{break}}this.state.labels.push({name:t,kind:s,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(O)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,s){const i=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:undefined,r,n,s)}parseBlockOrModuleBlockBody(e,t,r,n,s){const i=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(s){s.call(this,a)}if(!i){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.expect(u.semi);e.test=this.match(u.semi)?null:this.parseExpression();this.expect(u.semi);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,d.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,d.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const s=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!s){this.raise(this.state.lastTokEnd,d.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,d.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?H:X,undefined,t!=="var")}parseFunction(e,t=He,r=false){const n=t&ze;const s=t&Ge;const i=!!n&&!(t&Qe);this.initFunction(e,r);if(this.match(u.star)&&s){this.raise(this.state.start,d.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(i)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(C);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!s){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?H:X:z,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={constructorAllowsSuper:e,hadConstructor:false,hadStaticBlock:false};let n=[];const s=this.startNode();s.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,d.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(s,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,d.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,d.TrailingDecorator)}this.classScope.exit();return this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t,r);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const s=t;const i=t;const a=t;const o=t;const l=s;const c=s;t.static=n;if(this.eat(u.star)){l.kind="method";this.parseClassElementName(l);if(this.isPrivateName(l.key)){this.pushClassPrivateMethod(e,i,true,false);return}if(this.isNonstaticConstructor(s)){this.raise(s.key.start,d.ConstructorIsGenerator)}this.pushClassMethod(e,s,true,false,false,false);return}const p=this.state.containsEsc;const f=this.parseClassElementName(t);const h=this.isPrivateName(f);const y=f.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(c);if(this.isClassMethod()){l.kind="method";if(h){this.pushClassPrivateMethod(e,i,false,false);return}const t=this.isNonstaticConstructor(s);let n=false;if(t){s.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(f.start,d.DuplicateConstructor)}r.hadConstructor=true;n=r.constructorAllowsSuper}this.pushClassMethod(e,s,false,false,t,n)}else if(this.isClassProperty()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(y&&f.name==="async"&&!p&&!this.isLineTerminator()){const t=this.eat(u.star);if(c.optional){this.unexpected(m)}l.kind="method";this.parseClassElementName(l);this.parsePostMemberNameModifiers(c);if(this.isPrivateName(l.key)){this.pushClassPrivateMethod(e,i,t,true)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,d.ConstructorIsAsync)}this.pushClassMethod(e,s,t,true,false,false)}}else if(y&&(f.name==="get"||f.name==="set")&&!p&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=f.name;this.parseClassElementName(s);if(this.isPrivateName(l.key)){this.pushClassPrivateMethod(e,i,false,false)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,d.ConstructorIsAccessor)}this.pushClassMethod(e,s,false,false,false,false)}this.checkGetterSetterParams(s)}else if(this.isLineTerminator()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const t=this.parsePropertyName(e,true);if(!e.computed&&e.static&&(t.name==="prototype"||t.value==="prototype")){this.raise(t.start,d.StaticPrototype)}if(this.isPrivateName(t)&&this.getPrivateNameSV(t)==="constructor"){this.raise(t.start,d.ConstructorClassPrivateField)}return t}parseClassStaticBlock(e,t,r){var n;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(N|I);this.expressionScope.enter(newExpressionScope());const s=this.state.labels;this.state.labels=[];this.prodParam.enter(Pe);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,u.braceR);this.prodParam.exit();this.expressionScope.exit();this.scope.exit();this.state.labels=s;e.body.push(this.finishNode(t,"StaticBlock"));if(r.hadStaticBlock){this.raise(t.start,d.DuplicateStaticBlock)}if((n=t.decorators)==null?void 0:n.length){this.raise(t.start,d.DecoratorStaticBlock)}r.hadStaticBlock=true}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,d.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){this.expectPlugin("classPrivateProperties",t.key.start);const r=this.parseClassPrivateProperty(t);e.body.push(r);this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),de,r.key.start)}pushClassMethod(e,t,r,n,s,i){e.body.push(this.parseMethod(t,r,n,s,i,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){this.expectPlugin("classPrivateMethods",t.key.start);const s=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(s);const i=s.kind==="get"?s.static?ue:pe:s.kind==="set"?s.static?ce:fe:de;this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),i,s.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){if(!e.typeAnnotation||this.match(u.eq)){this.expectPlugin("classProperties")}this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(N|I);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(Pe);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=Y){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,d.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const s=n&&this.maybeParseExportNamespaceSpecifier(e);const i=r&&(!s||this.eat(u.comma));const a=t||n;if(n&&!s){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||s&&i&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!c.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,ze|Qe,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,d.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,d.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,d.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var s;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((s=t.extra)==null?void 0:s.parenthesized)){this.raise(t.start,d.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(let t=0,r=e.specifiers;t-1){this.raise(e.start,t==="default"?d.DuplicateDefaultExport:d.DuplicateExport,t)}this.state.exportedIdentifiers.push(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.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(u.string)){this.expectPlugin("moduleStringNames");const e=this.parseLiteral(this.state.value,"StringLiteral");const t=e.value.match(Ze);if(t){this.raise(e.start,d.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,X);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(this.match(u.string)){r.key=this.parseLiteral(n,"StringLiteral")}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(n!=="type"){this.raise(r.key.start,d.ModuleAttributeDifferentFromType,n)}if(t.has(n)){this.raise(r.key.start,d.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(!this.match(u.string)){throw this.unexpected(this.state.start,d.ModuleAttributeInvalidValue)}r.value=this.parseLiteral(this.state.value,"StringLiteral");this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,d.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,d.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,d.ModuleAttributeInvalidValue)}r.value=this.parseLiteral(this.state.value,"StringLiteral");this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,d.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(e.type==="StringLiteral"){throw this.raise(t.start,d.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",X);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}}class ClassScope{constructor(){this.privateNames=new Set;this.loneAccessors=new Map;this.undefinedPrivateNames=new Map}}class ClassScopeHandler{constructor(e){this.stack=[];this.undefinedPrivateNames=new Map;this.raise=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new ClassScope)}exit(){const e=this.stack.pop();const t=this.current();for(let r=0,n=Array.from(e.undefinedPrivateNames);rhasPlugin(e,t));const r=t.join("/");let n=et[r];if(!n){n=Parser;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var s=r(46919);var i=(0,n.declare)((e,t)=>{e.assertVersion(7);return(0,s.createClassFeaturePlugin)({name:"proposal-class-properties",feature:s.FEATURES.fields,loose:t.loose,manipulateOptions(e,t){t.plugins.push("classProperties","classPrivateProperties")}})});t.default=i},7433:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=_interopRequireDefault(r(93810));_gensync=function(){return e};return e}var n=r(26334);var s=r(10114);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=e=>{return(0,_gensync().default)(e).sync};function*genTrue(e){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return i(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return i(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const i=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const u=l?i:r;const c=yield*getCachedValueOrWait(l,u,a,e,o);if(c.valid)return c.value;const p=new CacheConfigurator(o);const f=t(e,p);let d;let h;if((0,s.isIterableIterator)(f)){const t=f;h=yield*(0,n.onFirstPause)(t,()=>{d=setupAsyncLocks(p,a,e)})}else{h=f}updateFunctionCache(u,p,e,h);if(d){a.delete(e);d.release(h)}return h}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,s,i){const a=yield*getCachedValue(t,s,i);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,s,i);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let s=e.get(r);t.deactivate();switch(t.mode()){case"forever":s=[{value:n,valid:genTrue}];e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}];e.set(r,s);break;case"valid":if(s){s.push({value:n,valid:t.validator()})}else{s=[{value:n,valid:t.validator()}];e.set(r,s)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then(e=>{this._pairs.push([e,r]);return e})}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},39033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}function _debug(){const e=_interopRequireDefault(r(31185));_debug=function(){return e};return e}var n=r(4848);var s=_interopRequireDefault(r(85492));var i=r(57938);var a=r(92234);var o=r(7433);var l=r(20350);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const u=(0,_debug().default)("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*c(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map(e=>normalizeOptions(e)),files:new Set}}const c=makeChainWalker({root:e=>p(e),env:(e,t)=>f(e)(t),overrides:(e,t)=>d(e)(t),overridesEnv:(e,t,r)=>h(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=c;const p=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const f=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const h=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,r))));function*buildRootChain(e,t){let r,n;const s=new i.ConfigPrinter;const o=yield*b({options:e,dirname:t.cwd},t,undefined,s);if(!o)return null;const l=s.output();let u;if(typeof e.configFile==="string"){u=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){u=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:c,babelrcRoots:p}=e;let f=t.cwd;const d=emptyChain();const h=new i.ConfigPrinter;if(u){const e=y(u);const n=yield*loadFileChain(e,t,undefined,h);if(!n)return null;r=h.output();if(c===undefined){c=e.options.babelrc}if(p===undefined){f=e.dirname;p=e.options.babelrcRoots}mergeChain(d,n)}const g=typeof t.filename==="string"?yield*(0,a.findPackageData)(t.filename):null;let T,v;let x=false;const E=emptyChain();if((c===true||c===undefined)&&g&&babelrcLoadEnabled(t,g,p,f)){({ignore:T,config:v}=yield*(0,a.findRelativeConfig)(g,t.envName,t.caller));if(T){E.files.add(T.filepath)}if(T&&shouldIgnore(t,T.ignore,null,T.dirname)){x=true}if(v&&!x){const e=m(v);const r=new i.ConfigPrinter;const s=yield*loadFileChain(e,t,undefined,r);if(!s){x=true}else{n=r.output();mergeChain(E,s)}}if(v&&x){E.files.add(v.filepath)}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,l].filter(e=>!!e).join("\n\n"));return null}const S=mergeChain(mergeChain(mergeChain(emptyChain(),d),E),o);return{plugins:x?[]:dedupDescriptors(S.plugins),presets:x?[]:dedupDescriptors(S.presets),options:x?[]:S.options.map(e=>normalizeOptions(e)),fileHandling:x?"ignored":"transpile",ignore:T||undefined,babelrc:v||undefined,config:u||undefined,files:S.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const i=e.root;if(r===undefined){return t.directories.indexOf(i)!==-1}let a=r;if(!Array.isArray(a))a=[a];a=a.map(e=>{return typeof e==="string"?_path().default.resolve(n,e):e});if(a.length===1&&a[0]===i){return t.directories.indexOf(i)!==-1}return a.some(r=>{if(typeof r==="string"){r=(0,s.default)(r,n)}return t.directories.some(t=>{return matchPattern(r,n,t,e)})})}const y=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options)}));const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options)}));const g=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options)}));const b=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const T=makeChainWalker({root:e=>v(e),env:(e,t)=>x(e)(t),overrides:(e,t)=>E(e)(t),overridesEnv:(e,t,r)=>S(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const s=yield*T(e,t,r,n);if(s){s.files.add(e.filepath)}return s}const v=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const x=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const E=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const S=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,r))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,s){const i=t.env&&t.env[s];return i?n(e,i,`${r}.env["${s}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,s){const i=t.overrides&&t.overrides[s];if(!i)throw new Error("Assertion failure - missing override");return n(e,i,`${r}.overrides[${s}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,s,i){const a=t.overrides&&t.overrides[s];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[i];return o?n(e,o,`${r}.overrides[${s}].env["${i}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*(i,a,o=new Set,l){const{dirname:u}=i;const c=[];const p=e(i);if(configIsApplicable(p,u,a)){c.push({config:p,envName:undefined,index:undefined});const e=t(i,a.envName);if(e&&configIsApplicable(e,u,a)){c.push({config:e,envName:a.envName,index:undefined})}(p.options.overrides||[]).forEach((e,t)=>{const s=r(i,t);if(configIsApplicable(s,u,a)){c.push({config:s,index:t,envName:undefined});const e=n(i,t,a.envName);if(e&&configIsApplicable(e,u,a)){c.push({config:e,index:t,envName:a.envName})}}})}if(c.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,u))){return null}const f=emptyChain();const d=s(i,a,l);for(const{config:e,index:t,envName:r}of c){if(!(yield*mergeExtendsChain(f,e.options,u,a,o,l))){return null}d(e,t,r);mergeChainOpts(f,e)}return f}}function*mergeExtendsChain(e,t,r,n,s,i){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(s,e=>` - ${e.filepath}`).join("\n"))}s.add(o);const l=yield*loadFileChain(g(o),n,s,i);s.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...r());e.presets.push(...n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let s=t.get(e);if(!s){s=new Map;t.set(e,s)}let i=s.get(n.name);if(!i){i={value:n};r.push(i);if(!n.ownPass)s.set(n.name,i)}else{i.value=n}}else{r.push({value:n})}}return r.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,r){return(e.test===undefined||configFieldIsApplicable(r,e.test,t))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t))}function configFieldIsApplicable(e,t,r){const n=Array.isArray(t)?t:[t];return matchesPatterns(e,n,r)}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var s;const r=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${n}"`;u(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var i;const t=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r)}\` from "${n}"`;u(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r){return t.some(t=>matchPattern(t,r,e.filename,e))}function matchPattern(e,t,r,n){if(typeof e==="function"){return!!e(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,s.default)(e,t)}return e.test(r)}},20350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;var n=r(92234);var s=r(34090);var i=r(7433);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function createCachedDescriptors(e,t,r){const{plugins:n,presets:s,passPerPreset:i}=t;return{options:t,plugins:n?()=>u(n,e)(r):()=>[],presets:s?()=>o(s,e)(r)(!!i):()=>[]}}function createUncachedDescriptors(e,t,r){let n;let s;return{options:t,plugins:()=>{if(!n){n=createPluginDescriptors(t.plugins||[],e,r)}return n},presets:()=>{if(!s){s=createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)}return s}}}const a=new WeakMap;const o=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCacheSync)(t=>(0,i.makeStrongCacheSync)(n=>createPresetDescriptors(e,r,t,n).map(e=>loadCachedDescriptor(a,e))))});const l=new WeakMap;const u=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCacheSync)(t=>createPluginDescriptors(e,r,t).map(e=>loadCachedDescriptor(l,e)))});const c={};function loadCachedDescriptor(e,t){const{value:r,options:n=c}=t;if(n===false)return t;let s=e.get(r);if(!s){s=new WeakMap;e.set(r,s)}let i=s.get(n);if(!i){i=[];s.set(n,i)}if(i.indexOf(t)===-1){const e=i.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}i.push(t)}return t}function createPresetDescriptors(e,t,r,n){return createDescriptors("preset",e,t,r,n)}function createPluginDescriptors(e,t,r){return createDescriptors("plugin",e,t,r)}function createDescriptors(e,t,r,n,s){const i=t.map((t,i)=>createDescriptor(t,r,{type:e,alias:`${n}$${i}`,ownPass:!!s}));assertNoDuplicates(i);return i}function createDescriptor(e,t,{type:r,alias:i,ownPass:a}){const o=(0,s.getItemDescriptor)(e);if(o){return o}let l;let u;let c=e;if(Array.isArray(c)){if(c.length===3){[c,u,l]=c}else{[c,u]=c}}let p=undefined;let f=null;if(typeof c==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?n.loadPlugin:n.loadPreset;const s=c;({filepath:f,value:c}=e(c,t));p={request:s,resolved:f}}if(!c){throw new Error(`Unexpected falsy value: ${String(c)}`)}if(typeof c==="object"&&c.__esModule){if(c.default){c=c.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof c!=="object"&&typeof c!=="function"){throw new Error(`Unsupported format: ${typeof c}. Expected an object or a function.`)}if(f!==null&&typeof c==="object"&&c){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${f}`)}return{name:l,alias:f||i,value:c,options:u,dirname:t,ownPass:a,file:p}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter(e=>e.value===r.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}},87587:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=_interopRequireDefault(r(31185));_debug=function(){return e};return e}function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}function _json(){const e=_interopRequireDefault(r(33170));_json=function(){return e};return e}function _gensync(){const e=_interopRequireDefault(r(93810));_gensync=function(){return e};return e}var n=r(7433);var s=_interopRequireDefault(r(50847));var i=r(50815);var a=_interopRequireDefault(r(20570));var o=_interopRequireDefault(r(85492));var l=_interopRequireWildcard(r(29042));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const u=(0,_debug().default)("babel:config:loading:files:configuration");const c=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=c;const p=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const f=".babelignore";function*findConfigUpwards(e){let t=e;while(true){for(const e of c){if(yield*l.exists(_path().default.join(t,e))){return t}}const e=_path().default.dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let s=null;const i=_path().default.dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(p,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?y(e.pkg):null)}if(!s){const e=_path().default.join(o,f);s=yield*g(e);if(s){u("Found ignore %o from %o.",s.filepath,i)}}}return{config:n,ignore:s}}function findRootConfig(e,t,r){return loadOneConfig(c,e,t,r)}function*loadOneConfig(e,t,r,n,s=null){const i=yield*_gensync().default.all(e.map(e=>readConfig(_path().default.join(t,e),r,n)));const a=i.reduce((e,r)=>{if(r&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().default.basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e},s);if(a){u("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,s){const i=(parseFloat(process.versions.node)>=8.9?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]});const a=yield*readConfig(i,n,s);if(!a){throw new Error(`Config file ${i} contains no configuration data`)}u("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().default.extname(e);return n===".js"||n===".cjs"||n===".mjs"?h(e,{envName:t,caller:r}):m(e)}const d=new Set;const h=(0,n.makeStrongCache)(function*readConfigJS(e,t){if(!l.exists.sync(e)){t.forever();return null}if(d.has(e)){t.never();u("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().default.dirname(e),options:{}}}let r;try{d.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{d.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=r((0,s.default)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof r.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(n&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().default.dirname(e),options:r}});const y=(0,n.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const m=(0,i.makeStaticFileCache)((e,t)=>{let r;try{r=_json().default.parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().default.dirname(e),options:r}});const g=(0,i.makeStaticFileCache)((e,t)=>{const r=_path().default.dirname(e);const n=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of n){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().default.dirname(e),ignore:n.map(e=>(0,o.default)(e,r))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().default.resolve(e,t);const n=yield*l.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},45884:(e,t,r)=>{"use strict";var n;n={value:true};t.Z=import_;function import_(e){return r(14623)(e)}},92234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return s.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return s.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return s.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return s.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return s.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return s.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return i.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return i.loadPreset}});var n=r(21542);var s=r(87587);var i=r(69363);({})},20570:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var n=r(26334);function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}function _url(){const e=r(78835);_url=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)})}}let s;try{s=r(45884).Z}catch(e){}function*loadCjsOrMjsDefault(e,t){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e);case"unknown":try{return loadCjsDefault(e)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().default.extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e){const t=require(e);return(t==null?void 0:t.__esModule)?t.default||undefined:t}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!s){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield s((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},21542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}var n=r(50815);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s="package.json";function*findPackageData(e){let t=null;const r=[];let n=true;let a=_path().default.dirname(e);while(!t&&_path().default.basename(a)!=="node_modules"){r.push(a);t=yield*i(_path().default.join(a,s));const e=_path().default.dirname(a);if(a===e){n=false;break}a=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}const i=(0,n.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().default.dirname(e),options:r}})},69363:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=_interopRequireDefault(r(31185));_debug=function(){return e};return e}function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=(0,_debug().default)("babel:config:loading:files:plugins");const s=/^module:/;const i=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const a=/^(?!@|module:|[^/]+\/|babel-preset-)/;const o=/^(@babel\/)(?!plugin-|[^/]+\/)/;const l=/^(@babel\/)(?!preset-|[^/]+\/)/;const u=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const c=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const p=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function loadPlugin(e,t){const r=resolvePlugin(e,t);if(!r){throw new Error(`Plugin ${e} not found relative to ${t}`)}const s=requireModule("plugin",r);n("Loaded plugin %o from %o.",e,t);return{filepath:r,value:s}}function loadPreset(e,t){const r=resolvePreset(e,t);if(!r){throw new Error(`Preset ${e} not found relative to ${t}`)}const s=requireModule("preset",r);n("Loaded preset %o from %o.",e,t);return{filepath:r,value:s}}function standardizeName(e,t){if(_path().default.isAbsolute(t))return t;const r=e==="preset";return t.replace(r?a:i,`babel-${e}-`).replace(r?l:o,`$1${e}-`).replace(r?c:u,`$1babel-${e}-`).replace(p,`$1/babel-${e}`).replace(s,"")}function resolveStandardizedName(e,t,n=process.cwd()){const s=standardizeName(e,t);try{return(parseFloat(process.versions.node)>=8.9?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(s,{paths:[n]})}catch(i){if(i.code!=="MODULE_NOT_FOUND")throw i;if(s!==t){let e=false;try{(parseFloat(process.versions.node)>=8.9?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(t,{paths:[n]});e=true}catch(e){}if(e){i.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(parseFloat(process.versions.node)>=8.9?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(e,"@babel/"+t),{paths:[n]});a=true}catch(e){}if(a){i.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(parseFloat(process.versions.node)>=8.9?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(l,t),{paths:[n]});o=true}catch(e){}if(o){i.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw i}}const f=new Set;function requireModule(e,t){if(f.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{f.add(t);return require(t)}finally{f.delete(t)}}},50815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(7433);var s=_interopRequireWildcard(r(29042));function _fs2(){const e=_interopRequireDefault(r(35747));_fs2=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function makeStaticFileCache(e){return(0,n.makeStrongCache)(function*(t,r){const n=r.invalidate(()=>fileMtime(t));if(n===null){return null}return e(t,yield*s.readFile(t,"utf8"))})}function fileMtime(e){try{return+_fs2().default.statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},6342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=_interopRequireDefault(r(93810));_gensync=function(){return e};return e}var n=r(26334);var s=r(10114);var i=_interopRequireWildcard(r(88509));var a=_interopRequireDefault(r(3079));var o=r(34090);var l=r(39033);function _traverse(){const e=_interopRequireDefault(r(18442));_traverse=function(){return e};return e}var u=r(7433);var c=r(4848);var p=r(66341);var f=_interopRequireDefault(r(50847));var d=_interopRequireDefault(r(92733));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var h=(0,_gensync().default)(function*loadFullConfig(e){const t=yield*(0,d.default)(e);if(!t){return null}const{options:r,context:n,fileHandling:i}=t;if(i==="ignored"){return null}const a={};const{plugins:l,presets:u}=r;if(!l||!u){throw new Error("Assertion failure - plugins and presets exist")}const p=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const f=u.map(p);const h=l.map(p);const y=[[]];const m=[];const g=yield*enhanceError(n,function*recursePresetDescriptors(e,t){const r=[];for(let s=0;s0){y.splice(1,0,...r.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach(e=>{(0,s.mergeOptions)(a,e)})}}})(f,y[0]);if(g)return null;const b=a;(0,s.mergeOptions)(b,r);yield*enhanceError(n,function*loadPluginDescriptors(){y[0].unshift(...h);for(const e of y){const t=[];m.push(t);for(let r=0;re.length>0).map(e=>({plugins:e}));b.passPerPreset=b.presets.length>0;return{options:b,passes:m}});t.default=h;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const y=(0,u.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:n},s){if(t===false)throw new Error("Assertion failure");t=t||{};let a=e;if(typeof e==="function"){const o=Object.assign({},i,(0,f.default)(s));try{a=e(o,t,r)}catch(e){if(n){e.message+=` (While processing: ${JSON.stringify(n)})`}throw e}}if(!a||typeof a!=="object"){throw new Error("Plugin/Preset did not return an object.")}if(typeof a.then==="function"){yield*[];throw new Error(`You appear to be using an async plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}return{value:a,options:t,dirname:r,alias:n}});function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*m(yield*y(e,t),t)}const m=(0,u.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:s},i){const o=(0,p.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${s}$inherits`,value:l.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,t=>{return i.invalidate(r=>t(e,r))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,s)});const g=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const b=(e,t,r)=>{if(!t.filename){const{options:t}=e;g(t,r);if(t.overrides){t.overrides.forEach(e=>g(e,r))}}};function*loadPresetDescriptor(e,t){const r=T(yield*y(e,t));b(r,t,e);return yield*(0,l.buildPresetChain)(r,t)}const T=(0,u.makeWeakCacheSync)(({value:e,dirname:t,alias:r})=>{return{options:(0,c.validate)("preset",e),alias:r,dirname:t}});function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}},50847:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=makeAPI;function _semver(){const e=_interopRequireDefault(r(62519));_semver=function(){return e};return e}var n=r(88509);var s=r(7433);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function makeAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,s.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const r=t=>e.using(e=>(0,s.assertSimpleType)(t(e.caller)));return{version:n.version,cache:e.simple(),env:t,async:()=>false,caller:r,assertVersion:assertVersion}}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().default.satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}},57228:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},45411:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=_interopRequireDefault(r(93810));_gensync=function(){return e};return e}var n=_interopRequireDefault(r(6342));var s=r(92733);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=(0,_gensync().default)(function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null});const a=e=>(t,r)=>{if(r===undefined&&typeof t==="function"){r=t;t=undefined}return r?e.errback(t,r):e.sync(t)};const o=a(s.loadPartialConfig);t.loadPartialConfig=o;const l=s.loadPartialConfig.sync;t.loadPartialConfigSync=l;const u=s.loadPartialConfig.async;t.loadPartialConfigAsync=u;const c=a(i);t.loadOptions=c;const p=i.sync;t.loadOptionsSync=p;const f=i.async;t.loadOptionsAsync=f},34090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}var n=r(20350);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function createItemFromDescriptor(e){return new ConfigItem(e)}function createConfigItem(e,{dirname:t=".",type:r}={}){const s=(0,n.createDescriptor)(e,_path().default.resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(s)}function getItemDescriptor(e){if(e==null?void 0:e[s]){return e._descriptor}return undefined}const s=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[s]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,s,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},92733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}function _gensync(){const e=_interopRequireDefault(r(93810));_gensync=function(){return e};return e}var n=_interopRequireDefault(r(3079));var s=r(10114);var i=r(34090);var a=r(39033);var o=r(57228);var l=r(4848);var u=r(92234);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}function*resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=yield*(0,u.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=yield*(0,u.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${u.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:c=".",rootMode:p="root",caller:f,cloneInputAst:d=true}=t;const h=_path().default.resolve(n);const y=yield*resolveRootMode(_path().default.resolve(h,c),p);const m=typeof t.filename==="string"?_path().default.resolve(n,t.filename):undefined;const g=yield*(0,u.resolveShowConfigPath)(h);const b={filename:m,cwd:h,root:y,envName:r,caller:f,showConfig:g===m};const T=yield*(0,a.buildRootChain)(t,b);if(!T)return null;const v={};T.options.forEach(e=>{(0,s.mergeOptions)(v,e)});v.cloneInputAst=d;v.babelrc=false;v.configFile=false;v.passPerPreset=false;v.envName=b.envName;v.cwd=b.cwd;v.root=b.root;v.filename=typeof b.filename==="string"?b.filename:undefined;v.plugins=T.plugins.map(e=>(0,i.createItemFromDescriptor)(e));v.presets=T.presets.map(e=>(0,i.createItemFromDescriptor)(e));return{options:v,context:b,fileHandling:T.fileHandling,ignore:T.ignore,babelrc:T.babelrc,config:T.config,files:T.files}}const c=(0,_gensync().default)(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,["showIgnoredFiles"]);r}const s=yield*loadPrivatePartialConfig(e);if(!s)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:u,files:c}=s;if(u==="ignored"&&!t){return null}(i.plugins||[]).forEach(e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(i,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,u,c)});t.loadPartialConfig=c;class PartialConfig{constructor(e,t,r,n,s,i){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=s;this.files=i;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},85492:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}function _escapeRegExp(){const e=_interopRequireDefault(r(76421));_escapeRegExp=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=`\\${_path().default.sep}`;const s=`(?:${n}|$)`;const i=`[^${n}]+`;const a=`(?:${i}${n})`;const o=`(?:${i}${s})`;const l=`${a}*?`;const u=`${a}*?${o}?`;function pathToPattern(e,t){const r=_path().default.resolve(t,e).split(_path().default.sep);return new RegExp(["^",...r.map((e,t)=>{const c=t===r.length-1;if(e==="**")return c?u:l;if(e==="*")return c?o:a;if(e.indexOf("*.")===0){return i+(0,_escapeRegExp().default)(e.slice(1))+(c?s:n)}return(0,_escapeRegExp().default)(e)+(c?s:n)})].join(""))}},3079:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,r){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},57938:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;const r={Programmatic:0,Config:1};t.ChainFormatter=r;const n={title(e,t,n){let s="";if(e===r.Programmatic){s="programmatic options";if(t){s+=" from "+t}}else{s="config "+n}return s},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...e.plugins()];if(r.length){t.plugins=r.map(e=>descriptorToConfig(e))}const n=[...e.presets()];if(n.length){t.presets=[...n].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,s,i)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:s,envName:i})}}static format(e){let t=n.title(e.type,e.callerName,e.filepath);const r=n.loc(e.index,e.envName);if(r)t+=` ${r}`;const s=n.optionsAndDescriptors(e.content);return`${t}\n${s}`}output(){if(this._stack.length===0)return"";return this._stack.map(e=>ConfigPrinter.format(e)).join("\n\n")}}t.ConfigPrinter=ConfigPrinter},10114:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const r of Object.keys(t)){if(r==="parserOpts"&&t.parserOpts){const r=t.parserOpts;const n=e.parserOpts=e.parserOpts||{};mergeDefaultFields(n,r)}else if(r==="generatorOpts"&&t.generatorOpts){const r=t.generatorOpts;const n=e.generatorOpts=e.generatorOpts||{};mergeDefaultFields(n,r)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},98840:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r["name"]!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const s=r[t];if(s!=null&&typeof s!=="boolean"&&typeof s!=="string"&&typeof s!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertIgnoreItem(access(e,r),t))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertPluginItem(access(e,r),t))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}},4848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;var n=_interopRequireDefault(r(3079));var s=_interopRequireDefault(r(39717));var i=r(98840);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a={cwd:i.assertString,root:i.assertString,rootMode:i.assertRootMode,configFile:i.assertConfigFileSearch,caller:i.assertCallerMetadata,filename:i.assertString,filenameRelative:i.assertString,code:i.assertBoolean,ast:i.assertBoolean,cloneInputAst:i.assertBoolean,envName:i.assertString};const o={babelrc:i.assertBoolean,babelrcRoots:i.assertBabelrcSearch};const l={extends:i.assertString,ignore:i.assertIgnoreList,only:i.assertIgnoreList};const u={inputSourceMap:i.assertInputSourceMap,presets:i.assertPluginList,plugins:i.assertPluginList,passPerPreset:i.assertBoolean,env:assertEnvSet,overrides:assertOverridesList,test:i.assertConfigApplicableTest,include:i.assertConfigApplicableTest,exclude:i.assertConfigApplicableTest,retainLines:i.assertBoolean,comments:i.assertBoolean,shouldPrintComment:i.assertFunction,compact:i.assertCompact,minified:i.assertBoolean,auxiliaryCommentBefore:i.assertString,auxiliaryCommentAfter:i.assertString,sourceType:i.assertSourceType,wrapPluginVisitorMethod:i.assertFunction,highlightCode:i.assertBoolean,sourceMaps:i.assertSourceMaps,sourceMap:i.assertSourceMaps,sourceFileName:i.assertString,sourceRoot:i.assertString,getModuleId:i.assertFunction,moduleRoot:i.assertString,moduleIds:i.assertBoolean,moduleId:i.assertString,parserOpts:i.assertObject,generatorOpts:i.assertObject};function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(n=>{const s={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,i.msg)(s)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,i.msg)(s)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const c=u[n]||l[n]||o[n]||a[n]||throwUnknownError;c(s,t[n])});return t}function throwUnknownError(e){const t=e.name;if(s.default[t]){const{message:r,version:n=5}=s.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,i.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,i.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,i.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const s=(0,i.assertObject)((0,i.access)(e,t),n[t]);if(!s)continue;const a={type:"env",name:t,parent:r};validateNested(a,s)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,i.assertArray)(e,t);if(n){for(const[t,s]of n.entries()){const n=(0,i.access)(e,t);const a=(0,i.assertObject)(n,s);if(!a)throw new Error(`${(0,i.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const s=e[t-1];const i=e[t];if(s.file&&s.options===undefined&&typeof i.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}": [\n ["${s.file.request}", ${JSON.stringify(i.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}},66341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(98840);const s={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach(e=>assertVisitorHandler(e,r[e]));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(r=>{const n=s[r];if(n){const s={type:"option",name:r,parent:t};n(s,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},39717:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=r},26334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=_interopRequireDefault(r(93810));_gensync=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=e=>e;const s=(0,_gensync().default)(function*(e){return yield*e});const i=(0,_gensync().default)({sync:()=>false,errback:e=>e(null,true)});t.isAsync=i;function maybeAsync(e,t){return(0,_gensync().default)({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=(0,_gensync().default)({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const r=(0,_gensync().default)(e);return a(e=>{const n=r[e];return t(n)})}const o=(0,_gensync().default)({name:"onFirstPause",arity:2,sync:function(e){return s.sync(e)},errback:function(e,t,r){let n=false;s.errback(e,(e,t)=>{n=true;r(e,t)});if(!n){t()}}});t.onFirstPause=o;const l=(0,_gensync().default)({sync:n,async:n});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},29042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.exists=t.readFile=void 0;function _fs(){const e=_interopRequireDefault(r(35747));_fs=function(){return e};return e}function _gensync(){const e=_interopRequireDefault(r(93810));_gensync=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=(0,_gensync().default)({sync:_fs().default.readFileSync,errback:_fs().default.readFile});t.readFile=n;const s=(0,_gensync().default)({sync(e){try{_fs().default.accessSync(e);return true}catch(e){return false}},errback:(e,t)=>_fs().default.access(e,undefined,e=>t(null,!e))});t.exists=s;const i=(0,_gensync().default)({sync:_fs().default.statSync,errback:_fs().default.stat});t.stat=i},88509:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return a.version}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return o.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return l.createConfigItem}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return u.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return u.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return u.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return u.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return u.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return u.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return c.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return c.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return c.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return p.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return p.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return p.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return f.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return f.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return f.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return d.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return d.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return d.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=void 0;var n=_interopRequireDefault(r(13397));var s=_interopRequireDefault(r(61683));var i=r(92234);var a=r(28254);var o=r(57228);function _types(){const e=_interopRequireWildcard(r(63760));_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(30865);_parser=function(){return e};return e}function _traverse(){const e=_interopRequireDefault(r(18442));_traverse=function(){return e};return e}function _template(){const e=_interopRequireDefault(r(36900));_template=function(){return e};return e}var l=r(34090);var u=r(45411);var c=r(71857);var p=r(77879);var f=r(23963);var d=r(82364);function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const h=Object.freeze([".js",".jsx",".es6",".es",".mjs"]);t.DEFAULT_EXTENSIONS=h;class OptionManager{init(e){return(0,u.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},82364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=_interopRequireDefault(r(93810));_gensync=function(){return e};return e}var n=_interopRequireDefault(r(45411));var s=_interopRequireDefault(r(34804));var i=_interopRequireDefault(r(55536));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=(0,_gensync().default)(function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,s.default)(r.passes,(0,i.default)(r),e)});const o=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return a.sync(e,t);a.errback(e,t,r)};t.parse=o;const l=a.sync;t.parseSync=l;const u=a.async;t.parseAsync=u},34804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=r(30865);_parser=function(){return e};return e}function _codeFrame(){const e=r(36553);_codeFrame=function(){return e};return e}var n=_interopRequireDefault(r(41642));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function*parser(e,{parserOpts:t,highlightCode:r=true,filename:s="unknown"},i){try{const a=[];for(const r of e){for(const e of r){const{parserOverride:r}=e;if(r){const e=r(i,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(i,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(i,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${s}: `+(0,n.default)(a[0],t,o)}else{e.message=`${s}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},41642:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const r={classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};r.privateIn.syntax=r.privateIn.transform;const n=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,s){let i=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+s;const a=r[e];if(a){const{syntax:e,transform:t}=a;if(e){const r=n(e);if(t){const e=n(t);const s=t.name.startsWith("@babel/plugin")?"plugins":"presets";i+=`\n\nAdd ${e} to the '${s}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{i+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return i}},61683:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=_default;function helpers(){const e=_interopRequireWildcard(n(3537));helpers=function(){return e};return e}function _generator(){const e=_interopRequireDefault(n(43187));_generator=function(){return e};return e}function _template(){const e=_interopRequireDefault(n(36900));_template=function(){return e};return e}function t(){const e=_interopRequireWildcard(n(63760));t=function(){return e};return e}var s=_interopRequireDefault(n(13397));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}const i=e=>(0,_template().default)` + `}},56976:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var n=r(58163);var i=r(42428);var s=r(84565);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const r=new Set;const i=new Map;let a;let o;const l=[];const u=[];const p=[];const c={ImportDeclaration(e){const t=e.node.source.value;if(!s.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const r=e.node.specifiers[0].local;i.set(r,t);u.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const f={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(i.has(t[e].identifier))return;r.add(e)})},ReferencedIdentifier(e){const r=e.node.name;const n=e.scope.getBinding(r,true);if(!n){t.add(r)}else if(i.has(n.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const r=e.scope.getBinding(a);if(r!=null&&r.scope.path.isProgram()){l.push(makePath(e))}}};(0,n.default)(e.ast,c,e.scope);(0,n.default)(e.ast,f,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:i,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:u}}function permuteHelperAST(e,t,r,s,a){if(s&&!r){throw new Error("Unexpected local bindings for module-based helpers.")}if(!r)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:u,exportPath:p,exportName:c,importBindingsReferences:f,importPaths:d}=t;const y={};l.forEach((e,t)=>{y[t.name]=typeof a==="function"&&a(e)||t});const h={};const m=new Set(s||[]);o.forEach(e=>{let t=e;while(m.has(t))t="_"+t;if(t!==e)h[e]=t});if(r.type==="Identifier"&&c!==r.name){h[c]=r.name}const T={Program(e){const t=e.get(p);const n=d.map(t=>e.get(t));const s=f.map(t=>e.get(t));const a=t.get("declaration");if(r.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(i.variableDeclaration("var",[i.variableDeclarator(r,a.node)]))}}else if(r.type==="MemberExpression"){if(a.isFunctionDeclaration()){u.forEach(t=>{const n=e.get(t);n.replaceWith(i.assignmentExpression("=",r,n.node))});t.replaceWith(a);e.pushContainer("body",i.expressionStatement(i.assignmentExpression("=",r,i.identifier(c))))}else{t.replaceWith(i.expressionStatement(i.assignmentExpression("=",r,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(h).forEach(t=>{e.scope.rename(t,h[t])});for(const e of n)e.remove();for(const e of s){const t=i.cloneNode(y[e.node.name]);e.replaceWith(t)}e.stop()}};(0,n.default)(e.ast,T,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=s.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const r=()=>{const r={ast:i.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},r)}return r};const n=getHelperMetadata(r());o[e]={build(e,t,i){const s=r();permuteHelperAST(s,n,t,i,e);return{nodes:s.ast.program.body,globals:n.globals}},minVersion(){return t.minVersion},dependencies:n.dependencies}}return o[e]}function get(e,t,r,n){return loadHelper(e).build(t,r,n)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(s.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var u=get;t.default=u},88971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(85327);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const s=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},n,e.end);const{linesAbove:s=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=i.line;const p=i.column;let c=Math.max(o-(s+1),0);let f=Math.min(t.length,u+a);if(o===-1){c=0}if(u===-1){f=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:c,end:f,markerLines:y}}function codeFrameColumns(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const u=e.split(s);const{start:p,end:c,markerLines:f}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(c).length;const h=i?(0,n.default)(e,r):e;let m=h.split(s).slice(p,c).map((e,t)=>{const n=p+1+t;const i=` ${n}`.slice(-y);const s=` ${i} |`;const a=f[n];const u=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,s.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(i)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,s),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,s)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){m=`${" ".repeat(y+1)}${r.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}},81063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;const r=/^[ \t]+$/;class Buffer{constructor(e){this._map=null;this._buf=[];this._last="";this._queue=[];this._position={line:1,column:0};this._sourcePosition={identifierName:null,line:null,column:null,filename:null};this._disallowedPop=null;this._map=e}get(){this._flush();const e=this._map;const t={code:this._buf.join("").trimRight(),map:null,rawMappings:e==null?void 0:e.getRawMappings()};if(e){Object.defineProperty(t,"map",{configurable:true,enumerable:true,get(){return this.map=e.get()},set(e){Object.defineProperty(this,"map",{value:e,writable:true})}})}return t}append(e){this._flush();const{line:t,column:r,filename:n,identifierName:i,force:s}=this._sourcePosition;this._append(e,t,r,i,n,s)}queue(e){if(e==="\n"){while(this._queue.length>0&&r.test(this._queue[0][0])){this._queue.shift()}}const{line:t,column:n,filename:i,identifierName:s,force:a}=this._sourcePosition;this._queue.unshift([e,t,n,s,i,a])}_flush(){let e;while(e=this._queue.pop()){this._append(...e)}}_append(e,t,r,n,i,s){this._buf.push(e);this._last=e[e.length-1];let a=e.indexOf("\n");let o=0;if(a!==0){this._mark(t,r,n,i,s)}while(a!==-1){this._position.line++;this._position.column=0;o=a+1;if(o0&&this._queue[0][0]==="\n"){this._queue.shift()}}removeLastSemicolon(){if(this._queue.length>0&&this._queue[0][0]===";"){this._queue.shift()}}endsWith(e){if(e.length===1){let t;if(this._queue.length>0){const e=this._queue[0][0];t=e[e.length-1]}else{t=this._last}return t===e}const t=this._last+this._queue.reduce((e,t)=>t[0]+e,"");if(e.length<=t.length){return t.slice(-e.length)===e}return false}hasContent(){return this._queue.length>0||!!this._last}exactSource(e,t){this.source("start",e,true);t();this.source("end",e);this._disallowPop("start",e)}source(e,t,r){if(e&&!t)return;this._normalizePosition(e,t,this._sourcePosition,r)}withSource(e,t,r){if(!this._map)return r();const n=this._sourcePosition.line;const i=this._sourcePosition.column;const s=this._sourcePosition.filename;const a=this._sourcePosition.identifierName;this.source(e,t);r();if((!this._sourcePosition.force||this._sourcePosition.line!==n||this._sourcePosition.column!==i||this._sourcePosition.filename!==s)&&(!this._disallowedPop||this._disallowedPop.line!==n||this._disallowedPop.column!==i||this._disallowedPop.filename!==s)){this._sourcePosition.line=n;this._sourcePosition.column=i;this._sourcePosition.filename=s;this._sourcePosition.identifierName=a;this._sourcePosition.force=false;this._disallowedPop=null}}_disallowPop(e,t){if(e&&!t)return;this._disallowedPop=this._normalizePosition(e,t)}_normalizePosition(e,t,r,n){const i=t?t[e]:null;if(r===undefined){r={identifierName:null,line:null,column:null,filename:null,force:false}}const s=r.line;const a=r.column;const o=r.filename;r.identifierName=e==="start"&&(t==null?void 0:t.identifierName)||null;r.line=i==null?void 0:i.line;r.column=i==null?void 0:i.column;r.filename=t==null?void 0:t.filename;if(n||r.line!==s||r.column!==a||r.filename!==o){r.force=n}return r}getCurrentColumn(){const e=this._queue.reduce((e,t)=>t[0]+e,"");const t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t}getCurrentLine(){const e=this._queue.reduce((e,t)=>t[0]+e,"");let t=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.File=File;t.Program=Program;t.BlockStatement=BlockStatement;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;var n=r(42428);function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){this.printInnerComments(e,false);this.printSequence(e.directives,e);if(e.directives&&e.directives.length)this.newline();this.printSequence(e.body,e)}function BlockStatement(e){var t;this.token("{");this.printInnerComments(e);const r=(t=e.directives)==null?void 0:t.length;if(e.body.length||r){this.newline();this.printSequence(e.directives,e,{indent:true});if(r)this.newline();this.printSequence(e.body,e,{indent:true});this.removeTrailingNewline();this.source("end",e.loc);if(!this.endsWith("\n"))this.newline();this.rightBrace()}else{this.source("end",e.loc);this.token("}")}}function Directive(e){this.print(e.value,e);this.semicolon()}const i=/(?:^|[^\\])(?:\\\\)*'/;const s=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t);return}const{value:r}=e;if(!s.test(r)){this.token(`"${r}"`)}else if(!i.test(r)){this.token(`'${r}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}\n`)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},81916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassBody=ClassBody;t.ClassProperty=ClassProperty;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t._classMethodHead=_classMethodHead;t.StaticBlock=StaticBlock;var n=r(42428);function ClassDeclaration(e,t){if(!this.format.decoratorsBeforeExport||!n.isExportDefaultDeclaration(t)&&!n.isExportNamedDeclaration(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.token("{");this.printInnerComments(e);if(e.body.length===0){this.token("}")}else{this.newline();this.indent();this.printSequence(e.body,e);this.dedent();if(!this.endsWith("\n"))this.newline();this.rightBrace()}}function ClassProperty(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,true);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.token("?")}if(e.definite){this.token("!")}this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,false);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.token("{");if(e.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace()}}},22396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UnaryExpression=UnaryExpression;t.DoExpression=DoExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.UpdateExpression=UpdateExpression;t.ConditionalExpression=ConditionalExpression;t.NewExpression=NewExpression;t.SequenceExpression=SequenceExpression;t.ThisExpression=ThisExpression;t.Super=Super;t.Decorator=Decorator;t.OptionalMemberExpression=OptionalMemberExpression;t.OptionalCallExpression=OptionalCallExpression;t.CallExpression=CallExpression;t.Import=Import;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.AssignmentPattern=AssignmentPattern;t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.BindExpression=BindExpression;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.PrivateName=PrivateName;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.ModuleExpression=ModuleExpression;t.AwaitExpression=t.YieldExpression=void 0;var n=r(42428);var i=r(97119);function UnaryExpression(e){if(e.operator==="void"||e.operator==="delete"||e.operator==="typeof"||e.operator==="throw"){this.word(e.operator);this.space()}else{this.token(e.operator)}this.print(e.argument,e)}function DoExpression(e){if(e.async){this.word("async");this.space()}this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.token("(");this.print(e.expression,e);this.token(")")}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.startTerminatorless(true);this.print(e.argument,e);this.endTerminatorless();this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.token("?");this.space();this.print(e.consequent,e);this.space();this.token(":");this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!n.isCallExpression(t,{callee:e})&&!n.isMemberExpression(t)&&!n.isNewExpression(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function Decorator(e){this.token("@");this.print(e.expression,e);this.newline()}function OptionalMemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(e.optional){this.token("?.")}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{if(!e.optional){this.token(".")}this.print(e.property,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.token("(");this.printList(e.arguments,e);this.token(")")}function Import(){this.word("import")}function buildYieldAwait(e){return function(t){this.word(e);if(t.delegate){this.token("*")}if(t.argument){this.space();const e=this.startTerminatorless();this.print(t.argument,t);this.endTerminatorless(e)}}}const s=buildYieldAwait("yield");t.YieldExpression=s;const a=buildYieldAwait("await");t.AwaitExpression=a;function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.token("?");this.print(e.left.typeAnnotation,e);this.space();this.token("=");this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!i.needsParens(e,t);if(r){this.token("(")}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.token(")")}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{this.token(".");this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.token(".");this.print(e.property,e)}function PrivateName(e){this.token("#");this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.token("%");this.word(e.name)}function ModuleExpression(e){this.word("module");this.space();this.token("{");if(e.body.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body.body,e,{indent:true});this.rightBrace()}}},86977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareFunction=DeclareFunction;t.InferredPredicate=InferredPredicate;t.DeclaredPredicate=DeclaredPredicate;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareVariable=DeclareVariable;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.EnumDeclaration=EnumDeclaration;t.EnumBooleanBody=EnumBooleanBody;t.EnumNumberBody=EnumNumberBody;t.EnumStringBody=EnumStringBody;t.EnumSymbolBody=EnumSymbolBody;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumBooleanMember=EnumBooleanMember;t.EnumNumberMember=EnumNumberMember;t.EnumStringMember=EnumStringMember;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t._interfaceish=_interfaceish;t._variance=_variance;t.InterfaceDeclaration=InterfaceDeclaration;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;t.NumberTypeAnnotation=NumberTypeAnnotation;t.StringTypeAnnotation=StringTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeParameter=TypeParameter;t.OpaqueType=OpaqueType;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;t.IndexedAccessType=IndexedAccessType;t.OptionalIndexedAccessType=OptionalIndexedAccessType;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return s.NumericLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return s.StringLiteral}});var n=r(42428);var i=r(19699);var s=r(72069);function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e);this.token("[");this.token("]")}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.token("%");this.word("checks")}function DeclaredPredicate(e){this.token("%");this.word("checks");this.token("(");this.print(e.value,e);this.token(")")}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.token(".");this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.apply(this,arguments)}function DeclareExportAllDeclaration(){this.word("declare");this.space();i.ExportAllDeclaration.apply(this,arguments)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}if(t.hasUnknownMembers){e.token("...");e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.token(",")}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{this.token("{");if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.token("}");if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.token("*")}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.token("(");if(e.this){this.word("this");this.token(":");this.space();this.print(e.this.typeAnnotation,e);if(e.params.length||e.rest){this.token(",");this.space()}}this.printList(e.params,e);if(e.rest){if(e.params.length){this.token(",");this.space()}this.token("...");this.print(e.rest,e)}this.token(")");if(t.type==="ObjectTypeCallProperty"||t.type==="DeclareFunction"||t.type==="ObjectTypeProperty"&&t.method){this.token(":")}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.token("?");if(e.name){this.token(":");this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e)}function _interfaceish(e){var t;this.print(e.id,e);this.print(e.typeParameters,e);if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.mixins&&e.mixins.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if(e.implements&&e.implements.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function _variance(e){if(e.variance){if(e.variance.kind==="plus"){this.token("+")}else if(e.variance.kind==="minus"){this.token("-")}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.token("&");this.space()}function InterfaceTypeAnnotation(e){this.word("interface");if(e.extends&&e.extends.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.token("?");this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.token("[");this.printList(e.types,e);this.token("]")}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.token("=");this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.token(":");this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.token("=");this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.token("{")}const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];if(t.length){this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.token(",");this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.token("}")}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.token("[");this.token("[");this.print(e.id,e);this.token("]");this.token("]");if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.token("[");if(e.id){this.print(e.id,e);this.token(":");this.space()}this.print(e.key,e);this.token("]");this.token(":");this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.token(".");this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.token("|");this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.token("(");this.print(e.expression,e);this.print(e.typeAnnotation,e);this.token(")")}function Variance(e){if(e.kind==="plus"){this.token("+")}else{this.token("-")}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function OptionalIndexedAccessType(e){this.print(e.objectType,e);if(e.optional){this.token("?.")}this.token("[");this.print(e.indexType,e);this.token("]")}},7534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(91525);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})});var i=r(22396);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})});var s=r(40757);Object.keys(s).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})});var a=r(81916);Object.keys(a).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})});var o=r(11596);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})});var l=r(19699);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(72069);Object.keys(u).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})});var p=r(86977);Object.keys(p).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})});var c=r(42013);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var f=r(72694);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(20507);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})})},72694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXIdentifier=JSXIdentifier;t.JSXNamespacedName=JSXNamespacedName;t.JSXMemberExpression=JSXMemberExpression;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;t.JSXElement=JSXElement;t.JSXOpeningElement=JSXOpeningElement;t.JSXClosingElement=JSXClosingElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXFragment=JSXFragment;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXClosingFragment=JSXClosingFragment;var n=r(42428);function JSXAttribute(e){this.print(e.name,e);if(e.value){this.token("=");this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.token(":");this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.token(".");this.print(e.property,e)}function JSXSpreadAttribute(e){this.token("{");this.token("...");this.print(e.argument,e);this.token("}")}function JSXExpressionContainer(e){this.token("{");this.print(e.expression,e);this.token("}")}function JSXSpreadChild(e){this.token("{");this.token("...");this.print(e.expression,e);this.token("}")}function JSXText(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t)}else{this.token(e.value)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.token("<");this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.token(">")}}function JSXClosingElement(e){this.token("")}function JSXEmptyExpression(e){this.printInnerComments(e)}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.token("<");this.token(">")}function JSXClosingFragment(){this.token("")}},11596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._params=_params;t._parameters=_parameters;t._param=_param;t._methodHead=_methodHead;t._predicate=_predicate;t._functionHead=_functionHead;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;var n=r(42428);function _params(e){this.print(e.typeParameters,e);this.token("(");this._parameters(e.params,e);this.token(")");this.print(e.returnType,e)}function _parameters(e,t){for(let r=0;r");this.space();this.print(e.body,e)}function hasTypesOrComments(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}},19699:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImportSpecifier=ImportSpecifier;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportSpecifier=ExportSpecifier;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportAllDeclaration=ExportAllDeclaration;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ImportDeclaration=ImportDeclaration;t.ImportAttribute=ImportAttribute;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;var n=r(42428);function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.exported,e)}function ExportAllDeclaration(e){this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.token("*");this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e);this.semicolon()}function ExportNamedDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();this.word("default");this.space();ExportDeclaration.apply(this,arguments)}function ExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const t=e.specifiers.slice(0);let r=false;for(;;){const i=t[0];if(n.isExportDefaultSpecifier(i)||n.isExportNamespaceSpecifier(i)){r=true;this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length||!t.length&&!r){this.token("{");if(t.length){this.space();this.printList(t,e);this.space()}this.token("}")}if(e.source){this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e)}this.semicolon()}}function ImportDeclaration(e){this.word("import");this.space();if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}const t=e.specifiers.slice(0);if(t!=null&&t.length){for(;;){const r=t[0];if(n.isImportDefaultSpecifier(r)||n.isImportNamespaceSpecifier(r)){this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length){this.token("{");this.space();this.printList(t,e);this.space();this.token("}")}this.space();this.word("from");this.space()}this.print(e.source,e);this.printAssertions(e);{var r;if((r=e.attributes)!=null&&r.length){this.space();this.word("with");this.space();this.printList(e.attributes,e)}}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.token(":");this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.local,e)}},40757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WithStatement=WithStatement;t.IfStatement=IfStatement;t.ForStatement=ForStatement;t.WhileStatement=WhileStatement;t.DoWhileStatement=DoWhileStatement;t.LabeledStatement=LabeledStatement;t.TryStatement=TryStatement;t.CatchClause=CatchClause;t.SwitchStatement=SwitchStatement;t.SwitchCase=SwitchCase;t.DebuggerStatement=DebuggerStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForOfStatement=t.ForInStatement=void 0;var n=r(42428);function WithStatement(e){this.word("with");this.space();this.token("(");this.print(e.object,e);this.token(")");this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.token("(");this.print(e.test,e);this.token(")");this.space();const t=e.alternate&&n.isIfStatement(getLastStatement(e.consequent));if(t){this.token("{");this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.token("}")}if(e.alternate){if(this.endsWith("}"))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){if(!n.isStatement(e.body))return e;return getLastStatement(e.body)}function ForStatement(e){this.word("for");this.space();this.token("(");this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.token(";");if(e.test){this.space();this.print(e.test,e)}this.token(";");if(e.update){this.space();this.print(e.update,e)}this.token(")");this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.printBlock(e)}const i=function(e){return function(t){this.word("for");this.space();if(e==="of"&&t.await){this.word("await");this.space()}this.token("(");this.print(t.left,t);this.space();this.word(e);this.space();this.print(t.right,t);this.token(")");this.printBlock(t)}};const s=i("in");t.ForInStatement=s;const a=i("of");t.ForOfStatement=a;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.semicolon()}function buildLabelStatement(e,t="label"){return function(r){this.word(e);const n=r[t];if(n){this.space();const e=t=="label";const i=this.startTerminatorless(e);this.print(n,r);this.endTerminatorless(i)}this.semicolon()}}const o=buildLabelStatement("continue");t.ContinueStatement=o;const l=buildLabelStatement("return","argument");t.ReturnStatement=l;const u=buildLabelStatement("break");t.BreakStatement=u;const p=buildLabelStatement("throw","argument");t.ThrowStatement=p;function LabeledStatement(e){this.print(e.label,e);this.token(":");this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.token("(");this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.token(")");this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.token("(");this.print(e.discriminant,e);this.token(")");this.space();this.token("{");this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.token("}")}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.token(":")}else{this.word("default");this.token(":")}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function variableDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<4;e++)this.space(true)}function constDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<6;e++)this.space(true)}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}this.word(e.kind);this.space();let r=false;if(!n.isFor(t)){for(const t of e.declarations){if(t.init){r=true}}}let i;if(r){i=e.kind==="const"?constDeclarationIndent:variableDeclarationIndent}this.printList(e.declarations,e,{separator:i});if(n.isFor(t)){if(n.isForStatement(t)){if(t.init===e)return}else{if(t.left===e)return}}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.token("!");this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.token("=");this.space();this.print(e.init,e)}}},91525:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;var n=r(42428);function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const i=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(i)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Identifier=Identifier;t.ArgumentPlaceholder=ArgumentPlaceholder;t.SpreadElement=t.RestElement=RestElement;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.RecordExpression=RecordExpression;t.TupleExpression=TupleExpression;t.RegExpLiteral=RegExpLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.StringLiteral=StringLiteral;t.BigIntLiteral=BigIntLiteral;t.DecimalLiteral=DecimalLiteral;t.PipelineTopicExpression=PipelineTopicExpression;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;var n=r(42428);var i=r(87504);function Identifier(e){this.exactSource(e.loc,()=>{this.word(e.name)})}function ArgumentPlaceholder(){this.token("?")}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.token("{");this.printInnerComments(e);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token("}")}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{if(n.isAssignmentPattern(e.value)&&n.isIdentifier(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&n.isIdentifier(e.key)&&n.isIdentifier(e.value)&&e.key.name===e.value.name){return}}this.token(":");this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.token("[");this.printInnerComments(e);for(let n=0;n0)this.space();this.print(i,e);if(n0)this.space();this.print(i,e);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypeParameter=TSTypeParameter;t.TSParameterProperty=TSParameterProperty;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSQualifiedName=TSQualifiedName;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSPropertySignature=TSPropertySignature;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.TSMethodSignature=TSMethodSignature;t.TSIndexSignature=TSIndexSignature;t.TSAnyKeyword=TSAnyKeyword;t.TSBigIntKeyword=TSBigIntKeyword;t.TSUnknownKeyword=TSUnknownKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSVoidKeyword=TSVoidKeyword;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSNullKeyword=TSNullKeyword;t.TSNeverKeyword=TSNeverKeyword;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSThisType=TSThisType;t.TSFunctionType=TSFunctionType;t.TSConstructorType=TSConstructorType;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.TSTypeReference=TSTypeReference;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeLiteral=TSTypeLiteral;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;t.tsPrintBraced=tsPrintBraced;t.TSArrayType=TSArrayType;t.TSTupleType=TSTupleType;t.TSOptionalType=TSOptionalType;t.TSRestType=TSRestType;t.TSNamedTupleMember=TSNamedTupleMember;t.TSUnionType=TSUnionType;t.TSIntersectionType=TSIntersectionType;t.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;t.TSConditionalType=TSConditionalType;t.TSInferType=TSInferType;t.TSParenthesizedType=TSParenthesizedType;t.TSTypeOperator=TSTypeOperator;t.TSIndexedAccessType=TSIndexedAccessType;t.TSMappedType=TSMappedType;t.TSLiteralType=TSLiteralType;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSInterfaceBody=TSInterfaceBody;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSModuleDeclaration=TSModuleDeclaration;t.TSModuleBlock=TSModuleBlock;t.TSImportType=TSImportType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSExternalModuleReference=TSExternalModuleReference;t.TSNonNullExpression=TSNonNullExpression;t.TSExportAssignment=TSExportAssignment;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;var n=r(42428);function TSTypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TSTypeParameter(e){this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e){if(e.declare){this.word("declare");this.space()}this._functionHead(e);this.token(";")}function TSDeclareMethod(e){this._classMethodHead(e);this.token(";")}function TSQualifiedName(e){this.print(e.left,e);this.token(".");this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(";")}function tsPrintPropertyOrMethodName(e){if(e.computed){this.token("[")}this.print(e.key,e);if(e.computed){this.token("]")}if(e.optional){this.token("?")}}function TSMethodSignature(e){const{kind:t}=e;if(t==="set"||t==="get"){this.word(t);this.space()}this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSIndexSignature(e){const{readonly:t,static:r}=e;if(r){this.word("static");this.space()}if(t){this.word("readonly");this.space()}this.token("[");this._parameters(e.parameters,e);this.token("]");this.print(e.typeAnnotation,e);this.token(";")}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){if(e.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.space();this.token("=>");this.space();this.print(e.typeAnnotation.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e);this.print(e.typeParameters,e)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName)}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){this.tsPrintBraced(e,t)}function tsPrintBraced(e,t){this.token("{");if(e.length){this.indent();this.newline();for(const r of e){this.print(r,t);this.newline()}this.dedent();this.rightBrace()}else{this.token("}")}}function TSArrayType(e){this.print(e.elementType,e);this.token("[]")}function TSTupleType(e){this.token("[");this.printList(e.elementTypes,e);this.token("]")}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.token("?")}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.token("?");this.token(":");this.space();this.print(e.elementType,e)}function TSUnionType(e){this.tsPrintUnionOrIntersectionType(e,"|")}function TSIntersectionType(e){this.tsPrintUnionOrIntersectionType(e,"&")}function tsPrintUnionOrIntersectionType(e,t){this.printJoin(e.types,e,{separator(){this.space();this.token(t);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.token("?");this.space();this.print(e.trueType);this.space();this.token(":");this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.token("(");this.print(e.typeAnnotation,e);this.token(")")}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:i}=e;this.token("{");this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.token("[");this.word(i.name);this.space();this.word("in");this.space();this.print(i.constraint,i);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.token("]");if(r){tokenIfPlusMinus(this,r);this.token("?")}this.token(":");this.space();this.print(e.typeAnnotation,e);this.space();this.token("}")}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:i,body:s}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(i!=null&&i.length){this.space();this.word("extends");this.space();this.printList(i,e)}this.space();this.print(s,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:i}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.token("=");this.space();this.print(i,e);this.token(";")}function TSAsExpression(e){const{expression:t,typeAnnotation:r}=e;this.print(t,e);this.space();this.word("as");this.space();this.print(r,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.token("<");this.print(t,e);this.token(">");this.space();this.print(r,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:i}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();this.tsPrintBraced(i,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(",")}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.token(";");return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.token(".");this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){this.tsPrintBraced(e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.token("(");this.print(t,e);this.token(")");if(r){this.token(".");this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.token("=");this.space();this.print(n,e);this.token(";")}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.token(")")}function TSNonNullExpression(e){this.print(e.expression,e);this.token("!")}function TSExportAssignment(e){this.word("export");this.space();this.token("=");this.space();this.print(e.expression,e);this.token(";")}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.print(e.typeAnnotation,e)}function tsPrintClassMemberModifiers(e,t){if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.override){this.word("override");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},67776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generate;t.CodeGenerator=void 0;var n=r(10950);var i=r(4347);class Generator extends i.default{constructor(e,t={},r){const i=normalizeOptions(r,t);const s=t.sourceMaps?new n.default(t,r):null;super(i,s);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:true,minimal:false},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType};{r.jsonCompatibleStrings=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0)}if(r.compact==="auto"){r.compact=e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}return r}class CodeGenerator{constructor(e,t,r){this._generator=void 0;this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function generate(e,t,r){const n=new Generator(e,t,r);return n.generate()}},97119:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsWhitespace=needsWhitespace;t.needsWhitespaceBefore=needsWhitespaceBefore;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsParens=needsParens;var n=r(58789);var i=r(34258);var s=r(42428);function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,i){const s=n(e,t,i);return s==null?r(e,t,i):s}:r}for(const t of Object.keys(e)){const r=s.FLIPPED_ALIAS_KEYS[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const a=expandAliases(i);const o=expandAliases(n.nodes);const l=expandAliases(n.list);function find(e,t,r,n){const i=e[t.type];return i?i(t,r,n):null}function isOrHasCallExpression(e){if(s.isCallExpression(e)){return true}return s.isMemberExpression(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return 0;if(s.isExpressionStatement(e)){e=e.expression}let n=find(o,e,t);if(!n){const i=find(l,e,t);if(i){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NullableTypeAnnotation=NullableTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.ObjectExpression=ObjectExpression;t.DoExpression=DoExpression;t.Binary=Binary;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.TSInferType=TSInferType;t.BinaryExpression=BinaryExpression;t.SequenceExpression=SequenceExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;t.ClassExpression=ClassExpression;t.UnaryLike=UnaryLike;t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;t.ConditionalExpression=ConditionalExpression;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.AssignmentExpression=AssignmentExpression;t.LogicalExpression=LogicalExpression;t.Identifier=Identifier;var n=r(42428);const i={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};const s=(e,t)=>(n.isClassDeclaration(t)||n.isClassExpression(t))&&t.superClass===e;const a=(e,t)=>(n.isMemberExpression(t)||n.isOptionalMemberExpression(t))&&t.object===e||(n.isCallExpression(t)||n.isOptionalCallExpression(t)||n.isNewExpression(t))&&t.callee===e||n.isTaggedTemplateExpression(t)&&t.tag===e||n.isTSNonNullExpression(t);function NullableTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)}function FunctionTypeAnnotation(e,t,r){return n.isUnionTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isArrayTypeAnnotation(t)||n.isTypeAnnotation(t)&&n.isArrowFunctionExpression(r[r.length-3])}function UpdateExpression(e,t){return a(e,t)||s(e,t)}function ObjectExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,arrowBody:true})}function DoExpression(e,t,r){return!e.async&&isFirstInContext(r,{expressionStatement:true})}function Binary(e,t){if(e.operator==="**"&&n.isBinaryExpression(t,{operator:"**"})){return t.left===e}if(s(e,t)){return true}if(a(e,t)||n.isUnaryLike(t)||n.isAwaitExpression(t)){return true}if(n.isBinary(t)){const r=t.operator;const s=i[r];const a=e.operator;const o=i[a];if(s===o&&t.right===e&&!n.isLogicalExpression(t)||s>o){return true}}}function UnionTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)||n.isNullableTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isUnionTypeAnnotation(t)}function OptionalIndexedAccessType(e,t){return n.isIndexedAccessType(t,{objectType:e})}function TSAsExpression(){return true}function TSTypeAssertion(){return true}function TSUnionType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)||n.isTSIntersectionType(t)||n.isTSUnionType(t)||n.isTSRestType(t)}function TSInferType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)}function BinaryExpression(e,t){return e.operator==="in"&&(n.isVariableDeclarator(t)||n.isFor(t))}function SequenceExpression(e,t){if(n.isForStatement(t)||n.isThrowStatement(t)||n.isReturnStatement(t)||n.isIfStatement(t)&&t.test===e||n.isWhileStatement(t)&&t.test===e||n.isForInStatement(t)&&t.right===e||n.isSwitchStatement(t)&&t.discriminant===e||n.isExpressionStatement(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return n.isBinary(t)||n.isUnaryLike(t)||a(e,t)||n.isAwaitExpression(t)&&n.isYieldExpression(e)||n.isConditionalExpression(t)&&e===t.test||s(e,t)}function ClassExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function UnaryLike(e,t){return a(e,t)||n.isBinaryExpression(t,{operator:"**",left:e})||s(e,t)}function FunctionExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function ArrowFunctionExpression(e,t){return n.isExportDeclaration(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(n.isUnaryLike(t)||n.isBinary(t)||n.isConditionalExpression(t,{test:e})||n.isAwaitExpression(t)||n.isTSTypeAssertion(t)||n.isTSAsExpression(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return n.isCallExpression(t,{callee:e})||n.isMemberExpression(t,{object:e})}function AssignmentExpression(e,t){if(n.isObjectPattern(e.left)){return true}else{return ConditionalExpression(e,t)}}function LogicalExpression(e,t){switch(e.operator){case"||":if(!n.isLogicalExpression(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return n.isLogicalExpression(t,{operator:"??"});case"??":return n.isLogicalExpression(t)&&t.operator!=="??"}}function Identifier(e,t,r){if(e.name==="let"){const i=n.isMemberExpression(t,{object:e,computed:true})||n.isOptionalMemberExpression(t,{object:e,computed:true,optional:false});return isFirstInContext(r,{expressionStatement:i,forHead:i,forInHead:i,forOfHead:true})}return e.name==="async"&&n.isForOfStatement(t)&&e===t.left}function isFirstInContext(e,{expressionStatement:t=false,arrowBody:r=false,exportDefault:i=false,forHead:s=false,forInHead:o=false,forOfHead:l=false}){let u=e.length-1;let p=e[u];u--;let c=e[u];while(u>=0){if(t&&n.isExpressionStatement(c,{expression:p})||i&&n.isExportDefaultDeclaration(c,{declaration:p})||r&&n.isArrowFunctionExpression(c,{body:p})||s&&n.isForStatement(c,{init:p})||o&&n.isForInStatement(c,{left:p})||l&&n.isForOfStatement(c,{left:p})){return true}if(a(p,c)&&!n.isNewExpression(c)||n.isSequenceExpression(c)&&c.expressions[0]===p||n.isConditional(c,{test:p})||n.isBinary(c,{left:p})||n.isAssignmentExpression(c,{left:p})){p=c;u--;c=e[u]}else{return false}}return false}},58789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.list=t.nodes=void 0;var n=r(42428);function crawl(e,t={}){if(n.isMemberExpression(e)||n.isOptionalMemberExpression(e)){crawl(e.object,t);if(e.computed)crawl(e.property,t)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){crawl(e.left,t);crawl(e.right,t)}else if(n.isCallExpression(e)||n.isOptionalCallExpression(e)){t.hasCall=true;crawl(e.callee,t)}else if(n.isFunction(e)){t.hasFunction=true}else if(n.isIdentifier(e)){t.hasHelper=t.hasHelper||isHelper(e.callee)}return t}function isHelper(e){if(n.isMemberExpression(e)){return isHelper(e.object)||isHelper(e.property)}else if(n.isIdentifier(e)){return e.name==="require"||e.name[0]==="_"}else if(n.isCallExpression(e)){return isHelper(e.callee)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){return n.isIdentifier(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return n.isLiteral(e)||n.isObjectExpression(e)||n.isArrayExpression(e)||n.isIdentifier(e)||n.isMemberExpression(e)}const i={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return{before:t.hasFunction,after:true}}},SwitchCase(e,t){return{before:!!e.consequent.length||t.cases[0]===e,after:!e.consequent.length&&t.cases[t.cases.length-1]===e}},LogicalExpression(e){if(n.isFunction(e.left)||n.isFunction(e.right)){return{after:true}}},Literal(e){if(n.isStringLiteral(e)&&e.value==="use strict"){return{after:true}}},CallExpression(e){if(n.isFunction(e.callee)||isHelper(e)){return{before:true,after:true}}},OptionalCallExpression(e){if(n.isFunction(e.callee)){return{before:true,after:true}}},VariableDeclaration(e){for(let t=0;te.init)},ArrayExpression(e){return e.elements},ObjectExpression(e){return e.properties}};t.list=s;[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach(function([e,t]){if(typeof t==="boolean"){t={after:t,before:t}}[e].concat(n.FLIPPED_ALIAS_KEYS[e]||[]).forEach(function(e){i[e]=function(){return t}})})},4347:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(81063);var i=r(97119);var s=r(42428);var a=r(7534);const o=/e/i;const l=/\.0+$/;const u=/^0[box]/;const p=/^\s*[@#]__PURE__\s*$/;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._insideAux=false;this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new WeakSet;this._endsWithInteger=false;this._endsWithWord=false;this.format=e;this._buf=new n.default(t)}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();this._append(";",!e)}rightBrace(){if(this.format.minified){this._buf.removeLastSemicolon()}this.token("}")}space(e=false){if(this.format.compact)return;if(this._buf.hasContent()&&!this.endsWith(" ")&&!this.endsWith("\n")||e){this._space()}}word(e){if(this._endsWithWord||this.endsWith("/")&&e.indexOf("/")===0){this._space()}this._maybeAddAuxComment();this._append(e);this._endsWithWord=true}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!u.test(e)&&!o.test(e)&&!l.test(e)&&e[e.length-1]!=="."}token(e){if(e==="--"&&this.endsWith("!")||e[0]==="+"&&this.endsWith("+")||e[0]==="-"&&this.endsWith("-")||e[0]==="."&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e)}newline(e){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}if(this.endsWith("\n\n"))return;if(typeof e!=="number")e=1;e=Math.min(2,e);if(this.endsWith("{\n")||this.endsWith(":\n"))e--;if(e<=0)return;for(let t=0;t{n.call(this,e,t)});this._printTrailingComments(e);if(o)this.token(")");this._printStack.pop();this.format.concise=r;this._insideAux=a}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e})}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e})}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e!=null&&e.length))return;if(r.indent)this.indent();const n={addNewlines:r.addNewlines};for(let i=0;i0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(!s.isEmptyStatement(t)){this.space()}this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(false,e))}_printLeadingComments(e){this._printComments(this._getComments(true,e),true)}printInnerComments(e,t=true){var r;if(!((r=e.innerComments)!=null&&r.length))return;if(t)this.indent();this._printComments(e.innerComments);if(t)this.dedent()}printSequence(e,t,r={}){r.statement=true;return this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}return this.printJoin(e,t,r)}_printNewline(e,t,r,n){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}let s=0;if(this._buf.hasContent()){if(!e)s++;if(n.addNewlines)s+=n.addNewlines(e,t)||0;const a=e?i.needsWhitespaceBefore:i.needsWhitespaceAfter;if(a(t,r))s++}this.newline(s)}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e,t){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;this._printedComments.add(e);const r=e.type==="CommentBlock";const n=r&&!t&&!this._noLineTerminator;if(n&&this._buf.hasContent())this.newline(1);if(!this.endsWith("[")&&!this.endsWith("{"))this.space();let i=!r&&!this._noLineTerminator?`//${e.value}\n`:`/*${e.value}*/`;if(r&&this.format.indent.adjustMultilineComment){var s;const t=(s=e.loc)==null?void 0:s.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");i=i.replace(e,"\n")}const r=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());i=i.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}if(this.endsWith("/"))this._space();this.withSource("start",e.loc,()=>{this._append(i)});if(n)this.newline(1)}_printComments(e,t){if(!(e!=null&&e.length))return;if(t&&e.length===1&&p.test(e[0].value)){this._printComment(e[0],this._buf.hasContent()&&!this.endsWith("\n"))}else{for(const t of e){this._printComment(t)}}}printAssertions(e){var t;if((t=e.assertions)!=null&&t.length){this.space();this.word("assert");this.space();this.token("{");this.space();this.printList(e.assertions,e);this.space();this.token("}")}}}Object.assign(Printer.prototype,a);{Printer.prototype.Noop=function Noop(){}}var c=Printer;t.default=c;function commaSeparator(){this.token(",");this.space()}},10950:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(96241);class SourceMap{constructor(e,t){this._cachedMap=void 0;this._code=void 0;this._opts=void 0;this._rawMappings=void 0;this._lastGenLine=void 0;this._lastSourceLine=void 0;this._lastSourceColumn=void 0;this._cachedMap=null;this._code=t;this._opts=e;this._rawMappings=[]}get(){if(!this._cachedMap){const e=this._cachedMap=new n.SourceMapGenerator({sourceRoot:this._opts.sourceRoot});const t=this._code;if(typeof t==="string"){e.setSourceContent(this._opts.sourceFileName.replace(/\\/g,"/"),t)}else if(typeof t==="object"){Object.keys(t).forEach(r=>{e.setSourceContent(r.replace(/\\/g,"/"),t[r])})}this._rawMappings.forEach(t=>e.addMapping(t),e)}return this._cachedMap.toJSON()}getRawMappings(){return this._rawMappings.slice()}mark(e,t,r,n,i,s,a){if(this._lastGenLine!==e&&r===null)return;if(!a&&this._lastGenLine===e&&this._lastSourceLine===r&&this._lastSourceColumn===n){return}this._cachedMap=null;this._lastGenLine=e;this._lastSourceLine=r;this._lastSourceColumn=n;this._rawMappings.push({name:i||undefined,generated:{line:e,column:t},source:r==null?undefined:(s||this._opts.sourceFileName).replace(/\\/g,"/"),original:r==null?undefined:{line:r,column:n}})}}t.default=SourceMap},42863:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(42863);var i=r(91067)},91067:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},85327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var i=r(6094);var s=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=i}}return r}function shouldHighlight(e){return!!s.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new s.constructor({enabled:true,level:1}):s}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},25163:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const i=true;const s=true;const a=true;const o=true;class TokenType{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=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:s}),assign:new TokenType("_=",{beforeExpr:r,isAssign:s}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:s}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:i,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const c=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const f=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(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 true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{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}}function getLineInfo(e,t){let r=1;let n=0;let i;c.lastIndex=0;while((i=c.exec(e))&&i.index0){n=t[--i]}if(n===null){return}for(let e=0;e0){n.trailingComments=s}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,i,s,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){i=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){i=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(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(last(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){break}}const t=this.state.leadingComments.slice(0,s);if(t.length){e.leadingComments=t}i=this.state.leadingComments.slice(s);if(i.length===0){i=null}}}this.state.commentPreviousNode=e;if(i){if(i.length&&i[0].start>=e.start&&last(i).end<=e.end){e.innerComments=i}else{const t=i.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=i.slice(0,t);e.trailingComments=i.slice(t)}else{e.trailingComments=i}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const y=makeErrorTemplates({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."},d.SyntaxError);const h=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...i){return this.raiseWithData(e,{code:t,reasonCode:r},n,...i)}raiseOverwrite(e,{code:t,template:r},...n){const i=this.getLocationForPosition(e);const s=r.replace(/%(\d+)/g,(e,t)=>n[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})}else 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);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);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);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return 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",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,i,s,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,i,s,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(s==="ClassPrivateMethod"){e.computed=false}s="MethodDefinition";return this.finishNode(e,s)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,i){const s=super.parseObjectMethod(e,t,r,n,i);if(s){s.type="Property";if(s.kind==="method")s.kind="init";s.shorthand=false}return s}parseObjectProperty(e,t,r,n,i){const s=super.parseObjectProperty(e,t,r,n,i);if(s){s.kind="init";s.type="Property"}return s}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,y.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,y.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,i){const s=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if(s.type==="OptionalMemberExpression"||s.type==="OptionalCallExpression"){s.type=s.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(s);e.expression=s;return this.finishNode(e,"ChainExpression")}}else if(s.type==="MemberExpression"||s.type==="CallExpression"){s.optional=false}return s}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const T={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(T.brace)});u.dollarBraceL.updateContext=(e=>{e.push(T.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===T.template){e.pop()}else{e.push(T.template)}});let S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const E=new RegExp("["+S+"]");const g=new RegExp("["+S+b+"]");S=b=null;const x=[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];const P=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,x)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&g.test(String.fromCharCode(e))}return isInAstralSet(e,x)||isInAstralSet(e,P)}const A={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const v=new Set(A.keyword);const O=new Set(A.strict);const I=new Set(A.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||O.has(e)}function isStrictBindOnlyReservedWord(e){return I.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return v.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const w=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return w.has(e)}const D=0,N=1,C=2,j=4,_=8,L=16,k=32,B=64,M=128,F=256,R=N|C|F;const K=1,V=2,U=4,X=8,J=16,Y=64,W=128,q=256,z=512,H=1024,G=2048;const $=K|V|X|W,Q=K|0|X|0,Z=K|0|U|0,ee=K|0|J|0,te=0|V|0|W,re=0|V|0|0,ne=K|V|X|q,ie=0|0|0|H,se=0|0|0|Y,ae=K|0|0|Y,oe=ne|z,le=0|0|0|H,ue=G;const pe=4,ce=2,fe=1,de=ce|fe;const ye=ce|pe,he=fe|pe,me=ce,Te=fe,Se=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&C)>0}get allowSuper(){return(this.currentThisScopeFlags()&L)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&k)>0}get inClass(){return(this.currentThisScopeFlags()&B)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&B)>0&&(e&C)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&M)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&C)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&C||!this.inModule&&e.flags&N)}declareName(e,t,r){let n=this.currentScope();if(t&X||t&J){this.checkRedeclarationInScope(n,e,t,r);if(t&J){n.functions.add(e)}else{n.lexical.add(e)}if(t&X){this.maybeExportDefined(n,e)}}else if(t&U){for(let i=this.scopeStack.length-1;i>=0;--i){n=this.scopeStack[i];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&R)break}}if(this.inModule&&n.flags&N){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&N){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,y.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&K))return false;if(r&X){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&J){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&_&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(R|B)&&!(t&j)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&G){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&G){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const be=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const Ee=makeErrorTemplates({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."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const ge={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=xe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Ee.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const i=this.flowParseFunctionTypeParams();r.params=i.params;r.rest=i.rest;r.this=i._this;this.expect(u.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,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Ee.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(D);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Ee.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Ee.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let i=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,Ee.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="CommonJS";i=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=ge[e];throw this.raise(this.state.start,Ee.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Ee.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!be.has(e))return;this.raise(t,r?Ee.AssignReservedType:Ee.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();r.name=i.name;r.variance=n;r.bound=i.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Ee.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:i}){const s=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let s=null;let o=null;const c=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();s=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const f=this.flowParseVariance();if(this.eat(u.bracketL)){if(s!=null){this.unexpected(s)}if(this.eat(u.bracketL)){if(f){this.unexpected(f.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(c,t,f))}}else if(this.match(u.parenL)||this.isRelational("<")){if(s!=null){this.unexpected(s)}if(f){this.unexpected(f.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(c,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(c,t,s,f,e,r,i!=null?i:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Ee.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const c=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=s;return c}flowParseObjectTypeProperty(e,t,r,n,i,s,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!s){this.raise(this.state.lastTokStart,Ee.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Ee.InexactInsideExact)}if(n){this.raise(n.start,Ee.InexactVariance)}return null}if(!s){this.raise(this.state.lastTokStart,Ee.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Ee.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!s&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Ee.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Ee.GetterMayNotHaveThisParam:Ee.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,y.BadGetterArity)}else{this.raise(r,y.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,y.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.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(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}this.expect(u.question);const i=this.state.clone();const s=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,c]=this.getArrowLikeExpressions(o);if(l||c.length>0){const e=[...s];if(c.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,Ee.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=s;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(C|j);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(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=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Ee.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Ee.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,y.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&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 false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,Ee.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const i=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,s){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,i,s);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Ee.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Ee.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,i,s,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,i,s,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Ee.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Ee.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),i);if(!s.error)return s.node;const{context:n}=this.state;if(n[n.length-1]===T.j_oTag){n.length-=2}else if(n[n.length-1]===T.j_expr){n.length-=1}}if((n=s)!=null&&n.error||this.isRelational("<")){var a,o;i=i||this.state.clone();let n;const l=this.tryParse(i=>{var s;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const i=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(i,n);return i});if(a.type!=="ArrowFunctionExpression"&&(s=a.extra)!=null&&s.parenthesized){i()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},i);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,Ee.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=s)!=null&&a.node){this.state=s.failState;return s.node}if(u){this.state=l.failState;return u}if((o=s)!=null&&o.thrown)throw s.error;if(l.thrown)throw l.error;throw this.raise(n.start,Ee.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(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(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Ee.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const 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){this.state=s.failState;return s.node}if(a.node){this.state=a.failState;return a.node}throw s.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(n){i.stop=true;return e}this.next();const s=this.startNodeAt(t,r);s.callee=e;s.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);s.arguments=this.parseCallExpressionArguments(u.parenR,false);s.optional=true;return this.finishCallExpression(s,true)}else 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(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(i.optionalChainMember)n.optional=false;return this.finishCallExpression(n,i.optionalChainMember)});if(s.node){if(s.error)this.state=s.failState;return s.node}}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){let t=null;if(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);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Ee.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Ee.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,y.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,y.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Ee.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Ee.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Ee.EnumInvalidExplicitTypeUnknownSupplied:Ee.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let i=null;switch(r){case"boolean":case"number":case"string":i=Ee.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=Ee.EnumInvalidMemberInitializerSymbolType;break;default:i=Ee.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Ee.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){i=true;break}const s=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};s.id=a;switch(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"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:i,hasUnknownMembers:s}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=s;switch(n){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const s=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!s&&!a&&!o&&!l){return n()}else if(!s&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&s>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!s&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ae={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:"♦"};class State{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=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[T.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,i=r.length;n.",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 <>...?"},d.SyntaxError);T.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(T.j_expr);e.push(T.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var we=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ie.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&Ne)>0}get hasReturn(){return(this.currentFlags()&je)>0}get hasIn(){return(this.currentFlags()&_e)>0}}function functionFlags(e,t){return(e?Ce:0)|(t?Ne:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const Le=makeErrorTemplates({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."},d.SyntaxError);function keywordTypeFromName(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 undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var ke=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const i=(t,r,n,i)=>{if(r===n&&e[i]){this.raise(t,Le.InvalidModifiersOrder,n,i)}};const s=(t,r,n,i)=>{if(e[n]&&r===i||e[i]&&r===n){this.raise(t,Le.IncompatibleModifiers,n,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Le.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Le.DuplicateModifier,o)}else{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]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}n.push(i);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Le.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.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();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Le.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Le.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Le.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,Le.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,y.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,y.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Le.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Le.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,Le.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Le.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Le.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const s=i==="TSNamedTupleMember";r=(n=r)!=null?n:s;if(r!==s){this.raise(e.start,Le.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const i=this.eat(u.question);const s=this.eat(u.colon);if(s){const e=this.startNodeAtNode(n);e.optional=i;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Le.InvalidTupleMemberLabel);e.label=n}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();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Le.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return 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();const i=this.eat(r);const s=[];do{s.push(t())}while(this.eat(r));if(s.length===1&&!i){return s[0]}n.types=s;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsParseTypeAnnotation(false);r.parameterName=i;r.typeAnnotation=s;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Le.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return 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=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(D);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,Le.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Le.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let i;let s=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;s=t.readonly;if(e===false&&(i||s||a)){this.raise(r,Le.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||s||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(s)e.readonly=s;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Le.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Le.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ie)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Le.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return 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(u.parenL)){s.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(s.arguments);s.typeParameters=a;if(i.optionalChainMember){s.optional=false}return this.finishCallExpression(s,i.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,i);n.typeParameters=a;return 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();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,r);i.expression=e;const s=this.tsTryNextParseConstantContext();if(s){i.typeAnnotation=s}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Le.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!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;if(i&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,Le.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,r,n){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,Le.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Le.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Le.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Le.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Le.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,Le.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Le.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(u.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(i&&n){this.resetStartLocation(i,t,r);i.declare=true}return i}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?ie:$);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,Le.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Le.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Le.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,s){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,Le.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Le.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,i,s,a,o;let l;let p;let c;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===T.j_oTag){t.length-=2}else if(t[t.length-1]===T.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let f;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;f=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(r=i.extra)!=null&&r.parenthesized){t()}if(((n=f)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(i,f)}i.typeParameters=f;return i},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));c=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!c.error)return c.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=c)!=null&&n.node){this.state=c.failState;return c.node}if((i=p)!=null&&i.thrown)throw p.error;if(d.thrown)throw d.error;if((s=c)!=null&&s.thrown)throw c.error;throw((a=p)==null?void 0:a.error)||d.error||((o=c)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Le.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const i=n&&this.isThisParam(n);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;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(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Le.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Le.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Be=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Me=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return 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;const s=this.parsePlaceholder("Identifier");if(s){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=s}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(s,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Be.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Fe=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Re=["minimal","smart","fsharp"];const Ke=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){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'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Re.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Re.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ke.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ve={estree:m,jsx:we,flow:Pe,typescript:ke,v8intrinsic:Fe,placeholders:Me};const Ue=Object.keys(Ve);const Xe={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Xe)){t[r]=e&&e[r]!=null?e[r]:Xe[r]}return t}var Je=function isDigit(e){return e>=48&&e<=57};const Ye=new Set([103,109,115,105,121,117,100]);const We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const qe={};qe.bin=[48,49];qe.oct=[...qe.bin,50,51,52,53,54,55];qe.dec=[...qe.oct,56,57];qe.hex=[...qe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(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){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){f.lastIndex=e;const t=f.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===T.template){this.readTmplToken()}else{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 SourceLocation(i,s)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,y.UnterminatedComment);this.state.pos=r+2;c.lastIndex=t;let n;while((n=c.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,y.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.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,y.UnterminatedRegExp)}const i=this.input.charCodeAt(n);if(isNewLine(i)){throw this.raise(e,y.UnterminatedRegExp)}if(t){t=false}else{if(i===91){r=true}else if(i===93&&r){r=false}else if(i===47&&!r){break}t=i===92}}const i=this.input.slice(e,n);++n;let s="";while(n-1||s.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,y.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Je(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+i+2,y.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,y.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;r=true}else if(i===109){throw this.raise(t,y.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let i=false;let s=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,y.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,y.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,y.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,y.InvalidOrMissingExponent)}r=true;s=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,y.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(s||o){this.raise(t,y.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(i){this.finishToken(u.decimal,p);return}const c=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,c)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,y.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,y.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++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}else{this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let i=parseInt(n,8);if(i>255){n=n.slice(0,-1);i=parseInt(n,8)}this.state.pos+=n.length-1;const s=this.input.charCodeAt(this.state.pos);if(n!=="0"||s===56||s===57){if(e){return null}else{this.recordStrictModeErrors(t,y.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(r){this.raise(n,y.InvalidEscapeSequence)}else{this.state.pos=n-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let i=e[n];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(r);i=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope($e)}function newArrowHeadScope(){return new ArrowHeadParsingScope(He)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Ge)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,y.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?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)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,y.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const i=this.scope;const s=this.getScopeHandler();this.scope=new s(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=De;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ce}this.scope.enter(N);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{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 SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let i=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){i=Qe(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,y.InvalidParenthesizedAssignment)}}else{this.raise(e.start,y.InvalidParenthesizedAssignment)}}switch(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))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const i=this.startNodeAt(t,r);i.expressions=[n];while(this.eat(u.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return 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;const i=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,i)}return e}}let s;if(e){s=false}else{e=new ExpressionErrors;s=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,i)}if(this.state.type.isAssign){const t=this.startNodeAt(n,i);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(s){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.state.potentialArrowAt;const s=this.parseExprOps(e);if(this.shouldExitDescending(s,i)){return s}return this.parseConditional(s,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,n)){return i}return this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(i>n){const s=this.state.type;if(s===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=s===u.logicalOR||s===u.logicalAND;const l=s===u.nullishCoalescing;if(l){i=u.logicalAND.binop}this.next();if(s===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(s,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,y.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const s=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,y.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,y.DeletePrivateField)}}if(!s){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,s,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?y.AwaitNotInAsyncContext:y.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const i=this.state.startLoc;let s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return s;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,i);e.operator=this.state.value;e.prefix=false;e.argument=s;this.checkLVal(s,"postfix operation");this.next();s=this.finishNode(e,"UpdateExpression")}return s}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,n)){return i}return this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,r,n,i){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,i)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,i)}let s=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=s=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,i,s)}else if(s||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,i,s)}else{i.stop=true;return e}}parseMember(e,t,r,n,i){const s=this.startNodeAt(t,r);const a=this.eat(u.bracketL);s.object=e;s.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(s.object.type==="Super"){this.raise(t,y.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}s.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){s.optional=i;return this.finishNode(s,"OptionalMemberExpression")}else{return this.finishNode(s,"MemberExpression")}}parseBind(e,t,r,n,i){const s=this.startNodeAt(t,r);s.object=e;s.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(s,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){const s=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=s;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const i=this.startNodeAt(t,r);i.tag=e;i.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,y.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,y.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){const s=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}s.push(this.parseExprListItem(false,i,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return s}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,y.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,y.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,y.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,y.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,y.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,y.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Ce);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,y.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,y.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,h.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const c={start:0};let f=true;let d;let y;while(!this.match(u.parenR)){if(f){f=false}else{this.expect(u.comma,c.start||null);if(this.match(u.parenR)){y=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,c))}}const h=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=s;let T=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(T=this.parseArrow(T))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(T,l,false);return T}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(y)this.unexpected(y);if(d)this.unexpected(d);this.checkExpressionErrors(p,true);if(c.start)this.unexpected(c.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",h,m)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const S=this.startNodeAt(t,r);S.expression=n;this.finishNode(S,"ParenthesizedExpression");return S}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,y.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,y.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,y.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,y.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(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(i,r,s,n)}if(r&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,y.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,y.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let i=false;let s=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(u.star)}const p=this.state.containsEsc;const c=this.parsePropertyName(n,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=c.name;if(e==="async"&&!this.hasPrecedingLineBreak()){s=true;i=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){i=true;this.raise(this.state.pos,y.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,i,s,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const i=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(i,y.BadGetterArity)}else{this.raise(i,y.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,y.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,i){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return 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);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,i,s,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(C|L|(a?B:0)|(i?k:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,s,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=this.startNode();this.next();s.elements=this.parseExprList(e,!r,n,s);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(C|j);let i=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){i|=_e}this.prodParam.enter(i);this.initFunction(e,r);const s=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=s;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|je);e.body=this.parseBlock(true,false,i=>{const s=!this.isSimpleParamList(e.params);if(i&&s){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,y.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!s,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,y.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,y.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,y.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,y.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,y.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,y.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,y.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,y.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,y.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,y.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const i=this.isSimpleReference(e);if(i){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,y.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,i?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&~t;if(r){this.prodParam.enter(t|_e);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&t;if(r){this.prodParam.enter(t&~_e);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,it=4;const st=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(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,y.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const i=this.input.slice(t.start,t.end);const s=r.value=i.slice(1,-1);this.addExtra(r,"raw",i);this.addExtra(r,"rawValue",s);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let i;if(this.isLet(e)){r=u._var;i="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,y.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,y.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,y.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,i);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,y.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const s=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,s,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,h.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;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(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(D);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const i=n?"let":this.state.value;this.next();this.parseVar(r,true,i);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const i=this.match(u.name)&&!this.state.containsEsc;const s=new ExpressionErrors;const a=this.parseExpression(true,s);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,y.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,y.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,y.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(D);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,y.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,y.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?_:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(D)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,y.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,y.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,y.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(u._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){r.statementStart=this.state.start;r.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(D)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){const s=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?a:undefined,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){const s=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(i){i.call(this,a)}if(!s){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,y.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const i=t&nt;const s=!!n&&!(t&it);this.initFunction(e,r);if(this.match(u.star)&&i){this.raise(this.state.start,y.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(s)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(C);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const i=this.startNode();i.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(i,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,y.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,y.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const i=t;const s=t;const a=t;const o=t;const l=i;const p=i;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,s,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const c=this.state.containsEsc;const f=this.match(u.privateName);const d=this.parseClassElementName(t);const h=d.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(f){this.pushClassPrivateMethod(e,s,false,false);return}const n=this.isNonstaticConstructor(i);let a=false;if(n){i.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,y.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,y.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,i,false,false,n,a)}else if(this.isClassProperty()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(h&&d.name==="async"&&!c&&!this.isLineTerminator()){const t=this.eat(u.star);if(p.optional){this.unexpected(m)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,s,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(h&&(d.name==="get"||d.name==="set")&&!c&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,s,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,y.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,y.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(B|M|L);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(De);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,y.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,y.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),Se,r.key.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const i=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(i);const s=i.kind==="get"?i.static?ye:me:i.kind==="set"?i.static?he:Te:Se;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),s,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(B|L);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(De);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=$){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,y.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const i=n&&this.maybeParseExportNamespaceSpecifier(e);const s=r&&(!i||this.eat(u.comma));const a=t||n;if(n&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||i&&s&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|it,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,y.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,y.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,y.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const s=this.state.decoratorStack[this.state.decoratorStack.length-1];if(s.length){throw this.raise(e.start,y.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?y.DuplicateDefaultExport:y.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.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(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(st);if(t){this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,y.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,y.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Ue.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=Ve[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},87621:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.scope=t.path=void 0;let r=new WeakMap;t.path=r;let n=new WeakMap;t.scope=n;function clear(){clearPath();clearScope()}function clearPath(){t.path=r=new WeakMap}function clearScope(){t.scope=n=new WeakMap}},68870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(28039);var i=r(42428);const s=process.env.NODE_ENV==="test";class TraversalContext{constructor(e,t,r,n){this.queue=null;this.priorityQueue=null;this.parentPath=n;this.scope=e;this.state=r;this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return true;if(t[e.type])return true;const r=i.VISITOR_KEYS[e.type];if(!(r!=null&&r.length))return false;for(const t of r){if(e[t])return true}return false}create(e,t,r,i){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:i})}maybeQueue(e,t){if(this.trap){throw new Error("Infinite cycle detected")}if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,r){if(e.length===0)return false;const n=[];for(let i=0;i=1e4){this.trap=true}const{node:i}=n;if(t.has(i))continue;if(i)t.add(i);if(n.visit()){r=true;break}if(this.priorityQueue.length){r=this.visitQueue(this.priorityQueue);this.priorityQueue=[];this.queue=e;if(r)break}}for(const t of e){t.popContext()}this.queue=null;return r}visit(e,t){const r=e[t];if(!r)return false;if(Array.isArray(r)){return this.visitMultiple(r,e,t)}else{return this.visitSingle(e,t)}}}t.default=TraversalContext},50210:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}t.default=Hub},58163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"Hub",{enumerable:true,get:function(){return u.default}});t.visitors=t.default=void 0;var n=r(68870);var i=r(11627);t.visitors=i;var s=r(42428);var a=r(87621);var o=r(28039);var l=r(76608);var u=r(50210);function traverse(e,t={},r,n,a){if(!e)return;if(!t.noScope&&!r){if(e.type!=="Program"&&e.type!=="File"){throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+"passing scope and parentPath.")}}if(!s.VISITOR_KEYS[e.type]){return}i.explode(t);traverse.node(e,t,r,n,a)}var p=traverse;t.default=p;traverse.visitors=i;traverse.verify=i.verify;traverse.explode=i.explode;traverse.cheap=function(e,t){return s.traverseFast(e,t)};traverse.node=function(e,t,r,i,a,o){const l=s.VISITOR_KEYS[e.type];if(!l)return;const u=new n.default(r,t,i,a);for(const t of l){if(o&&o[t])continue;if(u.visit(e,t))return}};traverse.clearNode=function(e,t){s.removeProperties(e,t);a.path.delete(e)};traverse.removeProperties=function(e,t){s.traverseFast(e,traverse.clearNode,t);return e};function hasDenylistedType(e,t){if(e.node.type===t.type){t.has=true;e.stop()}}traverse.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return false;if(e.type===t)return true;const n={has:false,type:t};traverse(e,{noScope:true,denylist:r,enter:hasDenylistedType},null,n);return n.has};traverse.cache=a},78596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findParent=findParent;t.find=find;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getAncestry=getAncestry;t.isAncestor=isAncestor;t.isDescendant=isDescendant;t.inType=inType;var n=r(42428);var i=r(28039);function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent(e=>e.isFunction())}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{e=e.parentPath}}while(e);if(e&&(e.isProgram()||e.isFile())){throw new Error("File/Program node, we can't possibly find a statement parent to this")}return e}function getEarliestCommonAncestorFrom(e){return this.getDeepestCommonAncestorFrom(e,function(e,t,r){let i;const s=n.VISITOR_KEYS[e.type];for(const e of r){const r=e[t+1];if(!i){i=r;continue}if(r.listKey&&i.listKey===r.listKey){if(r.keya){i=r}}return i})}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let r=Infinity;let n,i;const s=e.map(e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.lengtht===e)}function inType(...e){let t=this;while(t){for(const r of e){if(t.node.type===r)return true}t=t.parentPath}return false}},52333:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shareCommentsWithSiblings=shareCommentsWithSiblings;t.addComment=addComment;t.addComments=addComments;var n=r(42428);function shareCommentsWithSiblings(){if(typeof this.key==="string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1);const i=this.getSibling(this.key+1);const s=Boolean(n.node);const a=Boolean(i.node);if(s&&!a){n.addComments("trailing",t)}else if(a&&!s){i.addComments("leading",r)}}function addComment(e,t,r){n.addComment(this.node,e,t,r)}function addComments(e,t){n.addComments(this.node,e,t)}},87236:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.call=call;t._call=_call;t.isBlacklisted=t.isDenylisted=isDenylisted;t.visit=visit;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.setScope=setScope;t.setContext=setContext;t.resync=resync;t._resyncParent=_resyncParent;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncRemoved=_resyncRemoved;t.popContext=popContext;t.pushContext=pushContext;t.setup=setup;t.setKey=setKey;t.requeue=requeue;t._getQueueContexts=_getQueueContexts;var n=r(58163);var i=r(28039);function call(e){const t=this.opts;this.debug(e);if(this.node){if(this._call(t[e]))return true}if(this.node){return this._call(t[this.node.type]&&t[this.node.type][e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const r=t.call(this.state,this,this.state);if(r&&typeof r==="object"&&typeof r.then==="function"){throw new Error(`You appear to be using a plugin with an async traversal visitor, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}if(r){throw new Error(`Unexpected return value from visitor method ${t}`)}if(this.node!==e)return true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function visit(){if(!this.node){return false}if(this.isDenylisted()){return false}if(this.opts.shouldSkip&&this.opts.shouldSkip(this)){return false}if(this.shouldSkip||this.call("enter")||this.shouldSkip){this.debug("Skip...");return this.shouldStop}this.debug("Recursing into...");n.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys);this.call("exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=i.SHOULD_SKIP|i.SHOULD_STOP}function setScope(){if(this.opts&&this.opts.noScope)return;let e=this.parentPath;if(this.key==="key"&&e.isMethod())e=e.parentPath;let t;while(e&&!t){if(e.opts&&e.opts.noScope)return;t=e.scope;e=e.parentPath}this.scope=this.getScope(t);if(this.scope)this.scope.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}this.setScope();return this}function resync(){if(this.removed)return;this._resyncParent();this._resyncList();this._resyncKey()}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let e=0;e0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,r,n){this.listKey=r;this.container=t;this.parentPath=e||this.parentPath;this.setKey(n)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const r of t){r.maybeQueue(e)}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},16912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toComputedKey=toComputedKey;t.ensureBlock=ensureBlock;t.arrowFunctionToShadowed=arrowFunctionToShadowed;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;t.arrowFunctionToExpression=arrowFunctionToExpression;var n=r(42428);var i=r(98733);function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(n.isIdentifier(e))e=n.stringLiteral(e.name)}return e}function ensureBlock(){const e=this.get("body");const t=e.node;if(Array.isArray(e)){throw new Error("Can't convert array path to a block statement")}if(!t){throw new Error("Can't convert node without a body")}if(e.isBlockStatement()){return t}const r=[];let i="body";let s;let a;if(e.isStatement()){a="body";s=0;r.push(e.node)}else{i+=".body.0";if(this.isFunction()){s="argument";r.push(n.returnStatement(e.node))}else{s="expression";r.push(n.expressionStatement(e.node))}}this.node.body=n.blockStatement(r);const o=this.get(i);e.setup(o,a?o.node[a]:o.node,a,s);return this.node}function arrowFunctionToShadowed(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function arrowFunctionToExpression({allowInsertArrow:e=true,specCompliant:t=false,noNewArrows:r=!t}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}const s=hoistFunctionEnvironment(this,r,e);this.ensureBlock();this.node.type="FunctionExpression";if(!r){const e=s?null:this.parentPath.scope.generateUidIdentifier("arrowCheckId");if(e){this.parentPath.scope.push({id:e,init:n.objectExpression([])})}this.get("body").unshiftContainer("body",n.expressionStatement(n.callExpression(this.hub.addHelper("newArrowCheck"),[n.thisExpression(),e?n.identifier(e.name):n.identifier(s)])));this.replaceWith(n.callExpression(n.memberExpression((0,i.default)(this,true)||this.node,n.identifier("bind")),[e?n.identifier(e.name):n.thisExpression()]))}}function hoistFunctionEnvironment(e,t=true,r=true){const i=e.findParent(e=>{return e.isFunction()&&!e.isArrowFunctionExpression()||e.isProgram()||e.isClassProperty({static:false})});const s=(i==null?void 0:i.node.kind)==="constructor";if(i.isClassProperty()){throw e.buildCodeFrameError("Unable to transform arrow inside class property")}const{thisPaths:a,argumentsPaths:o,newTargetPaths:l,superProps:u,superCalls:p}=getScopeInformation(e);if(s&&p.length>0){if(!r){throw p[0].buildCodeFrameError("Unable to handle nested super() usage in arrow")}const e=[];i.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(t){if(!t.get("callee").isSuper())return;e.push(t)}});const t=getSuperBinding(i);e.forEach(e=>{const r=n.identifier(t);r.loc=e.node.callee.loc;e.get("callee").replaceWith(r)})}if(o.length>0){const e=getBinding(i,"arguments",()=>n.identifier("arguments"));o.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(l.length>0){const e=getBinding(i,"newtarget",()=>n.metaProperty(n.identifier("new"),n.identifier("target")));l.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(u.length>0){if(!r){throw u[0].buildCodeFrameError("Unable to handle nested super.prop usage")}const e=u.reduce((e,t)=>e.concat(standardizeSuperProperty(t)),[]);e.forEach(e=>{const t=e.node.computed?"":e.get("property").node.name;const r=e.parentPath.isAssignmentExpression({left:e.node});const s=e.parentPath.isCallExpression({callee:e.node});const o=getSuperPropBinding(i,r,t);const l=[];if(e.node.computed){l.push(e.get("property").node)}if(r){const t=e.parentPath.node.right;l.push(t)}const u=n.callExpression(n.identifier(o),l);if(s){e.parentPath.unshiftContainer("arguments",n.thisExpression());e.replaceWith(n.memberExpression(u,n.identifier("call")));a.push(e.parentPath.get("arguments.0"))}else if(r){e.parentPath.replaceWith(u)}else{e.replaceWith(u)}})}let c;if(a.length>0||!t){c=getThisBinding(i,s);if(t||s&&hasSuperClass(i)){a.forEach(e=>{const t=e.isJSX()?n.jsxIdentifier(c):n.identifier(c);t.loc=e.node.loc;e.replaceWith(t)});if(!t)c=null}}return c}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){const t=e.parentPath;const r=t.node.operator.slice(0,-1);const i=t.node.right;t.node.operator="=";if(e.node.computed){const s=e.scope.generateDeclaredUidIdentifier("tmp");t.get("left").replaceWith(n.memberExpression(e.node.object,n.assignmentExpression("=",s,e.node.property),true));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(s.name),true),i))}else{t.get("left").replaceWith(n.memberExpression(e.node.object,e.node.property));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(e.node.property.name)),i))}return[t.get("left"),t.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const r=e.scope.generateDeclaredUidIdentifier("tmp");const i=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null;const s=[n.assignmentExpression("=",r,n.memberExpression(e.node.object,i?n.assignmentExpression("=",i,e.node.property):e.node.property,e.node.computed)),n.assignmentExpression("=",n.memberExpression(e.node.object,i?n.identifier(i.name):e.node.property,e.node.computed),n.binaryExpression("+",n.identifier(r.name),n.numericLiteral(1)))];if(!e.parentPath.node.prefix){s.push(n.identifier(r.name))}t.replaceWith(n.sequenceExpression(s));const a=t.get("expressions.0.right");const o=t.get("expressions.1.left");return[a,o]}return[e]}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}function getThisBinding(e,t){return getBinding(e,"this",r=>{if(!t||!hasSuperClass(e))return n.thisExpression();const i=new WeakSet;e.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(e){if(!e.get("callee").isSuper())return;if(i.has(e.node))return;i.add(e.node);e.replaceWithMultiple([e.node,n.assignmentExpression("=",n.identifier(r),n.identifier("this"))])}})})}function getSuperBinding(e){return getBinding(e,"supercall",()=>{const t=e.scope.generateUidIdentifier("args");return n.arrowFunctionExpression([n.restElement(t)],n.callExpression(n.super(),[n.spreadElement(n.identifier(t.name))]))})}function getSuperPropBinding(e,t,r){const i=t?"set":"get";return getBinding(e,`superprop_${i}:${r||""}`,()=>{const i=[];let s;if(r){s=n.memberExpression(n.super(),n.identifier(r))}else{const t=e.scope.generateUidIdentifier("prop");i.unshift(t);s=n.memberExpression(n.super(),n.identifier(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("value");i.push(t);s=n.assignmentExpression("=",s,n.identifier(t.name))}return n.arrowFunctionExpression(i,s)})}function getBinding(e,t,r){const n="binding:"+t;let i=e.getData(n);if(!i){const s=e.scope.generateUidIdentifier(t);i=s.name;e.setData(n,i);e.scope.push({id:s,init:r(i)})}return i}function getScopeInformation(e){const t=[];const r=[];const n=[];const i=[];const s=[];e.traverse({ClassProperty(e){e.skip()},Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ThisExpression(e){t.push(e)},JSXIdentifier(e){if(e.node.name!=="this")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e){if(e.get("callee").isSuper())s.push(e)},MemberExpression(e){if(e.get("object").isSuper())i.push(e)},ReferencedIdentifier(e){if(e.node.name!=="arguments")return;r.push(e)},MetaProperty(e){if(!e.get("meta").isIdentifier({name:"new"}))return;if(!e.get("property").isIdentifier({name:"target"}))return;n.push(e)}});return{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:s}}},39821:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluateTruthy=evaluateTruthy;t.evaluate=evaluate;const r=["String","Number","Math"];const n=["random"];function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}function evaluateCached(e,t){const{node:r}=e;const{seen:n}=t;if(n.has(r)){const i=n.get(r);if(i.resolved){return i.value}else{deopt(e,t);return}}else{const i={resolved:false};n.set(r,i);const s=_evaluate(e,t);if(t.confident){i.resolved=true;i.value=s}return s}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const r=e.get("expressions");return evaluateCached(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral()){return e.node.value}if(e.isNullLiteral()){return null}if(e.isTemplateLiteral()){return evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const r=e.get("tag.object");const{node:{name:n}}=r;const i=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&i.isIdentifier()&&i.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const r=evaluateCached(e.get("test"),t);if(!t.confident)return;if(r){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const t=e.get("property");const r=e.get("object");if(r.isLiteral()&&t.isIdentifier()){const e=r.node.value;const n=typeof e;if(n==="number"||n==="string"){return e[t.node.name]}}}if(e.isReferencedIdentifier()){const r=e.scope.getBinding(e.node.name);if(r&&r.constantViolations.length>0){return deopt(r.path,t)}if(r&&e.node.start":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){const i=e.get("callee");let s;let a;if(i.isIdentifier()&&!e.scope.getBinding(i.node.name)&&r.indexOf(i.node.name)>=0){a=global[i.node.name]}if(i.isMemberExpression()){const e=i.get("object");const t=i.get("property");if(e.isIdentifier()&&t.isIdentifier()&&r.indexOf(e.node.name)>=0&&n.indexOf(t.node.name)<0){s=global[e.node.name];a=s[t.node.name]}if(e.isLiteral()&&t.isIdentifier()){const r=typeof e.node.value;if(r==="string"||r==="number"){s=e.node.value;a=s[t.node.name]}}}if(a){const r=e.get("arguments").map(e=>evaluateCached(e,t));if(!t.confident)return;return a.apply(s,r)}}deopt(e,t)}function evaluateQuasis(e,t,r,n=false){let i="";let s=0;const a=e.get("expressions");for(const e of t){if(!r.confident)break;i+=n?e.value.raw:e.value.cooked;const t=a[s++];if(t)i+=String(evaluateCached(t,r))}if(!r.confident)return;return i}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},29319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOpposite=getOpposite;t.getCompletionRecords=getCompletionRecords;t.getSibling=getSibling;t.getPrevSibling=getPrevSibling;t.getNextSibling=getNextSibling;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.get=get;t._getKey=_getKey;t._getPattern=_getPattern;t.getBindingIdentifiers=getBindingIdentifiers;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;var n=r(28039);var i=r(42428);const s=0;const a=1;function NormalCompletion(e){return{type:s,path:e}}function BreakCompletion(e){return{type:a,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,r){if(e)return t.concat(_getCompletionRecords(e,r));return t}function completionRecordForSwitch(e,t,r){let n=[];for(let i=0;i{e.type=a})}function replaceBreakStatementInBreakCompletion(e,t){e.forEach(e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(i.unaryExpression("void",i.numericLiteral(0)))}else{e.path.remove()}}})}function getStatementListCompletion(e,t){let r=[];if(t.canHaveBreak){let n=[];for(let i=0;i0&&u.every(e=>e.type===a)){if(n.length>0&&u.every(e=>e.path.isBreakStatement({label:null}))){normalCompletionToBreak(n);r=r.concat(n);if(n.some(e=>e.path.isDeclaration())){r=r.concat(u);replaceBreakStatementInBreakCompletion(u,true)}replaceBreakStatementInBreakCompletion(u,false)}else{r=r.concat(u);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(u,true)}}break}if(i===e.length-1){r=r.concat(u)}else{r=r.concat(u.filter(e=>e.type===a));n=u.filter(e=>e.type===s)}}}else if(e.length){r=r.concat(_getCompletionRecords(e[e.length-1],t))}return r}function _getCompletionRecords(e,t){let r=[];if(e.isIfStatement()){r=addCompletionRecords(e.get("consequent"),r,t);r=addCompletionRecords(e.get("alternate"),r,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isProgram()||e.isBlockStatement()){r=r.concat(getStatementListCompletion(e.get("body"),t))}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){r=addCompletionRecords(e.get("block"),r,t);r=addCompletionRecords(e.get("handler"),r,t)}else if(e.isCatchClause()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isSwitchStatement()){r=completionRecordForSwitch(e.get("cases"),r,t)}else if(e.isSwitchCase()){r=r.concat(getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true}))}else if(e.isBreakStatement()){r.push(BreakCompletion(e))}else{r.push(NormalCompletion(e))}return r}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map(e=>e.path)}function getSibling(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const r=[];while(t.node){r.push(t);t=this.getSibling(++e)}return r}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const r=[];while(t.node){r.push(t);t=this.getSibling(--e)}return r}function get(e,t=true){if(t===true)t=this.context;const r=e.split(".");if(r.length===1){return this._getKey(e,t)}else{return this._getPattern(r,t)}}function _getKey(e,t){const r=this.node;const i=r[e];if(Array.isArray(i)){return i.map((s,a)=>{return n.default.get({listKey:e,parentPath:this,parent:r,container:i,key:a}).setContext(t)})}else{return n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}}function _getPattern(e,t){let r=this;for(const n of e){if(n==="."){r=r.parentPath}else{if(Array.isArray(r)){r=r[n]}else{r=r.get(n,t)}}}return r}function getBindingIdentifiers(e){return i.getBindingIdentifiers(this.node,e)}function getOuterBindingIdentifiers(e){return i.getOuterBindingIdentifiers(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const r=this;let n=[].concat(r);const s=Object.create(null);while(n.length){const r=n.shift();if(!r)continue;if(!r.node)continue;const a=i.getBindingIdentifiers.keys[r.node.type];if(r.isIdentifier()){if(e){const e=s[r.node.name]=s[r.node.name]||[];e.push(r)}else{s[r.node.name]=r}continue}if(r.isExportDeclaration()){const e=r.get("declaration");if(e.isDeclaration()){n.push(e)}continue}if(t){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression()){continue}}if(a){for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.SHOULD_SKIP=t.SHOULD_STOP=t.REMOVED=void 0;var n=r(90874);var i=r(31185);var s=r(58163);var a=r(76608);var o=r(42428);var l=r(87621);var u=r(67776);var p=r(78596);var c=r(12490);var f=r(29784);var d=r(39821);var y=r(16912);var h=r(73304);var m=r(87236);var T=r(98240);var S=r(45885);var b=r(29319);var E=r(52333);const g=i("babel");const x=1<<0;t.REMOVED=x;const P=1<<1;t.SHOULD_STOP=P;const A=1<<2;t.SHOULD_SKIP=A;class NodePath{constructor(e,t){this.contexts=[];this.state=null;this.opts=null;this._traverseFlags=0;this.skipKeys=null;this.parentPath=null;this.container=null;this.listKey=null;this.key=null;this.node=null;this.type=null;this.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:i,key:s}){if(!e&&t){e=t.hub}if(!r){throw new Error("To get a node path the parent needs to exist")}const a=n[s];let o=l.path.get(r);if(!o){o=new Map;l.path.set(r,o)}let u=o.get(a);if(!u){u=new NodePath(e,r);if(a)o.set(a,u)}u.setup(t,n,i,s);return u}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let r=this.data[e];if(r===undefined&&t!==undefined)r=this.data[e]=t;return r}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,s.default)(this.node,e,this.scope,t,this)}set(e,t){o.validate(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;if(t.inList)r=`${t.listKey}[${r}]`;e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){if(!g.enabled)return;g(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&A)}set shouldSkip(e){if(e){this._traverseFlags|=A}else{this._traverseFlags&=~A}}get shouldStop(){return!!(this._traverseFlags&P)}set shouldStop(e){if(e){this._traverseFlags|=P}else{this._traverseFlags&=~P}}get removed(){return!!(this._traverseFlags&x)}set removed(e){if(e){this._traverseFlags|=x}else{this._traverseFlags&=~x}}}Object.assign(NodePath.prototype,p,c,f,d,y,h,m,T,S,b,E);for(const e of o.TYPES){const t=`is${e}`;const r=o[t];NodePath.prototype[t]=function(e){return r(this.node,e)};NodePath.prototype[`assert${e}`]=function(t){if(!r(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}for(const e of Object.keys(n)){if(e[0]==="_")continue;if(o.TYPES.indexOf(e)<0)o.TYPES.push(e);const t=n[e];NodePath.prototype[`is${e}`]=function(e){return t.checkPath(this,e)}}var v=NodePath;t.default=v},12490:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getTypeAnnotation=getTypeAnnotation;t._getTypeAnnotation=_getTypeAnnotation;t.isBaseType=isBaseType;t.couldBeBaseType=couldBeBaseType;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.isGenericType=isGenericType;var n=r(78130);var i=r(42428);function getTypeAnnotation(){if(this.typeAnnotation)return this.typeAnnotation;let e=this._getTypeAnnotation()||i.anyTypeAnnotation();if(i.isTypeAnnotation(e))e=e.typeAnnotation;return this.typeAnnotation=e}const s=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return i.stringTypeAnnotation()}if(e.key==="left"&&t.isForOfStatement()){return i.anyTypeAnnotation()}return i.voidTypeAnnotation()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(s.has(e)){return}s.add(e);try{var t;let r=n[e.type];if(r){return r.call(this,e)}r=n[this.parentPath.type];if((t=r)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{s.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,r){if(e==="string"){return i.isStringTypeAnnotation(t)}else if(e==="number"){return i.isNumberTypeAnnotation(t)}else if(e==="boolean"){return i.isBooleanTypeAnnotation(t)}else if(e==="any"){return i.isAnyTypeAnnotation(t)}else if(e==="mixed"){return i.isMixedTypeAnnotation(t)}else if(e==="empty"){return i.isEmptyTypeAnnotation(t)}else if(e==="void"){return i.isVoidTypeAnnotation(t)}else{if(r){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(i.isAnyTypeAnnotation(t))return true;if(i.isUnionTypeAnnotation(t)){for(const r of t.types){if(i.isAnyTypeAnnotation(r)||_isBaseType(e,r,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const r=e.getTypeAnnotation();if(!i.isAnyTypeAnnotation(t)&&i.isFlowBaseAnnotation(t)){return r.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();return i.isGenericTypeAnnotation(t)&&i.isIdentifier(t.id,{name:e})}},5631:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(42428);function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return n.voidTypeAnnotation()}else if(e.name==="NaN"||e.name==="Infinity"){return n.numberTypeAnnotation()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,r){const i=[];const s=[];let a=getConstantViolationsBefore(e,t,s);const o=getConditionalAnnotation(e,t,r);if(o){const t=getConstantViolationsBefore(e,o.ifStatement);a=a.filter(e=>t.indexOf(e)<0);i.push(o.typeAnnotation)}if(a.length){a=a.concat(s);for(const e of a){i.push(e.getTypeAnnotation())}}if(!i.length){return}if(n.isTSTypeAnnotation(i[0])&&n.createTSUnionType){return n.createTSUnionType(i)}if(n.createFlowUnionType){return n.createFlowUnionType(i)}return n.createUnionTypeAnnotation(i)}function getConstantViolationsBefore(e,t,r){const n=e.constantViolations.slice();n.unshift(e.path);return n.filter(e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);if(r&&n==="unknown")r.push(e);return n==="before"})}function inferAnnotationFromBinaryExpression(e,t){const r=t.node.operator;const i=t.get("right").resolve();const s=t.get("left").resolve();let a;if(s.isIdentifier({name:e})){a=i}else if(i.isIdentifier({name:e})){a=s}if(a){if(r==="==="){return a.getTypeAnnotation()}if(n.BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(r)>=0){return n.numberTypeAnnotation()}return}if(r!=="==="&&r!=="==")return;let o;let l;if(s.isUnaryExpression({operator:"typeof"})){o=s;l=i}else if(i.isUnaryExpression({operator:"typeof"})){o=i;l=s}if(!o)return;if(!o.get("argument").isIdentifier({name:e}))return;l=l.resolve();if(!l.isLiteral())return;const u=l.node.value;if(typeof u!=="string")return;return n.createTypeAnnotationBasedOnTypeof(u)}function getParentConditionalPath(e,t,r){let n;while(n=t.parentPath){if(n.isIfStatement()||n.isConditionalExpression()){if(t.key==="test"){return}return n}if(n.isFunction()){if(n.parentPath.scope.getBinding(r)!==e)return}t=n}}function getConditionalAnnotation(e,t,r){const i=getParentConditionalPath(e,t,r);if(!i)return;const s=i.get("test");const a=[s];const o=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VariableDeclarator=VariableDeclarator;t.TypeCastExpression=TypeCastExpression;t.NewExpression=NewExpression;t.TemplateLiteral=TemplateLiteral;t.UnaryExpression=UnaryExpression;t.BinaryExpression=BinaryExpression;t.LogicalExpression=LogicalExpression;t.ConditionalExpression=ConditionalExpression;t.SequenceExpression=SequenceExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.AssignmentExpression=AssignmentExpression;t.UpdateExpression=UpdateExpression;t.StringLiteral=StringLiteral;t.NumericLiteral=NumericLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.RegExpLiteral=RegExpLiteral;t.ObjectExpression=ObjectExpression;t.ArrayExpression=ArrayExpression;t.RestElement=RestElement;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;t.CallExpression=CallExpression;t.TaggedTemplateExpression=TaggedTemplateExpression;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return i.default}});var n=r(42428);var i=r(5631);function VariableDeclarator(){var e;const t=this.get("id");if(!t.isIdentifier())return;const r=this.get("init");let n=r.getTypeAnnotation();if(((e=n)==null?void 0:e.type)==="AnyTypeAnnotation"){if(r.isCallExpression()&&r.get("callee").isIdentifier({name:"Array"})&&!r.scope.hasBinding("Array",true)){n=ArrayExpression()}}return n}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function NewExpression(e){if(this.get("callee").isIdentifier()){return n.genericTypeAnnotation(e.callee)}}function TemplateLiteral(){return n.stringTypeAnnotation()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return n.voidTypeAnnotation()}else if(n.NUMBER_UNARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.STRING_UNARY_OPERATORS.indexOf(t)>=0){return n.stringTypeAnnotation()}else if(n.BOOLEAN_UNARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}}function BinaryExpression(e){const t=e.operator;if(n.NUMBER_BINARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.BOOLEAN_BINARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return n.numberTypeAnnotation()}else if(t.isBaseType("string")||e.isBaseType("string")){return n.stringTypeAnnotation()}return n.unionTypeAnnotation([n.stringTypeAnnotation(),n.numberTypeAnnotation()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return n.numberTypeAnnotation()}}function StringLiteral(){return n.stringTypeAnnotation()}function NumericLiteral(){return n.numberTypeAnnotation()}function BooleanLiteral(){return n.booleanTypeAnnotation()}function NullLiteral(){return n.nullLiteralTypeAnnotation()}function RegExpLiteral(){return n.genericTypeAnnotation(n.identifier("RegExp"))}function ObjectExpression(){return n.genericTypeAnnotation(n.identifier("Object"))}function ArrayExpression(){return n.genericTypeAnnotation(n.identifier("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return n.genericTypeAnnotation(n.identifier("Function"))}const s=n.buildMatchMemberExpression("Array.from");const a=n.buildMatchMemberExpression("Object.keys");const o=n.buildMatchMemberExpression("Object.values");const l=n.buildMatchMemberExpression("Object.entries");function CallExpression(){const{callee:e}=this.node;if(a(e)){return n.arrayTypeAnnotation(n.stringTypeAnnotation())}else if(s(e)||o(e)){return n.arrayTypeAnnotation(n.anyTypeAnnotation())}else if(l(e)){return n.arrayTypeAnnotation(n.tupleTypeAnnotation([n.stringTypeAnnotation(),n.anyTypeAnnotation()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){if(e.is("async")){if(e.is("generator")){return n.genericTypeAnnotation(n.identifier("AsyncIterator"))}else{return n.genericTypeAnnotation(n.identifier("Promise"))}}else{if(e.node.returnType){return e.node.returnType}else{}}}}},73304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.matchesPattern=matchesPattern;t.has=has;t.isStatic=isStatic;t.isnt=isnt;t.equals=equals;t.isNodeType=isNodeType;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.isCompletionRecord=isCompletionRecord;t.isStatementOrBlock=isStatementOrBlock;t.referencesImport=referencesImport;t.getSource=getSource;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._guessExecutionStatusRelativeToDifferentFunctions=_guessExecutionStatusRelativeToDifferentFunctions;t.resolve=resolve;t._resolve=_resolve;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.is=void 0;var n=r(42428);function matchesPattern(e,t){return n.matchesPattern(this.node,e,t)}function has(e){const t=this.node&&this.node[e];if(t&&Array.isArray(t)){return!!t.length}else{return!!t}}function isStatic(){return this.scope.isStatic(this.node)}const i=has;t.is=i;function isnt(e){return!this.has(e)}function equals(e,t){return this.node[e]===t}function isNodeType(e){return n.isType(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return n.isBlockStatement(e)}else if(this.isBlockStatement()){return n.isExpression(e)}return false}function isCompletionRecord(e){let t=this;let r=true;do{const n=t.container;if(t.isFunction()&&!r){return!!e}r=false;if(Array.isArray(n)&&t.key!==n.length-1){return false}}while((t=t.parentPath)&&!t.isProgram());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||n.isBlockStatement(this.container)){return false}else{return n.STATEMENT_OR_BLOCK_KEYS.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if((this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?n.isStringLiteral(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return false;const i=r.path;const s=i.parentPath;if(!s.isImportDeclaration())return false;if(s.node.source.value===e){if(!t)return true}else{return false}if(i.isImportDefaultSpecifier()&&t==="default"){return true}if(i.isImportNamespaceSpecifier()&&t==="*"){return true}if(i.isImportSpecifier()&&n.isIdentifier(i.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return(e.scope.getFunctionParent()||e.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let r=0;r=0)return"after";if(r.this.indexOf(e)>=0)return"before";let i;const s={target:0,this:0};while(!i&&s.this=0){i=e}else{s.this++}}if(!i){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(r.this,s.this-1)||isExecutionUncertainInList(r.target,s.target-1)){return"unknown"}const a={this:r.this[s.this-1],target:r.target[s.target-1]};if(a.target.listKey&&a.this.listKey&&a.target.container===a.this.container){return a.target.key>a.this.key?"before":"after"}const o=n.VISITOR_KEYS[i.type];const l={this:o.indexOf(a.this.parentKey),target:o.indexOf(a.target.parentKey)};return l.target>l.this?"before":"after"}const s=new WeakSet;function _guessExecutionStatusRelativeToDifferentFunctions(e){if(!e.isFunctionDeclaration()||e.parentPath.isExportDeclaration()){return"unknown"}const t=e.scope.getBinding(e.node.id.name);if(!t.references)return"before";const r=t.referencePaths;let n;for(const t of r){const r=!!t.find(t=>t.node===e.node);if(r)continue;if(t.key!=="callee"||!t.parentPath.isCallExpression()){return"unknown"}if(s.has(t.node))continue;s.add(t.node);const i=this._guessExecutionStatusRelativeTo(t);s.delete(t.node);if(n&&n!==i){return"unknown"}else{n=i}}return n}function resolve(e,t){return this._resolve(e,t)||this}function _resolve(e,t){if(t&&t.indexOf(this)>=0)return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if(r.kind==="module")return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find(e=>e.node===n.node))return;return n}}else if(this.isTypeCastExpression()){return this.get("expression").resolve(e,t)}else if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!n.isLiteral(r))return;const i=r.value;const s=this.get("object").resolve(e,t);if(s.isObjectExpression()){const r=s.get("properties");for(const n of r){if(!n.isProperty())continue;const r=n.get("key");let s=n.isnt("computed")&&r.isIdentifier({name:i});s=s||r.isLiteral({value:i});if(s)return n.get("value").resolve(e,t)}}else if(s.isArrayExpression()&&!isNaN(+i)){const r=s.get("elements");const n=r[i];if(n)return n.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every(e=>e.isConstantExpression())}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find(e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(!e.isProgram()&&!e.isFunction())return false;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}const t=e.isFunction()?e.node.body:e.node;for(const e of t.directives){if(e.value.value==="use strict"){return true}}});return!!t}},15562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42428);const i={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&n.react.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);if(r)t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);if(!r)return;for(const n of r.constantViolations){if(n.scope!==r.path.scope){t.mutableBinding=true;e.stop();return}}if(r!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=r}};class PathHoister{constructor(e,t){this.breakOnScopePaths=void 0;this.bindings=void 0;this.mutableBinding=void 0;this.scopes=void 0;this.scope=void 0;this.path=void 0;this.attachAfter=void 0;this.breakOnScopePaths=[];this.bindings={};this.mutableBinding=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.indexOf(e.path)>=0){break}}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e){t=e.scope.parent}if(t.path.isProgram()||t.path.isFunction()){for(const r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if(n.kind==="param"||n.path.parentKey==="params"){continue}const i=this.getAttachmentParentForPath(n.path);if(i.key>=e.key){this.attachAfter=true;e=n.path;for(const t of n.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const r=[function(e,t){const r=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(r){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&(e.key==="consequent"||e.key==="alternate")||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}];t.hooks=r},90874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ForAwaitStatement=t.NumericLiteralTypeAnnotation=t.ExistentialTypeParam=t.SpreadProperty=t.RestProperty=t.Flow=t.Pure=t.Generated=t.User=t.Var=t.BlockScoped=t.Referenced=t.Scope=t.Expression=t.Statement=t.BindingIdentifier=t.ReferencedMemberExpression=t.ReferencedIdentifier=void 0;var n=r(42428);const i={types:["Identifier","JSXIdentifier"],checkPath(e,t){const{node:r,parent:i}=e;if(!n.isIdentifier(r,t)&&!n.isJSXMemberExpression(i,t)){if(n.isJSXIdentifier(r,t)){if(n.react.isCompatTag(r.name))return false}else{return false}}return n.isReferenced(r,i,e.parentPath.parent)}};t.ReferencedIdentifier=i;const s={types:["MemberExpression"],checkPath({node:e,parent:t}){return n.isMemberExpression(e)&&n.isReferenced(e,t)}};t.ReferencedMemberExpression=s;const a={types:["Identifier"],checkPath(e){const{node:t,parent:r}=e;const i=e.parentPath.parent;return n.isIdentifier(t)&&n.isBinding(t,r,i)}};t.BindingIdentifier=a;const o={types:["Statement"],checkPath({node:e,parent:t}){if(n.isStatement(e)){if(n.isVariableDeclaration(e)){if(n.isForXStatement(t,{left:e}))return false;if(n.isForStatement(t,{init:e}))return false}return true}else{return false}}};t.Statement=o;const l={types:["Expression"],checkPath(e){if(e.isIdentifier()){return e.isReferencedIdentifier()}else{return n.isExpression(e.node)}}};t.Expression=l;const u={types:["Scopable","Pattern"],checkPath(e){return n.isScope(e.node,e.parent)}};t.Scope=u;const p={checkPath(e){return n.isReferenced(e.node,e.parent)}};t.Referenced=p;const c={checkPath(e){return n.isBlockScoped(e.node)}};t.BlockScoped=c;const f={types:["VariableDeclaration"],checkPath(e){return n.isVar(e.node)}};t.Var=f;const d={checkPath(e){return e.node&&!!e.node.loc}};t.User=d;const y={checkPath(e){return!e.isUser()}};t.Generated=y;const h={checkPath(e,t){return e.scope.isPure(e.node,t)}};t.Pure=h;const m={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath({node:e}){if(n.isFlow(e)){return true}else if(n.isImportDeclaration(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(n.isExportDeclaration(e)){return e.exportKind==="type"}else if(n.isImportSpecifier(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}};t.Flow=m;const T={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectPattern()}};t.RestProperty=T;const S={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectExpression()}};t.SpreadProperty=S;const b={types:["ExistsTypeAnnotation"]};t.ExistentialTypeParam=b;const E={types:["NumberLiteralTypeAnnotation"]};t.NumericLiteralTypeAnnotation=E;const g={types:["ForOfStatement"],checkPath({node:e}){return e.await===true}};t.ForAwaitStatement=g},45885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.insertBefore=insertBefore;t._containerInsert=_containerInsert;t._containerInsertBefore=_containerInsertBefore;t._containerInsertAfter=_containerInsertAfter;t.insertAfter=insertAfter;t.updateSiblingKeys=updateSiblingKeys;t._verifyNodeList=_verifyNodeList;t.unshiftContainer=unshiftContainer;t.pushContainer=pushContainer;t.hoist=hoist;var n=r(87621);var i=r(15562);var s=r(28039);var a=r(42428);function insertBefore(e){this._assertUnremoved();const t=this._verifyNodeList(e);const{parentPath:r}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||r.isExportNamedDeclaration()||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertBefore(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.unshiftContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function _containerInsert(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let n=0;n{return a.isExpression(e)?a.expressionStatement(e):e}))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){const e=this.node;let{scope:n}=this;if(n.path.isPattern()){a.assertExpression(e);this.replaceWith(a.callExpression(a.arrowFunctionExpression([],e),[]));this.get("callee.body").insertAfter(t);return[this]}if(r.isMethod({computed:true,key:e})){n=n.parent}const i=n.generateDeclaredUidIdentifier();t.unshift(a.expressionStatement(a.assignmentExpression("=",a.cloneNode(i),e)));t.push(a.expressionStatement(a.cloneNode(i)))}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertAfter(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.pushContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(const[,n]of r){if(n.key>=e){n.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.remove=remove;t._removeFromScope=_removeFromScope;t._callRemovalHooks=_callRemovalHooks;t._remove=_remove;t._markRemoved=_markRemoved;t._assertUnremoved=_assertUnremoved;var n=r(51750);var i=r(87621);var s=r(28039);function remove(){var e;this._assertUnremoved();this.resync();if(!((e=this.opts)!=null&&e.noScope)){this._removeFromScope()}if(this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings();this._remove();this._markRemoved()}function _removeFromScope(){const e=this.getBindingIdentifiers();Object.keys(e).forEach(e=>this.scope.removeBinding(e))}function _callRemovalHooks(){for(const e of n.hooks){if(e(this,this.parentPath))return true}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);this.updateSiblingKeys(this.key,-1)}else{this._replaceWith(null)}}function _markRemoved(){this._traverseFlags|=s.SHOULD_SKIP|s.REMOVED;if(this.parent)i.path.get(this.parent).delete(this.node);this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},29784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;t.replaceWith=replaceWith;t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;var n=r(88971);var i=r(58163);var s=r(28039);var a=r(87621);var o=r(25163);var l=r(42428);var u=r(28497);function replaceWithMultiple(e){var t;this.resync();e=this._verifyNodeList(e);l.inheritLeadingComments(e[0],this.node);l.inheritTrailingComments(e[e.length-1],this.node);(t=a.path.get(this.parent))==null?void 0:t.delete(this.node);this.node=this.container[this.key]=null;const r=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return r}function replaceWithSourceString(e){this.resync();try{e=`(${e})`;e=(0,o.parse)(e)}catch(t){const r=t.loc;if(r){t.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}});t.code="BABEL_REPLACE_SOURCE_ERROR"}throw t}e=e.program.body[0].expression;i.default.removeProperties(e);return this.replaceWith(e)}function replaceWith(e){this.resync();if(this.removed){throw new Error("You can't replace this node, we've already removed it")}if(e instanceof s.default){e=e.node}if(!e){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===e){return[this]}if(this.isProgram()&&!l.isProgram(e)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(e)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof e==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let t="";if(this.isNodeType("Statement")&&l.isExpression(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)&&!this.parentPath.isExportDefaultDeclaration()){e=l.expressionStatement(e);t="expression"}}if(this.isNodeType("Expression")&&l.isStatement(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)){return this.replaceExpressionWithStatements([e])}}const r=this.node;if(r){l.inheritsComments(e,r);l.removeComments(r)}this._replaceWith(e);this.type=e.type;this.setScope();this.requeue();return[t?this.get(t):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){l.validate(this.parent,this.key,[e])}else{l.validate(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=a.path.get(this.parent))==null?void 0:t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){this.resync();const t=l.toSequenceExpression(e,this.scope);if(t){return this.replaceWith(t)[0].get("expressions")}const r=this.getFunctionParent();const n=r==null?void 0:r.is("async");const s=r==null?void 0:r.is("generator");const a=l.arrowFunctionExpression([],l.blockStatement(e));this.replaceWith(l.callExpression(a,[]));const o=this.get("callee");(0,u.default)(o.get("body"),e=>{this.scope.push({id:e})},"var");const p=this.get("callee").getCompletionRecords();for(const e of p){if(!e.isExpressionStatement())continue;const t=e.findParent(e=>e.isLoop());if(t){let r=t.getData("expressionReplacementReturnUid");if(!r){r=o.scope.generateDeclaredUidIdentifier("ret");o.get("body").pushContainer("body",l.returnStatement(l.cloneNode(r)));t.setData("expressionReplacementReturnUid",r)}else{r=l.identifier(r.name)}e.get("expression").replaceWith(l.assignmentExpression("=",l.cloneNode(r),e.node.expression))}else{e.replaceWith(l.returnStatement(e.node.expression))}}o.arrowFunctionToExpression();const c=o;const f=n&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",l.FUNCTION_TYPES);const d=s&&i.default.hasType(this.get("callee.body").node,"YieldExpression",l.FUNCTION_TYPES);if(f){c.set("async",true);if(!d){this.replaceWith(l.awaitExpression(this.node))}}if(d){c.set("generator",true);this.replaceWith(l.yieldExpression(this.node,true))}return c.get("body.body")}function replaceInline(e){this.resync();if(Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},97005:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Binding{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0;this.scope=void 0;this.path=void 0;this.kind=void 0;this.constantViolations=[];this.constant=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=r;this.kind=n;this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.indexOf(e)!==-1){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.indexOf(e)!==-1){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t.default=Binding},76608:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(81928);var i=r(58163);var s=r(97005);var a=r(41389);var o=r(42428);var l=r(87621);function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(o.isModuleDeclaration(e)){if((o.isExportAllDeclaration(e)||o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.source){gatherNodeParts(e.source,t)}else if((o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.specifiers&&e.specifiers.length){for(const r of e.specifiers)gatherNodeParts(r,t)}else if((o.isExportDefaultDeclaration(e)||o.isExportNamedDeclaration(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(o.isModuleSpecifier(e)){gatherNodeParts(e.local,t)}else if(o.isLiteral(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const r of e.properties){gatherNodeParts(r,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":t.push(e.name);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}const u={For(e){for(const t of o.FOR_INIT_KEYS){const r=e.get(t);if(r.isVar()){const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerBinding("var",r)}}},Declaration(e){if(e.isBlockScoped())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier()){t.constantViolations.push(e)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(o.isExportAllDeclaration(t))return;const n=t.declaration;if(o.isClassDeclaration(n)||o.isFunctionDeclaration(n)){const t=n.id;if(!t)return;const i=r.getBinding(t.name);if(i)i.reference(e)}else if(o.isVariableDeclaration(n)){for(const t of n.declarations){for(const n of Object.keys(o.getBindingIdentifiers(t))){const t=r.getBinding(n);if(t)t.reference(e)}}}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const r=t.getBlockParent();r.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){if(e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e.get("id"),e)}const t=e.get("params");for(const r of t){e.scope.registerBinding("param",r)}},ClassExpression(e){if(e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e)}}};let p=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.labels=void 0;this.inited=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const r=l.scope.get(t);if((r==null?void 0:r.path)===e){return r}l.scope.set(t,this);this.uid=p++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,r=this.path;do{const e=r.key==="key";r=r.parentPath;if(e&&r.isMethod())r=r.parentPath;if(r&&r.isScope())t=r}while(r&&!t);return(e=t)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,i.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return o.cloneNode(t)}generateUidIdentifier(e){return o.identifier(this.generateUid(e))}generateUid(e="temp"){e=o.toIdentifier(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let t;let r=1;do{t=this._generateUid(e,r);r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();n.references[t]=true;n.uids[t]=true;return t}_generateUid(e,t){let r=e;if(t>1)r+=t;return`_${r}`}generateUidBasedOnNode(e,t){const r=[];gatherNodeParts(e,r);let n=r.join("$");n=n.replace(/^_/,"")||t||"ref";return this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return o.identifier(this.generateUidBasedOnNode(e,t))}isStatic(e){if(o.isThisExpression(e)||o.isSuper(e)){return true}if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const r=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:r});return o.cloneNode(r)}return r}}checkBlockScopedCollisions(e,t,r,n){if(t==="param")return;if(e.kind==="local")return;const i=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&(t==="let"||t==="const");if(i){throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}}rename(e,t,r){const i=this.getBinding(e);if(i){t=t||this.generateUidIdentifier(e).name;return new n.default(i,e,t).rename(r)}}_renameFromMap(e,t,r,n){if(e[t]){e[r]=n;e[t]=null}}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,r){if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(o.isArrayExpression(e)){return e}if(o.isIdentifier(e,{name:"arguments"})){return o.callExpression(o.memberExpression(o.memberExpression(o.memberExpression(o.identifier("Array"),o.identifier("prototype")),o.identifier("slice")),o.identifier("call")),[e])}let n;const i=[e];if(t===true){n="toConsumableArray"}else if(t){i.push(o.numericLiteral(t));n="slicedToArray"}else{n="toArray"}if(r){i.unshift(this.hub.addHelper(n));n="maybeArrayLike"}return o.callExpression(this.hub.addHelper(n),i)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement()){this.registerLabel(e)}else if(e.isFunctionDeclaration()){this.registerBinding("hoisted",e.get("id"),e)}else if(e.isVariableDeclaration()){const t=e.get("declarations");for(const r of t){this.registerBinding(e.node.kind,r)}}else if(e.isClassDeclaration()){this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.get("specifiers");for(const e of t){this.registerBinding("module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return o.unaryExpression("void",o.numericLiteral(0),true)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const t=this.getBinding(r);if(t)t.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r){this.registerBinding(e,t)}return}const n=this.getProgramParent();const i=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(i)){n.references[t]=true;for(const n of i[t]){const i=this.getOwnBinding(t);if(i){if(i.identifier===n)continue;this.checkBlockScopedCollisions(i,e,t,n)}if(i){this.registerConstantViolation(r)}else{this.bindings[t]=new s.default({identifier:n,scope:this,path:r,kind:e})}}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(o.isIdentifier(e)){const r=this.getBinding(e.name);if(!r)return false;if(t)return r.constant;return true}else if(o.isClass(e)){if(e.superClass&&!this.isPure(e.superClass,t)){return false}return this.isPure(e.body,t)}else if(o.isClassBody(e)){for(const r of e.body){if(!this.isPure(r,t))return false}return true}else if(o.isBinary(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(o.isArrayExpression(e)){for(const r of e.elements){if(!this.isPure(r,t))return false}return true}else if(o.isObjectExpression(e)){for(const r of e.properties){if(!this.isPure(r,t))return false}return true}else if(o.isMethod(e)){if(e.computed&&!this.isPure(e.key,t))return false;if(e.kind==="get"||e.kind==="set")return false;return true}else if(o.isProperty(e)){if(e.computed&&!this.isPure(e.key,t))return false;return this.isPure(e.value,t)}else if(o.isUnaryExpression(e)){return this.isPure(e.argument,t)}else if(o.isTaggedTemplateExpression(e)){return o.matchesPattern(e.tag,"String.raw")&&!this.hasBinding("String",true)&&this.isPure(e.quasi,t)}else if(o.isTemplateLiteral(e)){for(const r of e.expressions){if(!this.isPure(r,t))return false}return true}else{return o.isPureish(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(r!=null)return r}while(t=t.parent)}removeData(e){let t=this;do{const r=t.data[e];if(r!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;this.references=Object.create(null);this.bindings=Object.create(null);this.globals=Object.create(null);this.uids=Object.create(null);this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const r={references:[],constantViolations:[],assignments:[]};this.crawling=true;if(e.type!=="Program"&&u._exploded){for(const t of u.enter){t(e,r)}const t=u[e.type];if(t){for(const n of t.enter){n(e,r)}}}e.traverse(u,r);this.crawling=false;for(const e of r.assignments){const r=e.getBindingIdentifiers();for(const n of Object.keys(r)){if(e.scope.getBinding(n))continue;t.addGlobal(r[n])}e.scope.registerConstantViolation(e)}for(const e of r.references){const r=e.scope.getBinding(e.node.name);if(r){r.reference(e)}else{t.addGlobal(e.node)}}for(const e of r.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const r=e.unique;const n=e.kind||"var";const i=e._blockHoist==null?2:e._blockHoist;const s=`declaration:${n}:${i}`;let a=!r&&t.getData(s);if(!a){const e=o.variableDeclaration(n,[]);e._blockHoist=i;[a]=t.unshiftContainer("body",[e]);if(!r)t.setData(s,a)}const l=o.variableDeclarator(e.id,e.init);a.node.declarations.push(l);this.registerBinding(n,a.get("declarations").pop())}getProgramParent(){let e=this;do{if(e.path.isProgram()){return e}}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent()){return e}}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent()){return e}}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const r of Object.keys(t.bindings)){if(r in e===false){e[r]=t.bindings[r]}}t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const i=e.bindings[n];if(i.kind===r)t[n]=i}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let r;do{const i=t.getOwnBinding(e);if(i){var n;if((n=r)!=null&&n.isPattern()&&i.kind!=="param"){}else{return i}}r=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return false;if(this.hasOwnBinding(e))return true;if(this.parentHasBinding(e,t))return true;if(this.hasUid(e))return true;if(!t&&Scope.globals.includes(e))return true;if(!t&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);if(r){r.scope.removeOwnBinding(e);r.scope=t;t.bindings[e]=r}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null?void 0:t.scope.removeOwnBinding(e);let r=this;do{if(r.uids[e]){r.uids[e]=false}}while(r=r.parent)}}t.default=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},81928:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(97005);var i=r(76729);var s=r(42428);const a={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){skipAllButComputedMethodKey(e)}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.getOuterBindingIdentifiers();for(const e in r){if(e===t.oldName)r[e].name=t.newName}}};class Renamer{constructor(e,t,r){this.newName=r;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()&&!t.get("declaration").node.id){return}(0,i.default)(t)}maybeConvertFromClassFunctionDeclaration(e){return;if(!e.isFunctionDeclaration()&&!e.isClassDeclaration())return;if(this.binding.kind!=="hoisted")return;e.node.id=s.identifier(this.oldName);e.node._blockHoist=3;e.replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.identifier(this.newName),s.toExpression(e.node))]))}maybeConvertFromClassFunctionExpression(e){return;if(!e.isFunctionExpression()&&!e.isClassExpression())return;if(this.binding.kind!=="local")return;e.node.id=s.identifier(this.oldName);this.binding.scope.parent.push({id:s.identifier(this.newName)});e.replaceWith(s.assignmentExpression("=",s.identifier(this.newName),e.node))}rename(e){const{binding:t,oldName:r,newName:n}=this;const{scope:i,path:s}=t;const o=s.find(e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression());if(o){const e=o.getOuterBindingIdentifiers();if(e[r]===t.identifier){this.maybeConvertFromExportDeclaration(o)}}const l=e||i.block;if((l==null?void 0:l.type)==="SwitchStatement"){l.cases.forEach(e=>{i.traverse(e,a,this)})}else{i.traverse(l,a,this)}if(!e){i.removeOwnBinding(r);i.bindings[n]=t;this.binding.identifier.name=n}if(o){this.maybeConvertFromClassFunctionDeclaration(o);this.maybeConvertFromClassFunctionExpression(o)}}}t.default=Renamer;function skipAllButComputedMethodKey(e){if(!e.isMethod()||!e.node.computed){e.skip();return}const t=s.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}},11627:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.explode=explode;t.verify=verify;t.merge=merge;var n=r(90874);var i=r(42428);function explode(e){if(e._exploded)return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=t.split("|");if(r.length===1)continue;const n=e[t];delete e[t];for(const t of r){e[t]=n}}verify(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=n[t];if(!r)continue;const i=e[t];for(const e of Object.keys(i)){i[e]=wrapCheck(r,i[e])}delete e[t];if(r.types){for(const t of r.types){if(e[t]){mergePair(e[t],i)}else{e[t]=i}}}else{mergePair(e,i)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];let n=i.FLIPPED_ALIAS_KEYS[t];const s=i.DEPRECATED_KEYS[t];if(s){console.trace(`Visitor defined for ${t} but it has been renamed to ${s}`);n=[s]}if(!n)continue;delete e[t];for(const t of n){const n=e[t];if(n){mergePair(n,r)}else{e[t]=Object.assign({},r)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify(e){if(e._verified)return;if(typeof e==="function"){throw new Error("You passed `traverse()` a function when it expected a visitor object, "+"are you sure you didn't mean `{ enter: Function }`?")}for(const t of Object.keys(e)){if(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(i.TYPES.indexOf(t)<0){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`)}const r=e[t];if(typeof r==="object"){for(const e of Object.keys(r)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,r[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const r=[].concat(t);for(const t of r){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],r){const n={};for(let i=0;ie.toString())}return n});n[i]=s}return n}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];if(typeof r==="function"){e[t]={enter:r}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const r=function(r){if(e.checkPath(r)){return t.apply(this,arguments)}};r.toString=(()=>t.toString());return r}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"){return true}return false}function mergePair(e,t){for(const r of Object.keys(t)){e[r]=[].concat(e[r]||[],t[r])}}},75702:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(73410);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},82731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(27789);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},44361:()=>{},78803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(44534);var i=r(74304);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(21998);var i=r(6674);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},35770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(21998);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},21998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(78803);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},2424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(21998)},23363:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(45302);var i=r(87887);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(21998);var i=r(96781);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},11595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(71037);function clone(e){return(0,n.default)(e,false)}},67328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(71037);function cloneDeep(e){return(0,n.default)(e)}},34731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(71037);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},71037:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(44534);var i=r(45302);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},81043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(71037);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},19415:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(35166);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},35166:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},73168:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(97217);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},93694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(97217);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},60160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(97217);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},32633:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(60160);var i=r(93694);var s=r(73168);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},48626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(63923);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},22609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(44534);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},63923:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},57893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(85246);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},49509:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(98463);var i=r(45302);var s=r(21998);var a=r(71037);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},19319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(43612);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},85246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(45302);var i=r(21998);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},16946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(45302);var i=r(21998);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},39275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(45302);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},43612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(94056);var i=r(6094);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},99623:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(45302);var i=r(71037);var s=r(58692);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},27846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(49509);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},69246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(45302);var i=r(21998);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},7503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(94056);var i=r(21998);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},67819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(27789);var i=r(94056);var s=r(6094);var a=r(63923);var o=r(48862);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},43463:(e,t,r)=>{"use strict";var n=r(48862);var i=r(67819);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},89322:(e,t,r)=>{"use strict";var n=r(48862);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:false},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"))}})},44534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(67819);r(89322);r(19693);r(30282);r(43463);r(40541);var i=r(48862);var s=r(99539);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},19693:(e,t,r)=>{"use strict";var n=r(48862);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},30282:(e,t,r)=>{"use strict";var n=r(48862);var i=r(99539);{(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")}}})},99539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(48862);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},40541:(e,t,r)=>{"use strict";var n=r(48862);var i=r(67819);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},48862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(27789);var i=r(74304);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},42428:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(66336);var s=r(72775);var a=r(23363);var o=r(75702);var l=r(82731);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(35770);var p=r(67753);var c=r(41558);var f=r(21998);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(2424);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(71037);var h=r(11595);var m=r(67328);var T=r(34731);var S=r(81043);var b=r(19415);var E=r(35166);var g=r(73168);var x=r(93694);var P=r(32633);var A=r(60160);var v=r(48626);var O=r(22609);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(63923);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(57893);var D=r(19319);var N=r(85246);var C=r(16946);var j=r(39275);var _=r(43612);var L=r(99623);var k=r(27846);var B=r(69246);var M=r(7503);var F=r(44534);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(25698);var K=r(40507);var V=r(41523);var U=r(44233);var X=r(58692);var J=r(6674);var Y=r(98463);var W=r(14332);var q=r(23801);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(67475);var H=r(63226);var G=r(27789);var $=r(84694);var Q=r(12878);var Z=r(73867);var ee=r(87337);var te=r(73410);var re=r(47498);var ne=r(626);var ie=r(18330);var se=r(32673);var ae=r(21278);var oe=r(13605);var le=r(96346);var ue=r(94056);var pe=r(79786);var ce=r(46409);var fe=r(74304);var de=r(690);var ye=r(45302);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(44361);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},25698:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(21998);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},6674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(45302);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},40507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(63923);var i=r(32633);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},41523:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(21998);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},44233:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(63923);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},58692:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(67475);var i=r(44233);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},96781:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(45302);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},98463:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(45302);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98463);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},23801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(44534);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(44534);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},97217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},87887:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(21998);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(46409);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},45302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(63226);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},27789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(63226);var i=r(13605);var s=r(626);var a=r(44534);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},84694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(98463);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},12878:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(45302);var i=r(87337);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},73867:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(13605);var i=r(45302);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},87337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(45302);var i=r(63923);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},73410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(44534);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},47498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(44534);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(44534);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},18330:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},32673:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(45302);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},21278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(45302);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},13605:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(44534);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},96346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(94056);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},94056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(6094);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},79786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(45302);var i=r(63923);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},46409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(45302);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},66336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(690);const i=(0,n.default)("React.Component");var s=i;t.default=s},74304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(44534);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},39571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=_interopRequireWildcard(r(52388));var i=r(74246);var s=_interopRequireDefault(r(72242));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var 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;if(s&&(s.get||s.set)){Object.defineProperty(r,i,s)}else{r[i]=e[i]}}}r.default=e;if(t){t.set(e,r)}return r}function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const a=/\r\n|[\n\r\u2028\u2029]/;const o=/^[a-z][\w-]*$/i;const l=/^[()[\]{}]$/;function getTokenType(e){const[t,r]=e.slice(-2);const s=(0,n.matchToToken)(e);if(s.type==="name"){if((0,i.isKeyword)(s.value)||(0,i.isReservedWord)(s.value)){return"keyword"}if(o.test(s.value)&&(r[t-1]==="<"||r.substr(t-2,2)=="n(e)).join("\n")}else{return t[0]}})}function shouldHighlight(e){return s.default.supportsColor||e.forceColor}function getChalk(e){let t=s.default;if(e.forceColor){t=new s.default.constructor({enabled:true,level:1})}return t}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},74690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70456);var i=r(57640);const s=["commonjs","amd","systemjs"];const a=`@babel/plugin-proposal-dynamic-import depends on a modules\ntransform plugin. Supported plugins are:\n - @babel/plugin-transform-modules-commonjs ^7.4.0\n - @babel/plugin-transform-modules-amd ^7.4.0\n - @babel/plugin-transform-modules-systemjs ^7.4.0\n\nIf you are using Webpack or Rollup and thus don't want\nBabel to transpile your imports and exports, you can use\nthe @babel/plugin-syntax-dynamic-import plugin and let your\nbundler handle dynamic imports.\n`;var o=(0,n.declare)(e=>{e.assertVersion(7);return{name:"proposal-dynamic-import",inherits:i.default,pre(){this.file.set("@babel/plugin-proposal-dynamic-import","7.14.5")},visitor:{Program(){const e=this.file.get("@babel/plugin-transform-modules-*");if(!s.includes(e)){throw new Error(a)}}}}});t.default=o},70456:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},78562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(54602);var i=r(23817);var s=r(85850);var a=(0,n.declare)(e=>{e.assertVersion(7);return{name:"proposal-export-namespace-from",inherits:i.default,visitor:{ExportNamedDeclaration(e){var t;const{node:r,scope:n}=e;const{specifiers:i}=r;const a=s.types.isExportDefaultSpecifier(i[0])?1:0;if(!s.types.isExportNamespaceSpecifier(i[a]))return;const o=[];if(a===1){o.push(s.types.exportNamedDeclaration(null,[i.shift()],r.source))}const l=i.shift();const{exported:u}=l;const p=n.generateUidIdentifier((t=u.name)!=null?t:u.value);o.push(s.types.importDeclaration([s.types.importNamespaceSpecifier(p)],s.types.cloneNode(r.source)),s.types.exportNamedDeclaration(null,[s.types.exportSpecifier(s.types.cloneNode(p),u)]));if(r.specifiers.length>=1){o.push(r)}const[c]=e.replaceWithMultiple(o);e.scope.registerDeclaration(c)}}}});t.default=a},54602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},91253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(72820);var i=r(26456);var s=(0,n.declare)(e=>{e.assertVersion(7);const t=/(\\*)([\u2028\u2029])/g;function replace(e,t,r){const n=t.length%2===1;if(n)return e;return`${t}\\u${r.charCodeAt(0).toString(16)}`}return{name:"proposal-json-strings",inherits:i.default,visitor:{"DirectiveLiteral|StringLiteral"({node:e}){const{extra:r}=e;if(!(r!=null&&r.raw))return;r.raw=r.raw.replace(t,replace)}}}});t.default=s},72820:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},76321:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42521);var i=r(99420);var s=r(85850);var a=(0,n.declare)(e=>{e.assertVersion(7);return{name:"proposal-logical-assignment-operators",inherits:i.default,visitor:{AssignmentExpression(e){const{node:t,scope:r}=e;const{operator:n,left:i,right:a}=t;const o=n.slice(0,-1);if(!s.types.LOGICAL_OPERATORS.includes(o)){return}const l=s.types.cloneNode(i);if(s.types.isMemberExpression(i)){const{object:e,property:t,computed:n}=i;const a=r.maybeGenerateMemoised(e);if(a){i.object=a;l.object=s.types.assignmentExpression("=",s.types.cloneNode(a),e)}if(n){const e=r.maybeGenerateMemoised(t);if(e){i.property=e;l.property=s.types.assignmentExpression("=",s.types.cloneNode(e),t)}}}e.replaceWith(s.types.logicalExpression(o,l,s.types.assignmentExpression("=",i,a)))}}}});t.default=a},42521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},66841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(93458);var i=r(61586);var s=r(85850);var a=(0,n.declare)((e,{loose:t=false})=>{var r;e.assertVersion(7);const n=(r=e.assumption("noDocumentAll"))!=null?r:t;return{name:"proposal-nullish-coalescing-operator",inherits:i.default,visitor:{LogicalExpression(e){const{node:t,scope:r}=e;if(t.operator!=="??"){return}let i;let a;if(r.isStatic(t.left)){i=t.left;a=s.types.cloneNode(t.left)}else if(r.path.isPattern()){e.replaceWith(s.template.ast`(() => ${e.node})()`);return}else{i=r.generateUidIdentifierBasedOnNode(t.left);r.push({id:s.types.cloneNode(i)});a=s.types.assignmentExpression("=",i,t.left)}e.replaceWith(s.types.conditionalExpression(n?s.types.binaryExpression("!=",a,s.types.nullLiteral()):s.types.logicalExpression("&&",s.types.binaryExpression("!==",a,s.types.nullLiteral()),s.types.binaryExpression("!==",s.types.cloneNode(i),r.buildUndefinedNode())),s.types.cloneNode(i),t.right))}}}});t.default=a},93458:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},17788:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(91593);var i=r(95619);function remover({node:e}){var t;const{extra:r}=e;if(r!=null&&(t=r.raw)!=null&&t.includes("_")){r.raw=r.raw.replace(/_/g,"")}}var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"proposal-numeric-separator",inherits:i.default,visitor:{NumericLiteral:remover,BigIntLiteral:remover}}});t.default=s},91593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},15654:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(85294);var i=r(86343);var s=r(85850);var a=r(26155);var o=r(34487);var l=r(63706);const u=(()=>{const e=s.types.identifier("a");const t=s.types.objectProperty(s.types.identifier("key"),e);const r=s.types.objectPattern([t]);return s.types.isReferenced(e,t,r)?1:0})();var p=(0,n.declare)((e,t)=>{var r,n,p,c;e.assertVersion(7);const f=e.targets();const d=!(0,o.isRequired)("es6.object.assign",f,{compatData:l});const{useBuiltIns:y=d,loose:h=false}=t;if(typeof h!=="boolean"){throw new Error(".loose must be a boolean, or undefined")}const m=(r=e.assumption("ignoreFunctionLength"))!=null?r:h;const T=(n=e.assumption("objectRestNoSymbols"))!=null?n:h;const S=(p=e.assumption("pureGetters"))!=null?p:h;const b=(c=e.assumption("setSpreadProperties"))!=null?c:h;function getExtendsHelper(e){return y?s.types.memberExpression(s.types.identifier("Object"),s.types.identifier("assign")):e.addHelper("extends")}function hasRestElement(e){let t=false;visitRestElements(e,e=>{t=true;e.stop()});return t}function hasObjectPatternRestElement(e){let t=false;visitRestElements(e,e=>{if(e.parentPath.isObjectPattern()){t=true;e.stop()}});return t}function visitRestElements(e,t){e.traverse({Expression(e){const t=e.parent.type;if(t==="AssignmentPattern"&&e.key==="right"||t==="ObjectProperty"&&e.parent.computed&&e.key==="key"){e.skip()}},RestElement:t})}function hasSpread(e){for(const t of e.properties){if(s.types.isSpreadElement(t)){return true}}return false}function extractNormalizedKeys(e){const t=e.node.properties;const r=[];let n=true;let i=false;for(const e of t){if(s.types.isIdentifier(e.key)&&!e.computed){r.push(s.types.stringLiteral(e.key.name))}else if(s.types.isTemplateLiteral(e.key)){r.push(s.types.cloneNode(e.key));i=true}else if(s.types.isLiteral(e.key)){r.push(s.types.stringLiteral(String(e.key.value)))}else{r.push(s.types.cloneNode(e.key));n=false}}return{keys:r,allLiteral:n,hasTemplateLiteral:i}}function replaceImpureComputedKeys(e,t){const r=[];for(const n of e){const e=n.get("key");if(n.node.computed&&!e.isPure()){const n=t.generateUidBasedOnNode(e.node);const i=s.types.variableDeclarator(s.types.identifier(n),e.node);r.push(i);e.replaceWith(s.types.identifier(n))}}return r}function removeUnusedExcludedKeys(e){const t=e.getOuterBindingIdentifierPaths();Object.keys(t).forEach(r=>{const n=t[r].parentPath;if(e.scope.getBinding(r).references>u||!n.isObjectProperty()){return}n.remove()})}function createObjectRest(e,t,r){const n=e.get("properties");const i=n[n.length-1];s.types.assertRestElement(i.node);const a=s.types.cloneNode(i.node);i.remove();const o=replaceImpureComputedKeys(e.get("properties"),e.scope);const{keys:l,allLiteral:u,hasTemplateLiteral:p}=extractNormalizedKeys(e);if(l.length===0){return[o,a.argument,s.types.callExpression(getExtendsHelper(t),[s.types.objectExpression([]),s.types.cloneNode(r)])]}let c;if(!u){c=s.types.callExpression(s.types.memberExpression(s.types.arrayExpression(l),s.types.identifier("map")),[t.addHelper("toPropertyKey")])}else{c=s.types.arrayExpression(l);if(!p&&!s.types.isProgram(e.scope.block)){const t=e.findParent(e=>e.isProgram());const r=e.scope.generateUidIdentifier("excluded");t.scope.push({id:r,init:c,kind:"const"});c=s.types.cloneNode(r)}}return[o,a.argument,s.types.callExpression(t.addHelper(`objectWithoutProperties${T?"Loose":""}`),[s.types.cloneNode(r),c])]}function replaceRestElement(e,t,r){if(t.isAssignmentPattern()){replaceRestElement(e,t.get("left"),r);return}if(t.isArrayPattern()&&hasRestElement(t)){const n=t.get("elements");for(let t=0;te.skip(),"ReferencedIdentifier|BindingIdentifier":s},e.scope)}}}if(!i){for(let e=0;ee>=o-1||r.has(e);(0,a.convertFunctionParams)(e,m,t,replaceRestElement)}},VariableDeclarator(e,t){if(!e.get("id").isObjectPattern()){return}let r=e;const n=e;visitRestElements(e.get("id"),e=>{if(!e.parentPath.isObjectPattern()){return}if(n.node.id.properties.length>1&&!s.types.isIdentifier(n.node.init)){const t=e.scope.generateUidIdentifierBasedOnNode(n.node.init,"ref");n.insertBefore(s.types.variableDeclarator(t,n.node.init));n.replaceWith(s.types.variableDeclarator(n.node.id,s.types.cloneNode(t)));return}let i=n.node.init;const a=[];let o;e.findParent(e=>{if(e.isObjectProperty()){a.unshift(e)}else if(e.isVariableDeclarator()){o=e.parentPath.node.kind;return true}});const l=replaceImpureComputedKeys(a,e.scope);a.forEach(e=>{const{node:t}=e;i=s.types.memberExpression(i,s.types.cloneNode(t.key),t.computed||s.types.isLiteral(t.key))});const u=e.findParent(e=>e.isObjectPattern());const[p,c,f]=createObjectRest(u,t,i);if(S){removeUnusedExcludedKeys(u)}s.types.assertIdentifier(c);r.insertBefore(p);r.insertBefore(l);r.insertAfter(s.types.variableDeclarator(c,f));r=r.getSibling(r.key+1);e.scope.registerBinding(o,r);if(u.node.properties.length===0){u.findParent(e=>e.isObjectProperty()||e.isVariableDeclarator()).remove()}})},ExportNamedDeclaration(e){const t=e.get("declaration");if(!t.isVariableDeclaration())return;const r=t.get("declarations").some(e=>hasObjectPatternRestElement(e.get("id")));if(!r)return;const n=[];for(const t of Object.keys(e.getOuterBindingIdentifiers(e))){n.push(s.types.exportSpecifier(s.types.identifier(t),s.types.identifier(t)))}e.replaceWith(t.node);e.insertAfter(s.types.exportNamedDeclaration(null,n))},CatchClause(e){const t=e.get("param");replaceRestElement(t.parentPath,t)},AssignmentExpression(e,t){const r=e.get("left");if(r.isObjectPattern()&&hasRestElement(r)){const n=[];const i=e.scope.generateUidBasedOnNode(e.node.right,"ref");n.push(s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.identifier(i),e.node.right)]));const[a,o,l]=createObjectRest(r,t,s.types.identifier(i));if(a.length>0){n.push(s.types.variableDeclaration("var",a))}const u=s.types.cloneNode(e.node);u.right=s.types.identifier(i);n.push(s.types.expressionStatement(u));n.push(s.types.toStatement(s.types.assignmentExpression("=",o,l)));n.push(s.types.expressionStatement(s.types.identifier(i)));e.replaceWithMultiple(n)}},ForXStatement(e){const{node:t,scope:r}=e;const n=e.get("left");const i=t.left;if(!hasObjectPatternRestElement(n)){return}if(!s.types.isVariableDeclaration(i)){const n=r.generateUidIdentifier("ref");t.left=s.types.variableDeclaration("var",[s.types.variableDeclarator(n)]);e.ensureBlock();if(t.body.body.length===0&&e.isCompletionRecord()){t.body.body.unshift(s.types.expressionStatement(r.buildUndefinedNode()))}t.body.body.unshift(s.types.expressionStatement(s.types.assignmentExpression("=",i,s.types.cloneNode(n))))}else{const n=i.declarations[0].id;const a=r.generateUidIdentifier("ref");t.left=s.types.variableDeclaration(i.kind,[s.types.variableDeclarator(a,null)]);e.ensureBlock();t.body.body.unshift(s.types.variableDeclaration(t.left.kind,[s.types.variableDeclarator(n,s.types.cloneNode(a))]))}},ArrayPattern(e){const t=[];visitRestElements(e,e=>{if(!e.parentPath.isObjectPattern()){return}const r=e.parentPath;const n=e.scope.generateUidIdentifier("ref");t.push(s.types.variableDeclarator(r.node,n));r.replaceWith(s.types.cloneNode(n));e.skip()});if(t.length>0){const r=e.getStatementParent();r.insertAfter(s.types.variableDeclaration(r.node.kind||"var",t))}},ObjectExpression(e,t){if(!hasSpread(e.node))return;let r;if(b){r=getExtendsHelper(t)}else{try{r=t.addHelper("objectSpread2")}catch(e){this.file.declarations["objectSpread2"]=null;r=t.addHelper("objectSpread")}}let n=null;let i=[];function make(){const e=i.length>0;const t=s.types.objectExpression(i);i=[];if(!n){n=s.types.callExpression(r,[t]);return}if(S){if(e){n.arguments.push(t)}return}n=s.types.callExpression(s.types.cloneNode(r),[n,...e?[s.types.objectExpression([]),t]:[]])}for(const t of e.node.properties){if(s.types.isSpreadElement(t)){make();n.arguments.push(t.argument)}else{i.push(t)}}if(i.length)make();e.replaceWith(n)}}}});t.default=p},63706:(e,t,r)=>{e.exports=r(10078)},85294:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},82079:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(35588);var i=r(28909);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"proposal-optional-catch-binding",inherits:i.default,visitor:{CatchClause(e){if(!e.node.param){const t=e.scope.generateUidIdentifier("unused");const r=e.get("param");r.replaceWith(t)}}}}});t.default=s},35588:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},35078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(68937);var i=r(39797);var s=r(85850);var a=r(28571);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var o=_interopDefaultLegacy(i);function willPathCastToBoolean(e){const t=findOutermostTransparentParent(e);const{node:r,parentPath:n}=t;if(n.isLogicalExpression()){const{operator:e,right:t}=n.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(n)}}if(n.isSequenceExpression()){const{expressions:e}=n.node;if(e[e.length-1]===r){return willPathCastToBoolean(n)}else{return true}}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}function findOutermostTransparentParent(e){let t=e;e.findParent(e=>{if(!a.isTransparentExprWrapper(e))return true;t=e});return t}const{ast:l}=s.template.expression;function isSimpleMemberExpression(e){e=a.skipTransparentExprWrappers(e);return s.types.isIdentifier(e)||s.types.isSuper(e)||s.types.isMemberExpression(e)&&!e.computed&&isSimpleMemberExpression(e.object)}function needsMemoize(e){let t=e;const{scope:r}=e;while(t.isOptionalMemberExpression()||t.isOptionalCallExpression()){const{node:e}=t;const n=t.isOptionalMemberExpression()?"object":"callee";const i=a.skipTransparentExprWrappers(t.get(n));if(e.optional){return!r.isStatic(i.node)}t=i}}function transform(e,{pureGetters:t,noDocumentAll:r}){const{scope:n}=e;const i=findOutermostTransparentParent(e);const{parentPath:o}=i;const u=willPathCastToBoolean(i);let p=false;const c=o.isCallExpression({callee:i.node})&&e.isOptionalMemberExpression();const f=[];let d=e;if(n.path.isPattern()&&needsMemoize(d)){e.replaceWith(s.template.ast`(() => ${e.node})()`);return}while(d.isOptionalMemberExpression()||d.isOptionalCallExpression()){const{node:e}=d;if(e.optional){f.push(e)}if(d.isOptionalMemberExpression()){d.node.type="MemberExpression";d=a.skipTransparentExprWrappers(d.get("object"))}else if(d.isOptionalCallExpression()){d.node.type="CallExpression";d=a.skipTransparentExprWrappers(d.get("callee"))}}let y=e;if(o.isUnaryExpression({operator:"delete"})){y=o;p=true}for(let e=f.length-1;e>=0;e--){const i=f[e];const o=s.types.isCallExpression(i);const d=o?"callee":"object";const m=i[d];let T=m;while(a.isTransparentExprWrapper(T)){T=T.expression}let S;let b;if(o&&s.types.isIdentifier(T,{name:"eval"})){b=S=T;i[d]=s.types.sequenceExpression([s.types.numericLiteral(0),S])}else if(t&&o&&isSimpleMemberExpression(T)){b=S=m}else{S=n.maybeGenerateMemoised(T);if(S){b=s.types.assignmentExpression("=",s.types.cloneNode(S),m);i[d]=S}else{b=S=m}}if(o&&s.types.isMemberExpression(T)){if(t&&isSimpleMemberExpression(T)){i.callee=m}else{const{object:e}=T;let t=n.maybeGenerateMemoised(e);if(t){T.object=s.types.assignmentExpression("=",t,e)}else if(s.types.isSuper(e)){t=s.types.thisExpression()}else{t=e}i.arguments.unshift(s.types.cloneNode(t));i.callee=s.types.memberExpression(i.callee,s.types.identifier("call"))}}let E=y.node;if(e===0&&c){var h;const e=a.skipTransparentExprWrappers(y.get("object")).node;let r;if(!t||!isSimpleMemberExpression(e)){r=n.maybeGenerateMemoised(e);if(r){E.object=s.types.assignmentExpression("=",r,e)}}E=s.types.callExpression(s.types.memberExpression(E,s.types.identifier("bind")),[s.types.cloneNode((h=r)!=null?h:e)])}if(u){const e=r?l`${s.types.cloneNode(b)} != null`:l` + ${s.types.cloneNode(b)} !== null && ${s.types.cloneNode(S)} !== void 0`;y.replaceWith(s.types.logicalExpression("&&",e,E));y=a.skipTransparentExprWrappers(y.get("right"))}else{const e=r?l`${s.types.cloneNode(b)} == null`:l` + ${s.types.cloneNode(b)} === null || ${s.types.cloneNode(S)} === void 0`;const t=p?l`true`:l`void 0`;y.replaceWith(s.types.conditionalExpression(e,t,E));y=a.skipTransparentExprWrappers(y.get("alternate"))}}}var u=n.declare((e,t)=>{var r,n;e.assertVersion(7);const{loose:i=false}=t;const s=(r=e.assumption("noDocumentAll"))!=null?r:i;const a=(n=e.assumption("pureGetters"))!=null?n:i;return{name:"proposal-optional-chaining",inherits:o["default"].default,visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){transform(e,{noDocumentAll:s,pureGetters:a})}}}});t.default=u;t.transform=transform},68937:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},12077:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(47142);var i=r(34971);var s=(0,n.declare)((e,t)=>{e.assertVersion(7);return(0,i.createClassFeaturePlugin)({name:"proposal-private-methods",api:e,feature:i.FEATURES.privateMethods,loose:t.loose,manipulateOptions(e,t){t.plugins.push("classPrivateMethods")}})});t.default=s},47142:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},57640:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-dynamic-import",manipulateOptions(e,t){t.plugins.push("dynamicImport")}}});t.default=i},23817:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-export-namespace-from",manipulateOptions(e,t){t.plugins.push("exportNamespaceFrom")}}});t.default=i},26456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-json-strings",manipulateOptions(e,t){t.plugins.push("jsonStrings")}}});t.default=i},99420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-logical-assignment-operators",manipulateOptions(e,t){t.plugins.push("logicalAssignment")}}});t.default=i},61586:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-nullish-coalescing-operator",manipulateOptions(e,t){t.plugins.push("nullishCoalescingOperator")}}});t.default=i},95619:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-numeric-separator",manipulateOptions(e,t){t.plugins.push("numericSeparator")}}});t.default=i},86343:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-object-rest-spread",manipulateOptions(e,t){t.plugins.push("objectRestSpread")}}});t.default=i},28909:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-optional-catch-binding",manipulateOptions(e,t){t.plugins.push("optionalCatchBinding")}}});t.default=i},39797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-optional-chaining",manipulateOptions(e,t){t.plugins.push("optionalChaining")}}});t.default=i},56679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(29714);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-top-level-await",manipulateOptions(e,t){t.plugins.push("topLevelAwait")}}});t.default=i},29714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},45807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(55641);var i=(0,n.declare)((e,t)=>{var r;e.assertVersion(7);const n=(r=e.assumption("noNewArrows"))!=null?r:!t.spec;return{name:"transform-arrow-functions",visitor:{ArrowFunctionExpression(e){if(!e.isArrowFunctionExpression())return;e.arrowFunctionToExpression({allowInsertArrow:false,noNewArrows:n,specCompliant:!n})}}}});t.default=i},55641:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},43673:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(61170);var i=r(79763);var s=r(15641);var a=r(85850);var o=(0,n.declare)((e,t)=>{e.assertVersion(7);const{method:r,module:n}=t;const o=e.assumption("noNewArrows");if(r&&n){return{name:"transform-async-to-generator",visitor:{Function(e,t){if(!e.node.async||e.node.generator)return;let l=t.methodWrapper;if(l){l=a.types.cloneNode(l)}else{l=t.methodWrapper=(0,s.addNamed)(e,r,n)}(0,i.default)(e,{wrapAsync:l},o)}}}}return{name:"transform-async-to-generator",visitor:{Function(e,t){if(!e.node.async||e.node.generator)return;(0,i.default)(e,{wrapAsync:t.addHelper("asyncToGenerator")},o)}}}});t.default=o},59469:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(1403);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},12057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(1403);var s=r(59469);var a=r(12373);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{n(!t,"Unexpected secondary arguments.");i.push(e)}const s=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(s).forEach(t=>{if(e[t]!==undefined)s[t]=e[t]});if(!r){if(e.nameHint!==undefined)s.nameHint=e.nameHint;if(e.blockHoist!==undefined)s.blockHoist=e.blockHoist}}return s}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:c,ensureLiveReference:f,ensureNoContext:d,nameHint:y,importPosition:h,blockHoist:m}=e;let T=y||t;const S=(0,a.default)(this._programPath);const b=S&&c==="node";const E=S&&c==="babel";if(h==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new s.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(T,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){T=T!=="default"?T:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(T||l).wildcardInterop()}else if(r){if(f){g.default(e).var(T||l).defaultInterop().read("default")}else{g.default(e).var(T).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l).wildcardInterop()}else if((r||n)&&f){if(r){T=T!=="default"?T:l;g.var(T).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(T).defaultInterop().prop(t)}else if(n){g.var(T).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(T||l)}else if(r||n){g.default(l).read(T)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r||n){if(f){g.var(l).read(T)}else{g.prop(t).var(T)}}}}else if(p==="uncompiled"){if(r&&f){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.default(l).read(T)}}else if(E){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r){g.var(T)}else if(n){if(f){g.var(l).read(T)}else{g.var(T).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:x,resultName:P}=g.done();this._insertStatements(x,h,m);if((r||n)&&d&&P.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),P])}return P}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},15641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var n=r(12057);var i=r(12373);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,i){return new n.default(e).addNamed(t,r,i)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},12373:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},61170:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},86709:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(86709);var i=r(56003)},56003:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},80628:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(92609);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},90760:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(60849);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},11902:()=>{},9341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(43347);var i=r(27002);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(17529);var i=r(79841);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},64141:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(17529);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},17529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(9341);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},36847:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(17529)},42532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(70210);var i=r(80086);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(17529);var i=r(79021);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},63453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(17715);function clone(e){return(0,n.default)(e,false)}},56748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(17715);function cloneDeep(e){return(0,n.default)(e)}},93708:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(17715);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},17715:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(43347);var i=r(70210);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},18404:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(17715);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},20856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(20433);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},20433:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},85971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(44909);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},65881:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(44909);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},61180:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(44909);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},54154:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(61180);var i=r(65881);var s=r(85971);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},5858:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(86412);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},44558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(43347);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},86412:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},49148:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(29782);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},90150:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(54881);var i=r(70210);var s=r(17529);var a=r(17715);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},84893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(49269);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},29782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(70210);var i=r(17529);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},45190:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(70210);var i=r(17529);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},69641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70210);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},49269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(17468);var i=r(17298);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},5860:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(70210);var i=r(17715);var s=r(75623);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},29496:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(90150);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},37946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70210);var i=r(17529);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},61500:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(17468);var i=r(17529);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},70678:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(60849);var i=r(17468);var s=r(17298);var a=r(86412);var o=r(87076);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},50861:(e,t,r)=>{"use strict";var n=r(87076);var i=r(70678);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},7518:(e,t,r)=>{"use strict";var n=r(87076);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:false},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"))}})},43347:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(70678);r(7518);r(55019);r(3062);r(50861);r(72719);var i=r(87076);var s=r(48568);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},55019:(e,t,r)=>{"use strict";var n=r(87076);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},3062:(e,t,r)=>{"use strict";var n=r(87076);var i=r(48568);{(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")}}})},48568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(87076);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},72719:(e,t,r)=>{"use strict";var n=r(87076);var i=r(70678);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},87076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(60849);var i=r(27002);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},1403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(3209);var s=r(23520);var a=r(42532);var o=r(80628);var l=r(90760);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(64141);var p=r(13336);var c=r(93259);var f=r(17529);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(36847);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(17715);var h=r(63453);var m=r(56748);var T=r(93708);var S=r(18404);var b=r(20856);var E=r(20433);var g=r(85971);var x=r(65881);var P=r(54154);var A=r(61180);var v=r(5858);var O=r(44558);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(86412);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(49148);var D=r(84893);var N=r(29782);var C=r(45190);var j=r(69641);var _=r(49269);var L=r(5860);var k=r(29496);var B=r(37946);var M=r(61500);var F=r(43347);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(9768);var K=r(87555);var V=r(55576);var U=r(46787);var X=r(75623);var J=r(79841);var Y=r(54881);var W=r(69831);var q=r(85976);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(63529);var H=r(84275);var G=r(60849);var $=r(30542);var Q=r(90540);var Z=r(61767);var ee=r(31542);var te=r(92609);var re=r(38253);var ne=r(58897);var ie=r(45605);var se=r(90066);var ae=r(81010);var oe=r(79988);var le=r(99680);var ue=r(17468);var pe=r(54359);var ce=r(26267);var fe=r(27002);var de=r(78810);var ye=r(70210);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(11902);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},9768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(17529);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},79841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(70210);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},87555:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(86412);var i=r(54154);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},55576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(17529);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},46787:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(86412);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},75623:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(63529);var i=r(46787);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},79021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(70210);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},54881:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(70210);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(54881);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},85976:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(43347);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(43347);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},44909:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},80086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(17529);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},78810:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(26267);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},70210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(84275);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},60849:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(84275);var i=r(79988);var s=r(58897);var a=r(43347);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},30542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(54881);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},90540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(70210);var i=r(31542);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},61767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(79988);var i=r(70210);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},31542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(70210);var i=r(86412);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},92609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(43347);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},38253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(43347);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(43347);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},45605:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},90066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(70210);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},81010:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(70210);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},79988:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(43347);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},99680:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(17468);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},17468:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(17298);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},54359:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(70210);var i=r(86412);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},26267:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(70210);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},3209:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(78810);const i=(0,n.default)("React.Component");var s=i;t.default=s},27002:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(43347);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},84419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(99290);var i=r(85850);var s=(0,n.declare)(e=>{e.assertVersion(7);function statementList(e,t){const r=t.get(e);for(const e of r){const t=e.node;if(!e.isFunctionDeclaration())continue;const r=i.types.variableDeclaration("let",[i.types.variableDeclarator(t.id,i.types.toExpression(t))]);r._blockHoist=2;t.id=null;e.replaceWith(r)}}return{name:"transform-block-scoped-functions",visitor:{BlockStatement(e){const{node:t,parent:r}=e;if(i.types.isFunction(r,{body:t})||i.types.isExportDeclaration(r)){return}statementList("body",e)},SwitchCase(e){statementList("consequent",e)}}}});t.default=s},99290:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},21600:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(31637);var i=r(34911);var s=r(85850);const a=new WeakSet;var o=(0,n.declare)((e,t)=>{e.assertVersion(7);const{throwIfClosureRequired:r=false,tdz:n=false}=t;if(typeof r!=="boolean"){throw new Error(`.throwIfClosureRequired must be a boolean, or undefined`)}if(typeof n!=="boolean"){throw new Error(`.tdz must be a boolean, or undefined`)}return{name:"transform-block-scoping",visitor:{VariableDeclaration(e){const{node:t,parent:r,scope:n}=e;if(!isBlockScoped(t))return;convertBlockScopedToVar(e,null,r,n,true);if(t._tdzThis){const r=[t];for(let e=0;ee.isLoop()||e.isFunction());return t==null?void 0:t.isLoop()}function convertBlockScopedToVar(e,t,r,n,i=false){if(!t){t=e.node}if(isInLoop(e)&&!s.types.isFor(r)){for(let e=0;e0){e.traverse(p,t)}else{e.traverse(i.visitor,t)}return e.skip()}},i.visitor]);const p=s.traverse.visitors.merge([{ReferencedIdentifier(e,t){const r=t.letReferences.get(e.node.name);if(!r)return;const n=e.scope.getBindingIdentifier(e.node.name);if(n&&n!==r)return;t.closurify=true}},i.visitor]);const c={enter(e,t){const{node:r,parent:n}=e;if(e.isForStatement()){if(isVar(r.init,r)){const e=t.pushDeclar(r.init);if(e.length===1){r.init=e[0]}else{r.init=s.types.sequenceExpression(e)}}}else if(e.isFor()){if(isVar(r.left,r)){t.pushDeclar(r.left);r.left=r.left.declarations[0].id}}else if(isVar(r,n)){e.replaceWithMultiple(t.pushDeclar(r).map(e=>s.types.expressionStatement(e)))}else if(e.isFunction()){return e.skip()}}};const f={LabeledStatement({node:e},t){t.innerLabels.push(e.label.name)}};const d={enter(e,t){if(e.isAssignmentExpression()||e.isUpdateExpression()){for(const r of Object.keys(e.getBindingIdentifiers())){if(t.outsideReferences.get(r)!==e.scope.getBindingIdentifier(r)){continue}t.reassignments[r]=true}}else if(e.isReturnStatement()){t.returnStatements.push(e)}}};function loopNodeTo(e){if(s.types.isBreakStatement(e)){return"break"}else if(s.types.isContinueStatement(e)){return"continue"}}const y={Loop(e,t){const r=t.ignoreLabeless;t.ignoreLabeless=true;e.traverse(y,t);t.ignoreLabeless=r;e.skip()},Function(e){e.skip()},SwitchCase(e,t){const r=t.inSwitchCase;t.inSwitchCase=true;e.traverse(y,t);t.inSwitchCase=r;e.skip()},"BreakStatement|ContinueStatement|ReturnStatement"(e,t){const{node:r,scope:n}=e;if(r[this.LOOP_IGNORE])return;let i;let a=loopNodeTo(r);if(a){if(r.label){if(t.innerLabels.indexOf(r.label.name)>=0){return}a=`${a}|${r.label.name}`}else{if(t.ignoreLabeless)return;if(s.types.isBreakStatement(r)&&t.inSwitchCase)return}t.hasBreakContinue=true;t.map[a]=r;i=s.types.stringLiteral(a)}if(e.isReturnStatement()){t.hasReturn=true;i=s.types.objectExpression([s.types.objectProperty(s.types.identifier("v"),r.argument||n.buildUndefinedNode())])}if(i){i=s.types.returnStatement(i);i[this.LOOP_IGNORE]=true;e.skip();e.replaceWith(s.types.inherits(i,r))}}};function isStrict(e){return!!e.find(({node:e})=>{if(s.types.isProgram(e)){if(e.sourceType==="module")return true}else if(!s.types.isBlockStatement(e))return false;return e.directives.some(e=>e.value.value==="use strict")})}class BlockScoping{constructor(e,t,r,n,i,a,o){this.parent=r;this.scope=n;this.state=o;this.throwIfClosureRequired=i;this.tdzEnabled=a;this.blockPath=t;this.block=t.node;this.outsideLetReferences=new Map;this.hasLetReferences=false;this.letReferences=new Map;this.body=[];if(e){this.loopParent=e.parent;this.loopLabel=s.types.isLabeledStatement(this.loopParent)&&this.loopParent.label;this.loopPath=e;this.loop=e.node}}run(){const e=this.block;if(a.has(e))return;a.add(e);const t=this.getLetReferences();this.checkConstants();if(s.types.isFunction(this.parent)||s.types.isProgram(this.block)){this.updateScopeInfo();return}if(!this.hasLetReferences)return;if(t){this.wrapClosure()}else{this.remap()}this.updateScopeInfo(t);if(this.loopLabel&&!s.types.isLabeledStatement(this.loopParent)){return s.types.labeledStatement(this.loopLabel,this.loop)}}checkConstants(){const e=this.scope;const t=this.state;for(const r of Object.keys(e.bindings)){const n=e.bindings[r];if(n.kind!=="const")continue;for(const e of n.constantViolations){const n=t.addHelper("readOnlyError");const i=s.types.callExpression(n,[s.types.stringLiteral(r)]);if(e.isAssignmentExpression()){const{operator:t}=e.node;if(t==="="){e.replaceWith(s.types.sequenceExpression([e.get("right").node,i]))}else if(["&&=","||=","??="].includes(t)){e.replaceWith(s.types.logicalExpression(t.slice(0,-1),e.get("left").node,s.types.sequenceExpression([e.get("right").node,i])))}else{e.replaceWith(s.types.sequenceExpression([s.types.binaryExpression(t.slice(0,-1),e.get("left").node,e.get("right").node),i]))}}else if(e.isUpdateExpression()){e.replaceWith(s.types.sequenceExpression([s.types.unaryExpression("+",e.get("argument").node),i]))}else if(e.isForXStatement()){e.ensureBlock();e.get("left").replaceWith(s.types.variableDeclaration("var",[s.types.variableDeclarator(e.scope.generateUidIdentifier(r))]));e.node.body.body.unshift(s.types.expressionStatement(i))}}}}updateScopeInfo(e){const t=this.blockPath.scope;const r=t.getFunctionParent()||t.getProgramParent();const n=this.letReferences;for(const i of n.keys()){const s=n.get(i);const a=t.getBinding(s.name);if(!a)continue;if(a.kind==="let"||a.kind==="const"){a.kind="var";if(e){if(t.hasOwnBinding(s.name)){t.removeBinding(s.name)}}else{t.moveBindingTo(s.name,r)}}}}remap(){const e=this.letReferences;const t=this.outsideLetReferences;const r=this.scope;const n=this.blockPath.scope;for(const t of e.keys()){const i=e.get(t);if(r.parentHasBinding(t)||r.hasGlobal(t)){const e=r.getOwnBinding(t);if(e){const n=r.parent.getOwnBinding(t);if(e.kind==="hoisted"&&!e.path.node.async&&!e.path.node.generator&&(!n||isVar(n.path.parent))&&!isStrict(e.path.parentPath)){continue}r.rename(i.name)}if(n.hasOwnBinding(t)){n.rename(i.name)}}}for(const r of t.keys()){const t=e.get(r);if(isInLoop(this.blockPath)&&n.hasOwnBinding(r)){n.rename(t.name)}}}wrapClosure(){if(this.throwIfClosureRequired){throw this.blockPath.buildCodeFrameError("Compiling let/const in this block would add a closure "+"(throwIfClosureRequired).")}const e=this.block;const t=this.outsideLetReferences;if(this.loop){for(const e of Array.from(t.keys())){const r=t.get(e);if(this.scope.hasGlobal(r.name)||this.scope.parentHasBinding(r.name)){t.delete(r.name);this.letReferences.delete(r.name);this.scope.rename(r.name);this.letReferences.set(r.name,r);t.set(r.name,r)}}}this.has=this.checkLoop();this.hoistVarDeclarations();const r=Array.from(t.values(),e=>s.types.cloneNode(e));const n=r.map(e=>s.types.cloneNode(e));const i=this.blockPath.isSwitchStatement();const a=s.types.functionExpression(null,n,s.types.blockStatement(i?[e]:e.body));this.addContinuations(a);let o=s.types.callExpression(s.types.nullLiteral(),r);let l=".callee";const u=s.traverse.hasType(a.body,"YieldExpression",s.types.FUNCTION_TYPES);if(u){a.generator=true;o=s.types.yieldExpression(o,true);l=".argument"+l}const p=s.traverse.hasType(a.body,"AwaitExpression",s.types.FUNCTION_TYPES);if(p){a.async=true;o=s.types.awaitExpression(o);l=".argument"+l}let c;let f;if(this.has.hasReturn||this.has.hasBreakContinue){const e=this.scope.generateUid("ret");this.body.push(s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.identifier(e),o)]));c="declarations.0.init"+l;f=this.body.length-1;this.buildHas(e)}else{this.body.push(s.types.expressionStatement(o));c="expression"+l;f=this.body.length-1}let d;if(i){const{parentPath:e,listKey:t,key:r}=this.blockPath;this.blockPath.replaceWithMultiple(this.body);d=e.get(t)[r+f]}else{e.body=this.body;d=this.blockPath.get("body")[f]}const y=d.get(c);let h;if(this.loop){const e=this.scope.generateUid("loop");const t=this.loopPath.insertBefore(s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.identifier(e),a)]));y.replaceWith(s.types.identifier(e));h=t[0].get("declarations.0.init")}else{y.replaceWith(a);h=y}h.unwrapFunctionEnvironment()}addContinuations(e){const t={reassignments:{},returnStatements:[],outsideReferences:this.outsideLetReferences};this.scope.traverse(e,d,t);for(let r=0;r{e.insertBefore(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.identifier(i),s.types.identifier(a))))});e.body.body.push(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.identifier(i),s.types.identifier(a))))}}getLetReferences(){const e=this.block;const t=[];if(this.loop){const e=this.loop.left||this.loop.init;if(isBlockScoped(e)){t.push(e);const r=s.types.getBindingIdentifiers(e);for(const e of Object.keys(r)){this.outsideLetReferences.set(e,r[e])}}}const r=(n,i)=>{i=i||n.node;if(s.types.isClassDeclaration(i)||s.types.isFunctionDeclaration(i)||isBlockScoped(i)){if(isBlockScoped(i)){convertBlockScopedToVar(n,i,e,this.scope)}if(i.declarations){for(let e=0;ethis.state.addHelper(e)};if(isInLoop(this.blockPath)){n.loopDepth++}this.blockPath.traverse(u,n);return n.closurify}checkLoop(){const e={hasBreakContinue:false,ignoreLabeless:false,inSwitchCase:false,innerLabels:[],hasReturn:false,isLoop:!!this.loop,map:{},LOOP_IGNORE:Symbol()};this.blockPath.traverse(f,e);this.blockPath.traverse(y,e);return e}hoistVarDeclarations(){this.blockPath.traverse(c,this)}pushDeclar(e){const t=[];const r=s.types.getBindingIdentifiers(e);for(const e of Object.keys(r)){t.push(s.types.variableDeclarator(r[e]))}this.body.push(s.types.variableDeclaration(e.kind,t));const n=[];for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.visitor=void 0;var n=r(85850);function getTDZStatus(e,t){const r=t._guessExecutionStatusRelativeTo(e);if(r==="before"){return"outside"}else if(r==="after"){return"inside"}else{return"maybe"}}function buildTDZAssert(e,t){return n.types.callExpression(t.addHelper("temporalRef"),[e,n.types.stringLiteral(e.name)])}function isReference(e,t,r){const n=r.letReferences.get(e.name);if(!n)return false;return t.getBindingIdentifier(e.name)===n}const i=new WeakSet;const s={ReferencedIdentifier(e,t){if(!t.tdzEnabled)return;const{node:r,parent:s,scope:a}=e;if(e.parentPath.isFor({left:r}))return;if(!isReference(r,a,t))return;const o=a.getBinding(r.name).path;if(o.isFunctionDeclaration())return;const l=getTDZStatus(e,o);if(l==="outside")return;if(l==="maybe"){if(i.has(r)){return}i.add(r);const a=buildTDZAssert(r,t);o.parent._tdzThis=true;if(e.parentPath.isUpdateExpression()){if(s._ignoreBlockScopingTDZ)return;e.parentPath.replaceWith(n.types.sequenceExpression([a,s]))}else{e.replaceWith(a)}}else if(l==="inside"){e.replaceWith(n.template.ast`${t.addHelper("tdz")}("${r.name}")`)}},AssignmentExpression:{exit(e,t){if(!t.tdzEnabled)return;const{node:r}=e;if(r._ignoreBlockScopingTDZ)return;const i=[];const s=e.getBindingIdentifiers();for(const r of Object.keys(s)){const n=s[r];if(isReference(n,e.scope,t)){i.push(n)}}if(i.length){r._ignoreBlockScopingTDZ=true;i.push(r);e.replaceWithMultiple(i.map(e=>n.types.expressionStatement(e)))}}}};t.visitor=s},31637:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},13798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(136);var i=r(85850);var s=(0,n.declare)((e,t)=>{var r;e.assertVersion(7);const n=(r=e.assumption("setComputedProperties"))!=null?r:t.loose;const s=n?pushComputedPropsLoose:pushComputedPropsSpec;const a=(0,i.template)(`\n MUTATOR_MAP_REF[KEY] = MUTATOR_MAP_REF[KEY] || {};\n MUTATOR_MAP_REF[KEY].KIND = VALUE;\n `);function getValue(e){if(i.types.isObjectProperty(e)){return e.value}else if(i.types.isObjectMethod(e)){return i.types.functionExpression(null,e.params,e.body,e.generator,e.async)}}function pushAssign(e,t,r){if(t.kind==="get"&&t.kind==="set"){pushMutatorDefine(e,t,r)}else{r.push(i.types.expressionStatement(i.types.assignmentExpression("=",i.types.memberExpression(i.types.cloneNode(e),t.key,t.computed||i.types.isLiteral(t.key)),getValue(t))))}}function pushMutatorDefine({body:e,getMutatorId:t,scope:r},n){let s=!n.computed&&i.types.isIdentifier(n.key)?i.types.stringLiteral(n.key.name):n.key;const o=r.maybeGenerateMemoised(s);if(o){e.push(i.types.expressionStatement(i.types.assignmentExpression("=",o,s)));s=o}e.push(...a({MUTATOR_MAP_REF:t(),KEY:i.types.cloneNode(s),VALUE:getValue(n),KIND:i.types.identifier(n.kind)}))}function pushComputedPropsLoose(e){for(const t of e.computedProps){if(t.kind==="get"||t.kind==="set"){pushMutatorDefine(e,t)}else{pushAssign(i.types.cloneNode(e.objId),t,e.body)}}}function pushComputedPropsSpec(e){const{objId:t,body:r,computedProps:n,state:s}=e;for(const a of n){const o=i.types.toComputedKey(a);if(a.kind==="get"||a.kind==="set"){pushMutatorDefine(e,a)}else{if(n.length===1){return i.types.callExpression(s.addHelper("defineProperty"),[e.initPropExpression,o,getValue(a)])}else{r.push(i.types.expressionStatement(i.types.callExpression(s.addHelper("defineProperty"),[i.types.cloneNode(t),o,getValue(a)])))}}}}return{name:"transform-computed-properties",visitor:{ObjectExpression:{exit(e,t){const{node:r,parent:n,scope:a}=e;let o=false;for(const e of r.properties){o=e.computed===true;if(o)break}if(!o)return;const l=[];const u=[];let p=false;for(const e of r.properties){if(e.computed){p=true}if(p){u.push(e)}else{l.push(e)}}const c=a.generateUidIdentifierBasedOnNode(n);const f=i.types.objectExpression(l);const d=[];d.push(i.types.variableDeclaration("var",[i.types.variableDeclarator(c,f)]));let y;const h=function(){if(!y){y=a.generateUidIdentifier("mutatorMap");d.push(i.types.variableDeclaration("var",[i.types.variableDeclarator(y,i.types.objectExpression([]))]))}return i.types.cloneNode(y)};const m=s({scope:a,objId:c,body:d,computedProps:u,initPropExpression:f,getMutatorId:h,state:t});if(y){d.push(i.types.expressionStatement(i.types.callExpression(t.addHelper("defineEnumerableProperties"),[i.types.cloneNode(c),i.types.cloneNode(y)])))}if(m){e.replaceWith(m)}else{d.push(i.types.expressionStatement(i.types.cloneNode(c)));e.replaceWithMultiple(d)}}}}}});t.default=s},136:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},74058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(69547);var i=r(85850);function getName(e){if(i.types.isIdentifier(e)){return e.name}return e.value.toString()}var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-duplicate-keys",visitor:{ObjectExpression(e){const{node:t}=e;const r=t.properties.filter(e=>!i.types.isSpreadElement(e)&&!e.computed);const n=Object.create(null);const s=Object.create(null);const a=Object.create(null);for(const e of r){const t=getName(e.key);let r=false;switch(e.kind){case"get":if(n[t]||s[t]){r=true}s[t]=true;break;case"set":if(n[t]||a[t]){r=true}a[t]=true;break;default:if(n[t]||s[t]||a[t]){r=true}n[t]=true}if(r){e.computed=true;e.key=i.types.stringLiteral(t)}}}}}});t.default=s},69547:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},36195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(45919);var i=r(58983);var s=r(85850);var a=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-exponentiation-operator",visitor:(0,i.default)({operator:"**",build(e,t){return s.types.callExpression(s.types.memberExpression(s.types.identifier("Math"),s.types.identifier("pow")),[e,t])}})}});t.default=a},45919:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},59630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(1255);var i=r(85850);var s=r(33044);var a=(0,n.declare)((e,t)=>{var r,n,a;e.assertVersion(7);{const{assumeArray:r,allowArrayLike:n,loose:i}=t;if(i===true&&r===true){throw new Error(`The loose and assumeArray options cannot be used together in @babel/plugin-transform-for-of`)}if(r===true&&n===true){throw new Error(`The assumeArray and allowArrayLike options cannot be used together in @babel/plugin-transform-for-of`)}if(n&&/^7\.\d\./.test(e.version)){throw new Error(`The allowArrayLike is only supported when using @babel/core@^7.10.0`)}}const o=(r=t.assumeArray)!=null?r:!t.loose&&e.assumption("iterableIsArray");const l=(n=t.allowArrayLike)!=null?n:e.assumption("arrayLikeIsIterable");const u=(a=e.assumption("skipForOfIteratorClosing"))!=null?a:t.loose;if(o&&l){throw new Error(`The "iterableIsArray" and "arrayLikeIsIterable" assumptions are not compatible.`)}if(o){return{name:"transform-for-of",visitor:{ForOfStatement(e){const{scope:t}=e;const{left:r,right:n,await:s}=e.node;if(s){return}const a=t.generateUidIdentifier("i");let o=t.maybeGenerateMemoised(n,true);const l=[i.types.variableDeclarator(a,i.types.numericLiteral(0))];if(o){l.push(i.types.variableDeclarator(o,n))}else{o=n}const u=i.types.memberExpression(i.types.cloneNode(o),i.types.cloneNode(a),true);let p;if(i.types.isVariableDeclaration(r)){p=r;p.declarations[0].init=u}else{p=i.types.expressionStatement(i.types.assignmentExpression("=",r,u))}let c;const f=e.get("body");if(f.isBlockStatement()&&Object.keys(e.getBindingIdentifiers()).some(e=>f.scope.hasOwnBinding(e))){c=i.types.blockStatement([p,f.node])}else{c=i.types.toBlock(f.node);c.body.unshift(p)}e.replaceWith(i.types.forStatement(i.types.variableDeclaration("let",l),i.types.binaryExpression("<",i.types.cloneNode(a),i.types.memberExpression(i.types.cloneNode(o),i.types.identifier("length"))),i.types.updateExpression("++",i.types.cloneNode(a)),c))}}}}const p=(0,i.template)` + for (var KEY = 0, NAME = ARR; KEY < NAME.length; KEY++) BODY; + `;const c=i.template.statements` + for (var ITERATOR_HELPER = CREATE_ITERATOR_HELPER(OBJECT, ARRAY_LIKE_IS_ITERABLE), STEP_KEY; + !(STEP_KEY = ITERATOR_HELPER()).done;) BODY; + `;const f=i.template.statements` + var ITERATOR_HELPER = CREATE_ITERATOR_HELPER(OBJECT, ARRAY_LIKE_IS_ITERABLE), STEP_KEY; + try { + for (ITERATOR_HELPER.s(); !(STEP_KEY = ITERATOR_HELPER.n()).done;) BODY; + } catch (err) { + ITERATOR_HELPER.e(err); + } finally { + ITERATOR_HELPER.f(); + } + `;const d=u?{build:c,helper:"createForOfIteratorHelperLoose",getContainer:e=>e}:{build:f,helper:"createForOfIteratorHelper",getContainer:e=>e[1].block.body};function _ForOfStatementArray(e){const{node:t,scope:r}=e;const n=r.generateUidIdentifierBasedOnNode(t.right,"arr");const s=r.generateUidIdentifier("i");const a=p({BODY:t.body,KEY:s,NAME:n,ARR:t.right});i.types.inherits(a,t);i.types.ensureBlock(a);const o=i.types.memberExpression(i.types.cloneNode(n),i.types.cloneNode(s),true);const l=t.left;if(i.types.isVariableDeclaration(l)){l.declarations[0].init=o;a.body.body.unshift(l)}else{a.body.body.unshift(i.types.expressionStatement(i.types.assignmentExpression("=",l,o)))}return a}return{name:"transform-for-of",visitor:{ForOfStatement(e,t){const r=e.get("right");if(r.isArrayExpression()||r.isGenericType("Array")||i.types.isArrayTypeAnnotation(r.getTypeAnnotation())){e.replaceWith(_ForOfStatementArray(e));return}if(!t.availableHelper(d.helper)){(0,s.default)(u,e,t);return}const{node:n,parent:a,scope:o}=e;const p=n.left;let c;const f=o.generateUid("step");const y=i.types.memberExpression(i.types.identifier(f),i.types.identifier("value"));if(i.types.isVariableDeclaration(p)){c=i.types.variableDeclaration(p.kind,[i.types.variableDeclarator(p.declarations[0].id,y)])}else{c=i.types.expressionStatement(i.types.assignmentExpression("=",p,y))}e.ensureBlock();n.body.body.unshift(c);const h=d.build({CREATE_ITERATOR_HELPER:t.addHelper(d.helper),ITERATOR_HELPER:o.generateUidIdentifier("iterator"),ARRAY_LIKE_IS_ITERABLE:l?i.types.booleanLiteral(true):null,STEP_KEY:i.types.identifier(f),OBJECT:n.right,BODY:n.body});const m=d.getContainer(h);i.types.inherits(m[0],n);i.types.inherits(m[0].body,n.body);if(i.types.isLabeledStatement(a)){m[0]=i.types.labeledStatement(a.label,m[0]);e.parentPath.replaceWithMultiple(h);e.skip()}else{e.replaceWithMultiple(h)}}}}});t.default=a},33044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=transformWithoutHelper;var n=r(85850);function transformWithoutHelper(e,t,r){const i=e?pushComputedPropsLoose:pushComputedPropsSpec;const{node:s}=t;const a=i(t,r);const o=a.declar;const l=a.loop;const u=l.body;t.ensureBlock();if(o){u.body.push(o)}u.body=u.body.concat(s.body.body);n.types.inherits(l,s);n.types.inherits(l.body,s.body);if(a.replaceParent){t.parentPath.replaceWithMultiple(a.node);t.remove()}else{t.replaceWithMultiple(a.node)}}const i=(0,n.template)(`\n for (var LOOP_OBJECT = OBJECT,\n IS_ARRAY = Array.isArray(LOOP_OBJECT),\n INDEX = 0,\n LOOP_OBJECT = IS_ARRAY ? LOOP_OBJECT : LOOP_OBJECT[Symbol.iterator]();;) {\n INTERMEDIATE;\n if (IS_ARRAY) {\n if (INDEX >= LOOP_OBJECT.length) break;\n ID = LOOP_OBJECT[INDEX++];\n } else {\n INDEX = LOOP_OBJECT.next();\n if (INDEX.done) break;\n ID = INDEX.value;\n }\n }\n`);const s=(0,n.template)(`\n var ITERATOR_COMPLETION = true;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY = undefined;\n try {\n for (\n var ITERATOR_KEY = OBJECT[Symbol.iterator](), STEP_KEY;\n !(ITERATOR_COMPLETION = (STEP_KEY = ITERATOR_KEY.next()).done);\n ITERATOR_COMPLETION = true\n ) {}\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (!ITERATOR_COMPLETION && ITERATOR_KEY.return != null) {\n ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n`);function pushComputedPropsLoose(e,t){const{node:r,scope:s,parent:a}=e;const{left:o}=r;let l,u,p;if(n.types.isIdentifier(o)||n.types.isPattern(o)||n.types.isMemberExpression(o)){u=o;p=null}else if(n.types.isVariableDeclaration(o)){u=s.generateUidIdentifier("ref");l=n.types.variableDeclaration(o.kind,[n.types.variableDeclarator(o.declarations[0].id,n.types.identifier(u.name))]);p=n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(u.name))])}else{throw t.buildCodeFrameError(o,`Unknown node type ${o.type} in ForStatement`)}const c=s.generateUidIdentifier("iterator");const f=s.generateUidIdentifier("isArray");const d=i({LOOP_OBJECT:c,IS_ARRAY:f,OBJECT:r.right,INDEX:s.generateUidIdentifier("i"),ID:u,INTERMEDIATE:p});const y=n.types.isLabeledStatement(a);let h;if(y){h=n.types.labeledStatement(a.label,d)}return{replaceParent:y,declar:l,node:h||d,loop:d}}function pushComputedPropsSpec(e,t){const{node:r,scope:i,parent:a}=e;const o=r.left;let l;const u=i.generateUid("step");const p=n.types.memberExpression(n.types.identifier(u),n.types.identifier("value"));if(n.types.isIdentifier(o)||n.types.isPattern(o)||n.types.isMemberExpression(o)){l=n.types.expressionStatement(n.types.assignmentExpression("=",o,p))}else if(n.types.isVariableDeclaration(o)){l=n.types.variableDeclaration(o.kind,[n.types.variableDeclarator(o.declarations[0].id,p)])}else{throw t.buildCodeFrameError(o,`Unknown node type ${o.type} in ForStatement`)}const c=s({ITERATOR_HAD_ERROR_KEY:i.generateUidIdentifier("didIteratorError"),ITERATOR_COMPLETION:i.generateUidIdentifier("iteratorNormalCompletion"),ITERATOR_ERROR_KEY:i.generateUidIdentifier("iteratorError"),ITERATOR_KEY:i.generateUidIdentifier("iterator"),STEP_KEY:n.types.identifier(u),OBJECT:r.right});const f=n.types.isLabeledStatement(a);const d=c[3].block.body;const y=d[0];if(f){d[0]=n.types.labeledStatement(a.label,y)}return{replaceParent:f,declar:l,loop:y,node:c}}},1255:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},46642:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(63995);var i=r(98733);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-function-name",visitor:{FunctionExpression:{exit(e){if(e.key!=="value"&&!e.parentPath.isObjectProperty()){const t=(0,i.default)(e);if(t)e.replaceWith(t)}}},ObjectProperty(e){const t=e.get("value");if(t.isFunction()){const e=(0,i.default)(t);if(e)t.replaceWith(e)}}}}});t.default=s},63995:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},5718:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(71202);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-literals",visitor:{NumericLiteral({node:e}){if(e.extra&&/^0[ob]/i.test(e.extra.raw)){e.extra=undefined}},StringLiteral({node:e}){if(e.extra&&/\\[u]/gi.test(e.extra.raw)){e.extra=undefined}}}}});t.default=i},71202:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},59153:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(79673);var i=r(85850);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-member-expression-literals",visitor:{MemberExpression:{exit({node:e}){const t=e.property;if(!e.computed&&i.types.isIdentifier(t)&&!i.types.isValidES3Identifier(t.name)){e.property=i.types.stringLiteral(t.name);e.computed=true}}}}}});t.default=s},79673:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},50933:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(22573);var i=r(13574);var s=r(85850);var a=r(42604);const o=(0,s.template)(`\n define(MODULE_NAME, AMD_ARGUMENTS, function(IMPORT_NAMES) {\n })\n`);const l=(0,s.template)(`\n define(["require"], function(REQUIRE) {\n })\n`);function injectWrapper(e,t){const{body:r,directives:n}=e.node;e.node.directives=[];e.node.body=[];const i=e.pushContainer("body",t)[0];const s=i.get("expression.arguments").filter(e=>e.isFunctionExpression())[0].get("body");s.pushContainer("directives",n);s.pushContainer("body",r)}var u=(0,n.declare)((e,t)=>{var r,n;e.assertVersion(7);const{allowTopLevelThis:u,strict:p,strictMode:c,importInterop:f,noInterop:d}=t;const y=(r=e.assumption("constantReexports"))!=null?r:t.loose;const h=(n=e.assumption("enumerableModuleMeta"))!=null?n:t.loose;return{name:"transform-modules-amd",pre(){this.file.set("@babel/plugin-transform-modules-*","amd")},visitor:{CallExpression(e,t){if(!this.file.has("@babel/plugin-proposal-dynamic-import"))return;if(!e.get("callee").isImport())return;let{requireId:r,resolveId:n,rejectId:o}=t;if(!r){r=e.scope.generateUidIdentifier("require");t.requireId=r}if(!n||!o){n=e.scope.generateUidIdentifier("resolve");o=e.scope.generateUidIdentifier("reject");t.resolveId=n;t.rejectId=o}let l=s.types.identifier("imported");if(!d)l=(0,i.wrapInterop)(e,l,"namespace");e.replaceWith(s.template.expression.ast` + new Promise((${n}, ${o}) => + ${r}( + [${(0,a.getImportSource)(s.types,e.node)}], + imported => ${s.types.cloneNode(n)}(${l}), + ${s.types.cloneNode(o)} + ) + )`)},Program:{exit(e,{requireId:r}){if(!(0,i.isModule)(e)){if(r){injectWrapper(e,l({REQUIRE:s.types.cloneNode(r)}))}return}const n=[];const a=[];if(r){n.push(s.types.stringLiteral("require"));a.push(s.types.cloneNode(r))}let m=(0,i.getModuleName)(this.file.opts,t);if(m)m=s.types.stringLiteral(m);const{meta:T,headers:S}=(0,i.rewriteModuleStatementsAndPrepareHeader)(e,{enumerableModuleMeta:h,constantReexports:y,strict:p,strictMode:c,allowTopLevelThis:u,importInterop:f,noInterop:d});if((0,i.hasExports)(T)){n.push(s.types.stringLiteral("exports"));a.push(s.types.identifier(T.exportName))}for(const[t,r]of T.source){n.push(s.types.stringLiteral(t));a.push(s.types.identifier(r.name));if(!(0,i.isSideEffectImport)(r)){const t=(0,i.wrapInterop)(e,s.types.identifier(r.name),r.interop);if(t){const e=s.types.expressionStatement(s.types.assignmentExpression("=",s.types.identifier(r.name),t));e.loc=r.loc;S.push(e)}}S.push(...(0,i.buildNamespaceInitStatements)(T,r,y))}(0,i.ensureStatementsHoisted)(S);e.unshiftContainer("body",S);injectWrapper(e,o({MODULE_NAME:m,AMD_ARGUMENTS:s.types.arrayExpression(n),IMPORT_NAMES:a}))}}}}});t.default=u},41525:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(3336);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const s=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},n,e.end);const{linesAbove:s=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=i.line;const p=i.column;let c=Math.max(o-(s+1),0);let f=Math.min(t.length,u+a);if(o===-1){c=0}if(u===-1){f=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:c,end:f,markerLines:y}}function codeFrameColumns(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const u=e.split(s);const{start:p,end:c,markerLines:f}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(c).length;const h=i?(0,n.default)(e,r):e;let m=h.split(s).slice(p,c).map((e,t)=>{const n=p+1+t;const i=` ${n}`.slice(-y);const s=` ${i} |`;const a=f[n];const u=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,s.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(i)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,s),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,s)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){m=`${" ".repeat(y+1)}${r.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}},18323:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;const r=/^[ \t]+$/;class Buffer{constructor(e){this._map=null;this._buf=[];this._last="";this._queue=[];this._position={line:1,column:0};this._sourcePosition={identifierName:null,line:null,column:null,filename:null};this._disallowedPop=null;this._map=e}get(){this._flush();const e=this._map;const t={code:this._buf.join("").trimRight(),map:null,rawMappings:e==null?void 0:e.getRawMappings()};if(e){Object.defineProperty(t,"map",{configurable:true,enumerable:true,get(){return this.map=e.get()},set(e){Object.defineProperty(this,"map",{value:e,writable:true})}})}return t}append(e){this._flush();const{line:t,column:r,filename:n,identifierName:i,force:s}=this._sourcePosition;this._append(e,t,r,i,n,s)}queue(e){if(e==="\n"){while(this._queue.length>0&&r.test(this._queue[0][0])){this._queue.shift()}}const{line:t,column:n,filename:i,identifierName:s,force:a}=this._sourcePosition;this._queue.unshift([e,t,n,s,i,a])}_flush(){let e;while(e=this._queue.pop()){this._append(...e)}}_append(e,t,r,n,i,s){this._buf.push(e);this._last=e[e.length-1];let a=e.indexOf("\n");let o=0;if(a!==0){this._mark(t,r,n,i,s)}while(a!==-1){this._position.line++;this._position.column=0;o=a+1;if(o0&&this._queue[0][0]==="\n"){this._queue.shift()}}removeLastSemicolon(){if(this._queue.length>0&&this._queue[0][0]===";"){this._queue.shift()}}endsWith(e){if(e.length===1){let t;if(this._queue.length>0){const e=this._queue[0][0];t=e[e.length-1]}else{t=this._last}return t===e}const t=this._last+this._queue.reduce((e,t)=>t[0]+e,"");if(e.length<=t.length){return t.slice(-e.length)===e}return false}hasContent(){return this._queue.length>0||!!this._last}exactSource(e,t){this.source("start",e,true);t();this.source("end",e);this._disallowPop("start",e)}source(e,t,r){if(e&&!t)return;this._normalizePosition(e,t,this._sourcePosition,r)}withSource(e,t,r){if(!this._map)return r();const n=this._sourcePosition.line;const i=this._sourcePosition.column;const s=this._sourcePosition.filename;const a=this._sourcePosition.identifierName;this.source(e,t);r();if((!this._sourcePosition.force||this._sourcePosition.line!==n||this._sourcePosition.column!==i||this._sourcePosition.filename!==s)&&(!this._disallowedPop||this._disallowedPop.line!==n||this._disallowedPop.column!==i||this._disallowedPop.filename!==s)){this._sourcePosition.line=n;this._sourcePosition.column=i;this._sourcePosition.filename=s;this._sourcePosition.identifierName=a;this._sourcePosition.force=false;this._disallowedPop=null}}_disallowPop(e,t){if(e&&!t)return;this._disallowedPop=this._normalizePosition(e,t)}_normalizePosition(e,t,r,n){const i=t?t[e]:null;if(r===undefined){r={identifierName:null,line:null,column:null,filename:null,force:false}}const s=r.line;const a=r.column;const o=r.filename;r.identifierName=e==="start"&&(t==null?void 0:t.identifierName)||null;r.line=i==null?void 0:i.line;r.column=i==null?void 0:i.column;r.filename=t==null?void 0:t.filename;if(n||r.line!==s||r.column!==a||r.filename!==o){r.force=n}return r}getCurrentColumn(){const e=this._queue.reduce((e,t)=>t[0]+e,"");const t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t}getCurrentLine(){const e=this._queue.reduce((e,t)=>t[0]+e,"");let t=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.File=File;t.Program=Program;t.BlockStatement=BlockStatement;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;var n=r(46103);function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){this.printInnerComments(e,false);this.printSequence(e.directives,e);if(e.directives&&e.directives.length)this.newline();this.printSequence(e.body,e)}function BlockStatement(e){var t;this.token("{");this.printInnerComments(e);const r=(t=e.directives)==null?void 0:t.length;if(e.body.length||r){this.newline();this.printSequence(e.directives,e,{indent:true});if(r)this.newline();this.printSequence(e.body,e,{indent:true});this.removeTrailingNewline();this.source("end",e.loc);if(!this.endsWith("\n"))this.newline();this.rightBrace()}else{this.source("end",e.loc);this.token("}")}}function Directive(e){this.print(e.value,e);this.semicolon()}const i=/(?:^|[^\\])(?:\\\\)*'/;const s=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t);return}const{value:r}=e;if(!s.test(r)){this.token(`"${r}"`)}else if(!i.test(r)){this.token(`'${r}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}\n`)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},68812:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassBody=ClassBody;t.ClassProperty=ClassProperty;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t._classMethodHead=_classMethodHead;t.StaticBlock=StaticBlock;var n=r(46103);function ClassDeclaration(e,t){if(!this.format.decoratorsBeforeExport||!n.isExportDefaultDeclaration(t)&&!n.isExportNamedDeclaration(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.token("{");this.printInnerComments(e);if(e.body.length===0){this.token("}")}else{this.newline();this.indent();this.printSequence(e.body,e);this.dedent();if(!this.endsWith("\n"))this.newline();this.rightBrace()}}function ClassProperty(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,true);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.token("?")}if(e.definite){this.token("!")}this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,false);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.token("{");if(e.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace()}}},54146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UnaryExpression=UnaryExpression;t.DoExpression=DoExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.UpdateExpression=UpdateExpression;t.ConditionalExpression=ConditionalExpression;t.NewExpression=NewExpression;t.SequenceExpression=SequenceExpression;t.ThisExpression=ThisExpression;t.Super=Super;t.Decorator=Decorator;t.OptionalMemberExpression=OptionalMemberExpression;t.OptionalCallExpression=OptionalCallExpression;t.CallExpression=CallExpression;t.Import=Import;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.AssignmentPattern=AssignmentPattern;t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.BindExpression=BindExpression;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.PrivateName=PrivateName;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.ModuleExpression=ModuleExpression;t.AwaitExpression=t.YieldExpression=void 0;var n=r(46103);var i=r(38843);function UnaryExpression(e){if(e.operator==="void"||e.operator==="delete"||e.operator==="typeof"||e.operator==="throw"){this.word(e.operator);this.space()}else{this.token(e.operator)}this.print(e.argument,e)}function DoExpression(e){if(e.async){this.word("async");this.space()}this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.token("(");this.print(e.expression,e);this.token(")")}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.startTerminatorless(true);this.print(e.argument,e);this.endTerminatorless();this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.token("?");this.space();this.print(e.consequent,e);this.space();this.token(":");this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!n.isCallExpression(t,{callee:e})&&!n.isMemberExpression(t)&&!n.isNewExpression(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function Decorator(e){this.token("@");this.print(e.expression,e);this.newline()}function OptionalMemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(e.optional){this.token("?.")}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{if(!e.optional){this.token(".")}this.print(e.property,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.token("(");this.printList(e.arguments,e);this.token(")")}function Import(){this.word("import")}function buildYieldAwait(e){return function(t){this.word(e);if(t.delegate){this.token("*")}if(t.argument){this.space();const e=this.startTerminatorless();this.print(t.argument,t);this.endTerminatorless(e)}}}const s=buildYieldAwait("yield");t.YieldExpression=s;const a=buildYieldAwait("await");t.AwaitExpression=a;function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.token("?");this.print(e.left.typeAnnotation,e);this.space();this.token("=");this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!i.needsParens(e,t);if(r){this.token("(")}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.token(")")}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{this.token(".");this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.token(".");this.print(e.property,e)}function PrivateName(e){this.token("#");this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.token("%");this.word(e.name)}function ModuleExpression(e){this.word("module");this.space();this.token("{");if(e.body.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body.body,e,{indent:true});this.rightBrace()}}},15357:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareFunction=DeclareFunction;t.InferredPredicate=InferredPredicate;t.DeclaredPredicate=DeclaredPredicate;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareVariable=DeclareVariable;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.EnumDeclaration=EnumDeclaration;t.EnumBooleanBody=EnumBooleanBody;t.EnumNumberBody=EnumNumberBody;t.EnumStringBody=EnumStringBody;t.EnumSymbolBody=EnumSymbolBody;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumBooleanMember=EnumBooleanMember;t.EnumNumberMember=EnumNumberMember;t.EnumStringMember=EnumStringMember;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t._interfaceish=_interfaceish;t._variance=_variance;t.InterfaceDeclaration=InterfaceDeclaration;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;t.NumberTypeAnnotation=NumberTypeAnnotation;t.StringTypeAnnotation=StringTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeParameter=TypeParameter;t.OpaqueType=OpaqueType;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;t.IndexedAccessType=IndexedAccessType;t.OptionalIndexedAccessType=OptionalIndexedAccessType;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return s.NumericLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return s.StringLiteral}});var n=r(46103);var i=r(75348);var s=r(87978);function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e);this.token("[");this.token("]")}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.token("%");this.word("checks")}function DeclaredPredicate(e){this.token("%");this.word("checks");this.token("(");this.print(e.value,e);this.token(")")}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.token(".");this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.apply(this,arguments)}function DeclareExportAllDeclaration(){this.word("declare");this.space();i.ExportAllDeclaration.apply(this,arguments)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}if(t.hasUnknownMembers){e.token("...");e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.token(",")}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{this.token("{");if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.token("}");if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.token("*")}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.token("(");if(e.this){this.word("this");this.token(":");this.space();this.print(e.this.typeAnnotation,e);if(e.params.length||e.rest){this.token(",");this.space()}}this.printList(e.params,e);if(e.rest){if(e.params.length){this.token(",");this.space()}this.token("...");this.print(e.rest,e)}this.token(")");if(t.type==="ObjectTypeCallProperty"||t.type==="DeclareFunction"||t.type==="ObjectTypeProperty"&&t.method){this.token(":")}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.token("?");if(e.name){this.token(":");this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e)}function _interfaceish(e){var t;this.print(e.id,e);this.print(e.typeParameters,e);if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.mixins&&e.mixins.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if(e.implements&&e.implements.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function _variance(e){if(e.variance){if(e.variance.kind==="plus"){this.token("+")}else if(e.variance.kind==="minus"){this.token("-")}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.token("&");this.space()}function InterfaceTypeAnnotation(e){this.word("interface");if(e.extends&&e.extends.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.token("?");this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.token("[");this.printList(e.types,e);this.token("]")}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.token("=");this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.token(":");this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.token("=");this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.token("{")}const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];if(t.length){this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.token(",");this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.token("}")}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.token("[");this.token("[");this.print(e.id,e);this.token("]");this.token("]");if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.token("[");if(e.id){this.print(e.id,e);this.token(":");this.space()}this.print(e.key,e);this.token("]");this.token(":");this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.token(".");this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.token("|");this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.token("(");this.print(e.expression,e);this.print(e.typeAnnotation,e);this.token(")")}function Variance(e){if(e.kind==="plus"){this.token("+")}else{this.token("-")}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function OptionalIndexedAccessType(e){this.print(e.objectType,e);if(e.optional){this.token("?.")}this.token("[");this.print(e.indexType,e);this.token("]")}},36036:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(28236);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})});var i=r(54146);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})});var s=r(75691);Object.keys(s).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})});var a=r(68812);Object.keys(a).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})});var o=r(68337);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})});var l=r(75348);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(87978);Object.keys(u).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})});var p=r(15357);Object.keys(p).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})});var c=r(75856);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var f=r(30126);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(63457);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})})},30126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXIdentifier=JSXIdentifier;t.JSXNamespacedName=JSXNamespacedName;t.JSXMemberExpression=JSXMemberExpression;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;t.JSXElement=JSXElement;t.JSXOpeningElement=JSXOpeningElement;t.JSXClosingElement=JSXClosingElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXFragment=JSXFragment;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXClosingFragment=JSXClosingFragment;var n=r(46103);function JSXAttribute(e){this.print(e.name,e);if(e.value){this.token("=");this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.token(":");this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.token(".");this.print(e.property,e)}function JSXSpreadAttribute(e){this.token("{");this.token("...");this.print(e.argument,e);this.token("}")}function JSXExpressionContainer(e){this.token("{");this.print(e.expression,e);this.token("}")}function JSXSpreadChild(e){this.token("{");this.token("...");this.print(e.expression,e);this.token("}")}function JSXText(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t)}else{this.token(e.value)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.token("<");this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.token(">")}}function JSXClosingElement(e){this.token("")}function JSXEmptyExpression(e){this.printInnerComments(e)}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.token("<");this.token(">")}function JSXClosingFragment(){this.token("")}},68337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._params=_params;t._parameters=_parameters;t._param=_param;t._methodHead=_methodHead;t._predicate=_predicate;t._functionHead=_functionHead;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;var n=r(46103);function _params(e){this.print(e.typeParameters,e);this.token("(");this._parameters(e.params,e);this.token(")");this.print(e.returnType,e)}function _parameters(e,t){for(let r=0;r");this.space();this.print(e.body,e)}function hasTypesOrComments(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}},75348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImportSpecifier=ImportSpecifier;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportSpecifier=ExportSpecifier;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportAllDeclaration=ExportAllDeclaration;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ImportDeclaration=ImportDeclaration;t.ImportAttribute=ImportAttribute;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;var n=r(46103);function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.exported,e)}function ExportAllDeclaration(e){this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.token("*");this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e);this.semicolon()}function ExportNamedDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();this.word("default");this.space();ExportDeclaration.apply(this,arguments)}function ExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const t=e.specifiers.slice(0);let r=false;for(;;){const i=t[0];if(n.isExportDefaultSpecifier(i)||n.isExportNamespaceSpecifier(i)){r=true;this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length||!t.length&&!r){this.token("{");if(t.length){this.space();this.printList(t,e);this.space()}this.token("}")}if(e.source){this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e)}this.semicolon()}}function ImportDeclaration(e){this.word("import");this.space();if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}const t=e.specifiers.slice(0);if(t!=null&&t.length){for(;;){const r=t[0];if(n.isImportDefaultSpecifier(r)||n.isImportNamespaceSpecifier(r)){this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length){this.token("{");this.space();this.printList(t,e);this.space();this.token("}")}this.space();this.word("from");this.space()}this.print(e.source,e);this.printAssertions(e);{var r;if((r=e.attributes)!=null&&r.length){this.space();this.word("with");this.space();this.printList(e.attributes,e)}}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.token(":");this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.local,e)}},75691:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WithStatement=WithStatement;t.IfStatement=IfStatement;t.ForStatement=ForStatement;t.WhileStatement=WhileStatement;t.DoWhileStatement=DoWhileStatement;t.LabeledStatement=LabeledStatement;t.TryStatement=TryStatement;t.CatchClause=CatchClause;t.SwitchStatement=SwitchStatement;t.SwitchCase=SwitchCase;t.DebuggerStatement=DebuggerStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForOfStatement=t.ForInStatement=void 0;var n=r(46103);function WithStatement(e){this.word("with");this.space();this.token("(");this.print(e.object,e);this.token(")");this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.token("(");this.print(e.test,e);this.token(")");this.space();const t=e.alternate&&n.isIfStatement(getLastStatement(e.consequent));if(t){this.token("{");this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.token("}")}if(e.alternate){if(this.endsWith("}"))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){if(!n.isStatement(e.body))return e;return getLastStatement(e.body)}function ForStatement(e){this.word("for");this.space();this.token("(");this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.token(";");if(e.test){this.space();this.print(e.test,e)}this.token(";");if(e.update){this.space();this.print(e.update,e)}this.token(")");this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.printBlock(e)}const i=function(e){return function(t){this.word("for");this.space();if(e==="of"&&t.await){this.word("await");this.space()}this.token("(");this.print(t.left,t);this.space();this.word(e);this.space();this.print(t.right,t);this.token(")");this.printBlock(t)}};const s=i("in");t.ForInStatement=s;const a=i("of");t.ForOfStatement=a;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.semicolon()}function buildLabelStatement(e,t="label"){return function(r){this.word(e);const n=r[t];if(n){this.space();const e=t=="label";const i=this.startTerminatorless(e);this.print(n,r);this.endTerminatorless(i)}this.semicolon()}}const o=buildLabelStatement("continue");t.ContinueStatement=o;const l=buildLabelStatement("return","argument");t.ReturnStatement=l;const u=buildLabelStatement("break");t.BreakStatement=u;const p=buildLabelStatement("throw","argument");t.ThrowStatement=p;function LabeledStatement(e){this.print(e.label,e);this.token(":");this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.token("(");this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.token(")");this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.token("(");this.print(e.discriminant,e);this.token(")");this.space();this.token("{");this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.token("}")}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.token(":")}else{this.word("default");this.token(":")}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function variableDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<4;e++)this.space(true)}function constDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<6;e++)this.space(true)}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}this.word(e.kind);this.space();let r=false;if(!n.isFor(t)){for(const t of e.declarations){if(t.init){r=true}}}let i;if(r){i=e.kind==="const"?constDeclarationIndent:variableDeclarationIndent}this.printList(e.declarations,e,{separator:i});if(n.isFor(t)){if(n.isForStatement(t)){if(t.init===e)return}else{if(t.left===e)return}}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.token("!");this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.token("=");this.space();this.print(e.init,e)}}},28236:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;var n=r(46103);function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const i=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(i)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Identifier=Identifier;t.ArgumentPlaceholder=ArgumentPlaceholder;t.SpreadElement=t.RestElement=RestElement;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.RecordExpression=RecordExpression;t.TupleExpression=TupleExpression;t.RegExpLiteral=RegExpLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.StringLiteral=StringLiteral;t.BigIntLiteral=BigIntLiteral;t.DecimalLiteral=DecimalLiteral;t.PipelineTopicExpression=PipelineTopicExpression;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;var n=r(46103);var i=r(87504);function Identifier(e){this.exactSource(e.loc,()=>{this.word(e.name)})}function ArgumentPlaceholder(){this.token("?")}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.token("{");this.printInnerComments(e);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token("}")}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{if(n.isAssignmentPattern(e.value)&&n.isIdentifier(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&n.isIdentifier(e.key)&&n.isIdentifier(e.value)&&e.key.name===e.value.name){return}}this.token(":");this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.token("[");this.printInnerComments(e);for(let n=0;n0)this.space();this.print(i,e);if(n0)this.space();this.print(i,e);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypeParameter=TSTypeParameter;t.TSParameterProperty=TSParameterProperty;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSQualifiedName=TSQualifiedName;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSPropertySignature=TSPropertySignature;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.TSMethodSignature=TSMethodSignature;t.TSIndexSignature=TSIndexSignature;t.TSAnyKeyword=TSAnyKeyword;t.TSBigIntKeyword=TSBigIntKeyword;t.TSUnknownKeyword=TSUnknownKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSVoidKeyword=TSVoidKeyword;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSNullKeyword=TSNullKeyword;t.TSNeverKeyword=TSNeverKeyword;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSThisType=TSThisType;t.TSFunctionType=TSFunctionType;t.TSConstructorType=TSConstructorType;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.TSTypeReference=TSTypeReference;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeLiteral=TSTypeLiteral;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;t.tsPrintBraced=tsPrintBraced;t.TSArrayType=TSArrayType;t.TSTupleType=TSTupleType;t.TSOptionalType=TSOptionalType;t.TSRestType=TSRestType;t.TSNamedTupleMember=TSNamedTupleMember;t.TSUnionType=TSUnionType;t.TSIntersectionType=TSIntersectionType;t.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;t.TSConditionalType=TSConditionalType;t.TSInferType=TSInferType;t.TSParenthesizedType=TSParenthesizedType;t.TSTypeOperator=TSTypeOperator;t.TSIndexedAccessType=TSIndexedAccessType;t.TSMappedType=TSMappedType;t.TSLiteralType=TSLiteralType;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSInterfaceBody=TSInterfaceBody;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSModuleDeclaration=TSModuleDeclaration;t.TSModuleBlock=TSModuleBlock;t.TSImportType=TSImportType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSExternalModuleReference=TSExternalModuleReference;t.TSNonNullExpression=TSNonNullExpression;t.TSExportAssignment=TSExportAssignment;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;var n=r(46103);function TSTypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TSTypeParameter(e){this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e){if(e.declare){this.word("declare");this.space()}this._functionHead(e);this.token(";")}function TSDeclareMethod(e){this._classMethodHead(e);this.token(";")}function TSQualifiedName(e){this.print(e.left,e);this.token(".");this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(";")}function tsPrintPropertyOrMethodName(e){if(e.computed){this.token("[")}this.print(e.key,e);if(e.computed){this.token("]")}if(e.optional){this.token("?")}}function TSMethodSignature(e){const{kind:t}=e;if(t==="set"||t==="get"){this.word(t);this.space()}this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSIndexSignature(e){const{readonly:t,static:r}=e;if(r){this.word("static");this.space()}if(t){this.word("readonly");this.space()}this.token("[");this._parameters(e.parameters,e);this.token("]");this.print(e.typeAnnotation,e);this.token(";")}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){if(e.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.space();this.token("=>");this.space();this.print(e.typeAnnotation.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e);this.print(e.typeParameters,e)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName)}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){this.tsPrintBraced(e,t)}function tsPrintBraced(e,t){this.token("{");if(e.length){this.indent();this.newline();for(const r of e){this.print(r,t);this.newline()}this.dedent();this.rightBrace()}else{this.token("}")}}function TSArrayType(e){this.print(e.elementType,e);this.token("[]")}function TSTupleType(e){this.token("[");this.printList(e.elementTypes,e);this.token("]")}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.token("?")}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.token("?");this.token(":");this.space();this.print(e.elementType,e)}function TSUnionType(e){this.tsPrintUnionOrIntersectionType(e,"|")}function TSIntersectionType(e){this.tsPrintUnionOrIntersectionType(e,"&")}function tsPrintUnionOrIntersectionType(e,t){this.printJoin(e.types,e,{separator(){this.space();this.token(t);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.token("?");this.space();this.print(e.trueType);this.space();this.token(":");this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.token("(");this.print(e.typeAnnotation,e);this.token(")")}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:i}=e;this.token("{");this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.token("[");this.word(i.name);this.space();this.word("in");this.space();this.print(i.constraint,i);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.token("]");if(r){tokenIfPlusMinus(this,r);this.token("?")}this.token(":");this.space();this.print(e.typeAnnotation,e);this.space();this.token("}")}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:i,body:s}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(i!=null&&i.length){this.space();this.word("extends");this.space();this.printList(i,e)}this.space();this.print(s,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:i}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.token("=");this.space();this.print(i,e);this.token(";")}function TSAsExpression(e){const{expression:t,typeAnnotation:r}=e;this.print(t,e);this.space();this.word("as");this.space();this.print(r,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.token("<");this.print(t,e);this.token(">");this.space();this.print(r,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:i}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();this.tsPrintBraced(i,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(",")}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.token(";");return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.token(".");this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){this.tsPrintBraced(e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.token("(");this.print(t,e);this.token(")");if(r){this.token(".");this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.token("=");this.space();this.print(n,e);this.token(";")}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.token(")")}function TSNonNullExpression(e){this.print(e.expression,e);this.token("!")}function TSExportAssignment(e){this.word("export");this.space();this.token("=");this.space();this.print(e.expression,e);this.token(";")}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.print(e.typeAnnotation,e)}function tsPrintClassMemberModifiers(e,t){if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.override){this.word("override");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},31977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generate;t.CodeGenerator=void 0;var n=r(65918);var i=r(28525);class Generator extends i.default{constructor(e,t={},r){const i=normalizeOptions(r,t);const s=t.sourceMaps?new n.default(t,r):null;super(i,s);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:true,minimal:false},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType};{r.jsonCompatibleStrings=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0)}if(r.compact==="auto"){r.compact=e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}return r}class CodeGenerator{constructor(e,t,r){this._generator=void 0;this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function generate(e,t,r){const n=new Generator(e,t,r);return n.generate()}},38843:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsWhitespace=needsWhitespace;t.needsWhitespaceBefore=needsWhitespaceBefore;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsParens=needsParens;var n=r(27543);var i=r(27498);var s=r(46103);function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,i){const s=n(e,t,i);return s==null?r(e,t,i):s}:r}for(const t of Object.keys(e)){const r=s.FLIPPED_ALIAS_KEYS[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const a=expandAliases(i);const o=expandAliases(n.nodes);const l=expandAliases(n.list);function find(e,t,r,n){const i=e[t.type];return i?i(t,r,n):null}function isOrHasCallExpression(e){if(s.isCallExpression(e)){return true}return s.isMemberExpression(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return 0;if(s.isExpressionStatement(e)){e=e.expression}let n=find(o,e,t);if(!n){const i=find(l,e,t);if(i){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NullableTypeAnnotation=NullableTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.ObjectExpression=ObjectExpression;t.DoExpression=DoExpression;t.Binary=Binary;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.TSInferType=TSInferType;t.BinaryExpression=BinaryExpression;t.SequenceExpression=SequenceExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;t.ClassExpression=ClassExpression;t.UnaryLike=UnaryLike;t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;t.ConditionalExpression=ConditionalExpression;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.AssignmentExpression=AssignmentExpression;t.LogicalExpression=LogicalExpression;t.Identifier=Identifier;var n=r(46103);const i={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};const s=(e,t)=>(n.isClassDeclaration(t)||n.isClassExpression(t))&&t.superClass===e;const a=(e,t)=>(n.isMemberExpression(t)||n.isOptionalMemberExpression(t))&&t.object===e||(n.isCallExpression(t)||n.isOptionalCallExpression(t)||n.isNewExpression(t))&&t.callee===e||n.isTaggedTemplateExpression(t)&&t.tag===e||n.isTSNonNullExpression(t);function NullableTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)}function FunctionTypeAnnotation(e,t,r){return n.isUnionTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isArrayTypeAnnotation(t)||n.isTypeAnnotation(t)&&n.isArrowFunctionExpression(r[r.length-3])}function UpdateExpression(e,t){return a(e,t)||s(e,t)}function ObjectExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,arrowBody:true})}function DoExpression(e,t,r){return!e.async&&isFirstInContext(r,{expressionStatement:true})}function Binary(e,t){if(e.operator==="**"&&n.isBinaryExpression(t,{operator:"**"})){return t.left===e}if(s(e,t)){return true}if(a(e,t)||n.isUnaryLike(t)||n.isAwaitExpression(t)){return true}if(n.isBinary(t)){const r=t.operator;const s=i[r];const a=e.operator;const o=i[a];if(s===o&&t.right===e&&!n.isLogicalExpression(t)||s>o){return true}}}function UnionTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)||n.isNullableTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isUnionTypeAnnotation(t)}function OptionalIndexedAccessType(e,t){return n.isIndexedAccessType(t,{objectType:e})}function TSAsExpression(){return true}function TSTypeAssertion(){return true}function TSUnionType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)||n.isTSIntersectionType(t)||n.isTSUnionType(t)||n.isTSRestType(t)}function TSInferType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)}function BinaryExpression(e,t){return e.operator==="in"&&(n.isVariableDeclarator(t)||n.isFor(t))}function SequenceExpression(e,t){if(n.isForStatement(t)||n.isThrowStatement(t)||n.isReturnStatement(t)||n.isIfStatement(t)&&t.test===e||n.isWhileStatement(t)&&t.test===e||n.isForInStatement(t)&&t.right===e||n.isSwitchStatement(t)&&t.discriminant===e||n.isExpressionStatement(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return n.isBinary(t)||n.isUnaryLike(t)||a(e,t)||n.isAwaitExpression(t)&&n.isYieldExpression(e)||n.isConditionalExpression(t)&&e===t.test||s(e,t)}function ClassExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function UnaryLike(e,t){return a(e,t)||n.isBinaryExpression(t,{operator:"**",left:e})||s(e,t)}function FunctionExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function ArrowFunctionExpression(e,t){return n.isExportDeclaration(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(n.isUnaryLike(t)||n.isBinary(t)||n.isConditionalExpression(t,{test:e})||n.isAwaitExpression(t)||n.isTSTypeAssertion(t)||n.isTSAsExpression(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return n.isCallExpression(t,{callee:e})||n.isMemberExpression(t,{object:e})}function AssignmentExpression(e,t){if(n.isObjectPattern(e.left)){return true}else{return ConditionalExpression(e,t)}}function LogicalExpression(e,t){switch(e.operator){case"||":if(!n.isLogicalExpression(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return n.isLogicalExpression(t,{operator:"??"});case"??":return n.isLogicalExpression(t)&&t.operator!=="??"}}function Identifier(e,t,r){if(e.name==="let"){const i=n.isMemberExpression(t,{object:e,computed:true})||n.isOptionalMemberExpression(t,{object:e,computed:true,optional:false});return isFirstInContext(r,{expressionStatement:i,forHead:i,forInHead:i,forOfHead:true})}return e.name==="async"&&n.isForOfStatement(t)&&e===t.left}function isFirstInContext(e,{expressionStatement:t=false,arrowBody:r=false,exportDefault:i=false,forHead:s=false,forInHead:o=false,forOfHead:l=false}){let u=e.length-1;let p=e[u];u--;let c=e[u];while(u>=0){if(t&&n.isExpressionStatement(c,{expression:p})||i&&n.isExportDefaultDeclaration(c,{declaration:p})||r&&n.isArrowFunctionExpression(c,{body:p})||s&&n.isForStatement(c,{init:p})||o&&n.isForInStatement(c,{left:p})||l&&n.isForOfStatement(c,{left:p})){return true}if(a(p,c)&&!n.isNewExpression(c)||n.isSequenceExpression(c)&&c.expressions[0]===p||n.isConditional(c,{test:p})||n.isBinary(c,{left:p})||n.isAssignmentExpression(c,{left:p})){p=c;u--;c=e[u]}else{return false}}return false}},27543:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.list=t.nodes=void 0;var n=r(46103);function crawl(e,t={}){if(n.isMemberExpression(e)||n.isOptionalMemberExpression(e)){crawl(e.object,t);if(e.computed)crawl(e.property,t)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){crawl(e.left,t);crawl(e.right,t)}else if(n.isCallExpression(e)||n.isOptionalCallExpression(e)){t.hasCall=true;crawl(e.callee,t)}else if(n.isFunction(e)){t.hasFunction=true}else if(n.isIdentifier(e)){t.hasHelper=t.hasHelper||isHelper(e.callee)}return t}function isHelper(e){if(n.isMemberExpression(e)){return isHelper(e.object)||isHelper(e.property)}else if(n.isIdentifier(e)){return e.name==="require"||e.name[0]==="_"}else if(n.isCallExpression(e)){return isHelper(e.callee)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){return n.isIdentifier(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return n.isLiteral(e)||n.isObjectExpression(e)||n.isArrayExpression(e)||n.isIdentifier(e)||n.isMemberExpression(e)}const i={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return{before:t.hasFunction,after:true}}},SwitchCase(e,t){return{before:!!e.consequent.length||t.cases[0]===e,after:!e.consequent.length&&t.cases[t.cases.length-1]===e}},LogicalExpression(e){if(n.isFunction(e.left)||n.isFunction(e.right)){return{after:true}}},Literal(e){if(n.isStringLiteral(e)&&e.value==="use strict"){return{after:true}}},CallExpression(e){if(n.isFunction(e.callee)||isHelper(e)){return{before:true,after:true}}},OptionalCallExpression(e){if(n.isFunction(e.callee)){return{before:true,after:true}}},VariableDeclaration(e){for(let t=0;te.init)},ArrayExpression(e){return e.elements},ObjectExpression(e){return e.properties}};t.list=s;[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach(function([e,t]){if(typeof t==="boolean"){t={after:t,before:t}}[e].concat(n.FLIPPED_ALIAS_KEYS[e]||[]).forEach(function(e){i[e]=function(){return t}})})},28525:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(18323);var i=r(38843);var s=r(46103);var a=r(36036);const o=/e/i;const l=/\.0+$/;const u=/^0[box]/;const p=/^\s*[@#]__PURE__\s*$/;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._insideAux=false;this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new WeakSet;this._endsWithInteger=false;this._endsWithWord=false;this.format=e;this._buf=new n.default(t)}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();this._append(";",!e)}rightBrace(){if(this.format.minified){this._buf.removeLastSemicolon()}this.token("}")}space(e=false){if(this.format.compact)return;if(this._buf.hasContent()&&!this.endsWith(" ")&&!this.endsWith("\n")||e){this._space()}}word(e){if(this._endsWithWord||this.endsWith("/")&&e.indexOf("/")===0){this._space()}this._maybeAddAuxComment();this._append(e);this._endsWithWord=true}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!u.test(e)&&!o.test(e)&&!l.test(e)&&e[e.length-1]!=="."}token(e){if(e==="--"&&this.endsWith("!")||e[0]==="+"&&this.endsWith("+")||e[0]==="-"&&this.endsWith("-")||e[0]==="."&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e)}newline(e){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}if(this.endsWith("\n\n"))return;if(typeof e!=="number")e=1;e=Math.min(2,e);if(this.endsWith("{\n")||this.endsWith(":\n"))e--;if(e<=0)return;for(let t=0;t{n.call(this,e,t)});this._printTrailingComments(e);if(o)this.token(")");this._printStack.pop();this.format.concise=r;this._insideAux=a}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e})}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e})}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e!=null&&e.length))return;if(r.indent)this.indent();const n={addNewlines:r.addNewlines};for(let i=0;i0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(!s.isEmptyStatement(t)){this.space()}this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(false,e))}_printLeadingComments(e){this._printComments(this._getComments(true,e),true)}printInnerComments(e,t=true){var r;if(!((r=e.innerComments)!=null&&r.length))return;if(t)this.indent();this._printComments(e.innerComments);if(t)this.dedent()}printSequence(e,t,r={}){r.statement=true;return this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}return this.printJoin(e,t,r)}_printNewline(e,t,r,n){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}let s=0;if(this._buf.hasContent()){if(!e)s++;if(n.addNewlines)s+=n.addNewlines(e,t)||0;const a=e?i.needsWhitespaceBefore:i.needsWhitespaceAfter;if(a(t,r))s++}this.newline(s)}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e,t){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;this._printedComments.add(e);const r=e.type==="CommentBlock";const n=r&&!t&&!this._noLineTerminator;if(n&&this._buf.hasContent())this.newline(1);if(!this.endsWith("[")&&!this.endsWith("{"))this.space();let i=!r&&!this._noLineTerminator?`//${e.value}\n`:`/*${e.value}*/`;if(r&&this.format.indent.adjustMultilineComment){var s;const t=(s=e.loc)==null?void 0:s.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");i=i.replace(e,"\n")}const r=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());i=i.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}if(this.endsWith("/"))this._space();this.withSource("start",e.loc,()=>{this._append(i)});if(n)this.newline(1)}_printComments(e,t){if(!(e!=null&&e.length))return;if(t&&e.length===1&&p.test(e[0].value)){this._printComment(e[0],this._buf.hasContent()&&!this.endsWith("\n"))}else{for(const t of e){this._printComment(t)}}}printAssertions(e){var t;if((t=e.assertions)!=null&&t.length){this.space();this.word("assert");this.space();this.token("{");this.space();this.printList(e.assertions,e);this.space();this.token("}")}}}Object.assign(Printer.prototype,a);{Printer.prototype.Noop=function Noop(){}}var c=Printer;t.default=c;function commaSeparator(){this.token(",");this.space()}},65918:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(96241);class SourceMap{constructor(e,t){this._cachedMap=void 0;this._code=void 0;this._opts=void 0;this._rawMappings=void 0;this._lastGenLine=void 0;this._lastSourceLine=void 0;this._lastSourceColumn=void 0;this._cachedMap=null;this._code=t;this._opts=e;this._rawMappings=[]}get(){if(!this._cachedMap){const e=this._cachedMap=new n.SourceMapGenerator({sourceRoot:this._opts.sourceRoot});const t=this._code;if(typeof t==="string"){e.setSourceContent(this._opts.sourceFileName.replace(/\\/g,"/"),t)}else if(typeof t==="object"){Object.keys(t).forEach(r=>{e.setSourceContent(r.replace(/\\/g,"/"),t[r])})}this._rawMappings.forEach(t=>e.addMapping(t),e)}return this._cachedMap.toJSON()}getRawMappings(){return this._rawMappings.slice()}mark(e,t,r,n,i,s,a){if(this._lastGenLine!==e&&r===null)return;if(!a&&this._lastGenLine===e&&this._lastSourceLine===r&&this._lastSourceColumn===n){return}this._cachedMap=null;this._lastGenLine=e;this._lastSourceLine=r;this._lastSourceColumn=n;this._rawMappings.push({name:i||undefined,generated:{line:e,column:t},source:r==null?undefined:(s||this._opts.sourceFileName).replace(/\\/g,"/"),original:r==null?undefined:{line:r,column:n}})}}t.default=SourceMap},6509:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(46103);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},54025:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(46103);var s=r(6509);var a=r(97091);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{n(!t,"Unexpected secondary arguments.");i.push(e)}const s=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(s).forEach(t=>{if(e[t]!==undefined)s[t]=e[t]});if(!r){if(e.nameHint!==undefined)s.nameHint=e.nameHint;if(e.blockHoist!==undefined)s.blockHoist=e.blockHoist}}return s}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:c,ensureLiveReference:f,ensureNoContext:d,nameHint:y,importPosition:h,blockHoist:m}=e;let T=y||t;const S=(0,a.default)(this._programPath);const b=S&&c==="node";const E=S&&c==="babel";if(h==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new s.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(T,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){T=T!=="default"?T:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(T||l).wildcardInterop()}else if(r){if(f){g.default(e).var(T||l).defaultInterop().read("default")}else{g.default(e).var(T).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l).wildcardInterop()}else if((r||n)&&f){if(r){T=T!=="default"?T:l;g.var(T).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(T).defaultInterop().prop(t)}else if(n){g.var(T).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(T||l)}else if(r||n){g.default(l).read(T)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r||n){if(f){g.var(l).read(T)}else{g.prop(t).var(T)}}}}else if(p==="uncompiled"){if(r&&f){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.default(l).read(T)}}else if(E){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r){g.var(T)}else if(n){if(f){g.var(l).read(T)}else{g.var(T).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:x,resultName:P}=g.done();this._insertStatements(x,h,m);if((r||n)&&d&&P.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),P])}return P}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},11050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var n=r(54025);var i=r(97091);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,i){return new n.default(e).addNamed(t,r,i)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},97091:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},10033:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,i,s,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(i=r.moduleIds)!=null?i:t.moduleIds,getModuleId:(s=r.getModuleId)!=null?s:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:i=t.moduleRoot}=e;const{moduleId:s,moduleIds:a=!!s,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(s!=null&&!o){return s}let u=l!=null?l+"/":"";if(n){const e=i!=null?new RegExp("^"+i+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},13574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var i=r(46103);var s=r(36900);var a=r(11050);var o=r(10714);var l=r(38945);var u=r(79930);var p=r(10033);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:s,allowTopLevelThis:p,strictMode:c,noInterop:f,importInterop:d=(f?"none":"babel"),lazy:y,esNamespaceOnly:h,constantReexports:m=t,enumerableModuleMeta:T=t}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const S=(0,u.default)(e,r,{importInterop:d,initializeReexports:m,lazy:y,esNamespaceOnly:h});if(!p){(0,o.default)(e)}(0,l.default)(e,S);if(c!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const b=[];if((0,u.hasExports)(S)&&!s){b.push(buildESModuleHeader(S,T))}const E=buildExportNameListDeclaration(e,S);if(E){S.exportNameListName=E.name;b.push(E.statement)}b.push(...buildExportInitializationStatements(e,S,m));return{meta:S,headers:b}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return i.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(s.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(r){n.push(...f(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?s.default.statement` + Object.defineProperty(EXPORTS, "NAME", { + enumerable: true, + get: function() { + return NAMESPACE; + } + }); + `:s.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const s=buildNamespaceReexport(e,i.cloneNode(a),r);s.loc=t.reexportAll.loc;n.push(s)}return n}const c={constant:s.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:s.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,s.default)` + Object.defineProperty(EXPORTS, "EXPORT_NAME", { + enumerable: true, + get: function() { + return NAMESPACE_IMPORT; + }, + }); + `};const f=(e,t,r)=>{const n=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:s}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(s.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||i.isIdentifier(l)){if(s.has(a)){return c.constantComputed(u)}else{return c.constant(u)}}else{return c.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?s.default.statement` + EXPORTS.__esModule = true; + `:s.default.statement` + Object.defineProperty(EXPORTS, "__esModule", { + value: true, + }); + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?s.default.statement` + Object.keys(NAMESPACE).forEach(function(key) { + if (key === "default" || key === "__esModule") return; + VERIFY_NAME_LIST; + if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; + + EXPORTS[key] = NAMESPACE[key]; + }); + `:s.default.statement` + Object.keys(NAMESPACE).forEach(function(key) { + if (key === "default" || key === "__esModule") return; + VERIFY_NAME_LIST; + if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; + + Object.defineProperty(EXPORTS, key, { + enumerable: true, + get: function() { + return NAMESPACE[key]; + }, + }); + }); + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,s.default)` + if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const s=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:s.name,statement:i.variableDeclaration("var",[i.variableDeclarator(s,i.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false){const n=[];const s=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){n.push(buildInitStatement(t,r.names,i.identifier(e)))}else{s.push(...r.names)}}for(const e of t.source.values()){if(!r){n.push(...f(t,e,false))}for(const t of e.reexportNamespace){s.push(t)}}n.push(...chunk(s,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}));return n}const d={computed:s.default.expression`EXPORTS["NAME"] = VALUE`,default:s.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:s}=e;return i.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:s,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var i=r(34584);var s=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:i=false,esNamespaceOnly:s=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(s&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,i.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},i){const s=getLocalExportMetadata(e,r,i);const a=new Map;const o=t=>{const r=t.value;let i=a.get(r);if(!i){i={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=s.get(r);if(n){s.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=s.get(r);if(n){s.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),i);const n=e.get("local").node.name;t.imports.set(n,r);const a=s.get(n);if(a){s.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),i);const n=getExportSpecifierName(e.get("exported"),i);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:s,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const i=new Map;const s=e=>{const t=e.node.name;let r=i.get(t);if(!r){const s=n.get(t);if(s===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:s};i.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}s(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const i=s(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){s(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,s.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},38945:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var i=r(46103);var s=r(36900);var a=r(94982);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const s=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,i]of n.imports){r.set(t,[e,i,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:s,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:s,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],s)=>{const a=t.source.get(e);if(n){if(a.lazy)s=i.callExpression(s,[]);return s}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return i.memberExpression(o,l?i.stringLiteral(r):i.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:s}=e.node;if(!s)throw new Error("Expected class to have a name");const a=s.name;const o=r.get(a)||[];if(o.length>0){const r=i.expressionStatement(l(n,o,i.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(s=>{const a=r.get(s)||[];if(a.length>0){const r=i.expressionStatement(l(n,a,i.identifier(s)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const s=n.has(r);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),s?i.stringLiteral(r):i.identifier(r),s),t)},r)};const u=e=>{return s.default.expression.ast` + (function() { + throw new Error('"' + '${e}' + '" is read-only.'); + })() + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:s,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=s.get(o);if(l){const t=e.scope.getBinding(o);const s=n.getBinding(o);if(s!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(u)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:s,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const c=e.get("left");if(c.isMemberExpression())return;if(c.isIdentifier()){const r=c.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const f=a.get(r);const d=s.get(r);if((f==null?void 0:f.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=i.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,f,t));o(e)}}else{const r=c.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>s.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,u(p)])}const f=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){f.push(l(this.metadata,t,i.identifier(e)))}});if(f.length>0){let t=i.sequenceExpression(f);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:s,scope:a}=this;if(!i.isVariableDeclaration(n)){let r=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(n))){if(s.get(e)&&a.getBinding(e)===t.getBinding(e)){r=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!r){return}const u=t.generateUidIdentifierBasedOnNode(n);o.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",n,u)));e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(u))]));t.registerDeclaration(e.get("left"))}}}},10714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(846);var i=r(64316);var s=r(46103);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(s.unaryExpression("void",s.numericLiteral(0),true))}}])},22573:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},94982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(46103);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const i=e.get("argument");if(!i.isIdentifier())return;const s=i.node.name;if(!r.has(s))return;if(t.getBinding(s)!==e.scope.getBinding(s)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,i.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(s),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",i.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const r=t.name;e.scope.push({id:t});const s=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",i.node)),n.assignmentExpression("=",n.cloneNode(i.node),s),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:i}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const s=e.get("left");if(!s.isIdentifier())return;const a=s.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=n.binaryExpression(e.node.operator.slice(0,-1),n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},35234:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(35234);var i=r(46458)},46458:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},3336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var i=r(34584);var s=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=i}}return r}function shouldHighlight(e){return!!s.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new s.constructor({enabled:true,level:1}):s}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},5852:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const i=true;const s=true;const a=true;const o=true;class TokenType{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=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:s}),assign:new TokenType("_=",{beforeExpr:r,isAssign:s}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:s}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:i,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const c=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const f=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(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 true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{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}}function getLineInfo(e,t){let r=1;let n=0;let i;c.lastIndex=0;while((i=c.exec(e))&&i.index0){n=t[--i]}if(n===null){return}for(let e=0;e0){n.trailingComments=s}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,i,s,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){i=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){i=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(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(last(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){break}}const t=this.state.leadingComments.slice(0,s);if(t.length){e.leadingComments=t}i=this.state.leadingComments.slice(s);if(i.length===0){i=null}}}this.state.commentPreviousNode=e;if(i){if(i.length&&i[0].start>=e.start&&last(i).end<=e.end){e.innerComments=i}else{const t=i.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=i.slice(0,t);e.trailingComments=i.slice(t)}else{e.trailingComments=i}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const y=makeErrorTemplates({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."},d.SyntaxError);const h=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...i){return this.raiseWithData(e,{code:t,reasonCode:r},n,...i)}raiseOverwrite(e,{code:t,template:r},...n){const i=this.getLocationForPosition(e);const s=r.replace(/%(\d+)/g,(e,t)=>n[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})}else 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);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);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);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return 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",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,i,s,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,i,s,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(s==="ClassPrivateMethod"){e.computed=false}s="MethodDefinition";return this.finishNode(e,s)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,i){const s=super.parseObjectMethod(e,t,r,n,i);if(s){s.type="Property";if(s.kind==="method")s.kind="init";s.shorthand=false}return s}parseObjectProperty(e,t,r,n,i){const s=super.parseObjectProperty(e,t,r,n,i);if(s){s.kind="init";s.type="Property"}return s}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,y.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,y.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,i){const s=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if(s.type==="OptionalMemberExpression"||s.type==="OptionalCallExpression"){s.type=s.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(s);e.expression=s;return this.finishNode(e,"ChainExpression")}}else if(s.type==="MemberExpression"||s.type==="CallExpression"){s.optional=false}return s}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const T={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(T.brace)});u.dollarBraceL.updateContext=(e=>{e.push(T.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===T.template){e.pop()}else{e.push(T.template)}});let S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const E=new RegExp("["+S+"]");const g=new RegExp("["+S+b+"]");S=b=null;const x=[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];const P=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,x)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&g.test(String.fromCharCode(e))}return isInAstralSet(e,x)||isInAstralSet(e,P)}const A={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const v=new Set(A.keyword);const O=new Set(A.strict);const I=new Set(A.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||O.has(e)}function isStrictBindOnlyReservedWord(e){return I.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return v.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const w=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return w.has(e)}const D=0,N=1,C=2,j=4,_=8,L=16,k=32,B=64,M=128,F=256,R=N|C|F;const K=1,V=2,U=4,X=8,J=16,Y=64,W=128,q=256,z=512,H=1024,G=2048;const $=K|V|X|W,Q=K|0|X|0,Z=K|0|U|0,ee=K|0|J|0,te=0|V|0|W,re=0|V|0|0,ne=K|V|X|q,ie=0|0|0|H,se=0|0|0|Y,ae=K|0|0|Y,oe=ne|z,le=0|0|0|H,ue=G;const pe=4,ce=2,fe=1,de=ce|fe;const ye=ce|pe,he=fe|pe,me=ce,Te=fe,Se=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&C)>0}get allowSuper(){return(this.currentThisScopeFlags()&L)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&k)>0}get inClass(){return(this.currentThisScopeFlags()&B)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&B)>0&&(e&C)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&M)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&C)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&C||!this.inModule&&e.flags&N)}declareName(e,t,r){let n=this.currentScope();if(t&X||t&J){this.checkRedeclarationInScope(n,e,t,r);if(t&J){n.functions.add(e)}else{n.lexical.add(e)}if(t&X){this.maybeExportDefined(n,e)}}else if(t&U){for(let i=this.scopeStack.length-1;i>=0;--i){n=this.scopeStack[i];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&R)break}}if(this.inModule&&n.flags&N){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&N){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,y.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&K))return false;if(r&X){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&J){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&_&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(R|B)&&!(t&j)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&G){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&G){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const be=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const Ee=makeErrorTemplates({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."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const ge={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=xe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Ee.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const i=this.flowParseFunctionTypeParams();r.params=i.params;r.rest=i.rest;r.this=i._this;this.expect(u.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,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Ee.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(D);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Ee.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Ee.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let i=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,Ee.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="CommonJS";i=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=ge[e];throw this.raise(this.state.start,Ee.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Ee.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!be.has(e))return;this.raise(t,r?Ee.AssignReservedType:Ee.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();r.name=i.name;r.variance=n;r.bound=i.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Ee.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:i}){const s=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let s=null;let o=null;const c=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();s=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const f=this.flowParseVariance();if(this.eat(u.bracketL)){if(s!=null){this.unexpected(s)}if(this.eat(u.bracketL)){if(f){this.unexpected(f.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(c,t,f))}}else if(this.match(u.parenL)||this.isRelational("<")){if(s!=null){this.unexpected(s)}if(f){this.unexpected(f.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(c,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(c,t,s,f,e,r,i!=null?i:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Ee.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const c=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=s;return c}flowParseObjectTypeProperty(e,t,r,n,i,s,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!s){this.raise(this.state.lastTokStart,Ee.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Ee.InexactInsideExact)}if(n){this.raise(n.start,Ee.InexactVariance)}return null}if(!s){this.raise(this.state.lastTokStart,Ee.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Ee.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!s&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Ee.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Ee.GetterMayNotHaveThisParam:Ee.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,y.BadGetterArity)}else{this.raise(r,y.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,y.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.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(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}this.expect(u.question);const i=this.state.clone();const s=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,c]=this.getArrowLikeExpressions(o);if(l||c.length>0){const e=[...s];if(c.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,Ee.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=s;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(C|j);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(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=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Ee.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Ee.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,y.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&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 false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,Ee.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const i=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,s){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,i,s);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Ee.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Ee.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,i,s,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,i,s,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Ee.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Ee.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),i);if(!s.error)return s.node;const{context:n}=this.state;if(n[n.length-1]===T.j_oTag){n.length-=2}else if(n[n.length-1]===T.j_expr){n.length-=1}}if((n=s)!=null&&n.error||this.isRelational("<")){var a,o;i=i||this.state.clone();let n;const l=this.tryParse(i=>{var s;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const i=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(i,n);return i});if(a.type!=="ArrowFunctionExpression"&&(s=a.extra)!=null&&s.parenthesized){i()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},i);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,Ee.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=s)!=null&&a.node){this.state=s.failState;return s.node}if(u){this.state=l.failState;return u}if((o=s)!=null&&o.thrown)throw s.error;if(l.thrown)throw l.error;throw this.raise(n.start,Ee.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(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(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Ee.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const 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){this.state=s.failState;return s.node}if(a.node){this.state=a.failState;return a.node}throw s.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(n){i.stop=true;return e}this.next();const s=this.startNodeAt(t,r);s.callee=e;s.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);s.arguments=this.parseCallExpressionArguments(u.parenR,false);s.optional=true;return this.finishCallExpression(s,true)}else 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(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(i.optionalChainMember)n.optional=false;return this.finishCallExpression(n,i.optionalChainMember)});if(s.node){if(s.error)this.state=s.failState;return s.node}}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){let t=null;if(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);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Ee.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Ee.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,y.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,y.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Ee.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Ee.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Ee.EnumInvalidExplicitTypeUnknownSupplied:Ee.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let i=null;switch(r){case"boolean":case"number":case"string":i=Ee.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=Ee.EnumInvalidMemberInitializerSymbolType;break;default:i=Ee.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Ee.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){i=true;break}const s=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};s.id=a;switch(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"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:i,hasUnknownMembers:s}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=s;switch(n){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const s=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!s&&!a&&!o&&!l){return n()}else if(!s&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&s>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!s&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ae={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:"♦"};class State{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=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[T.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,i=r.length;n.",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 <>...?"},d.SyntaxError);T.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(T.j_expr);e.push(T.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var we=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ie.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&Ne)>0}get hasReturn(){return(this.currentFlags()&je)>0}get hasIn(){return(this.currentFlags()&_e)>0}}function functionFlags(e,t){return(e?Ce:0)|(t?Ne:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const Le=makeErrorTemplates({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."},d.SyntaxError);function keywordTypeFromName(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 undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var ke=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const i=(t,r,n,i)=>{if(r===n&&e[i]){this.raise(t,Le.InvalidModifiersOrder,n,i)}};const s=(t,r,n,i)=>{if(e[n]&&r===i||e[i]&&r===n){this.raise(t,Le.IncompatibleModifiers,n,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Le.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Le.DuplicateModifier,o)}else{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]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}n.push(i);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Le.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.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();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Le.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Le.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Le.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,Le.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,y.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,y.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Le.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Le.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,Le.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Le.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Le.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const s=i==="TSNamedTupleMember";r=(n=r)!=null?n:s;if(r!==s){this.raise(e.start,Le.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const i=this.eat(u.question);const s=this.eat(u.colon);if(s){const e=this.startNodeAtNode(n);e.optional=i;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Le.InvalidTupleMemberLabel);e.label=n}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();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Le.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return 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();const i=this.eat(r);const s=[];do{s.push(t())}while(this.eat(r));if(s.length===1&&!i){return s[0]}n.types=s;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsParseTypeAnnotation(false);r.parameterName=i;r.typeAnnotation=s;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Le.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return 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=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(D);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,Le.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Le.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let i;let s=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;s=t.readonly;if(e===false&&(i||s||a)){this.raise(r,Le.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||s||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(s)e.readonly=s;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Le.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Le.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ie)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Le.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return 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(u.parenL)){s.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(s.arguments);s.typeParameters=a;if(i.optionalChainMember){s.optional=false}return this.finishCallExpression(s,i.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,i);n.typeParameters=a;return 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();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,r);i.expression=e;const s=this.tsTryNextParseConstantContext();if(s){i.typeAnnotation=s}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Le.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!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;if(i&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,Le.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,r,n){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,Le.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Le.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Le.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Le.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Le.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,Le.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Le.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(u.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(i&&n){this.resetStartLocation(i,t,r);i.declare=true}return i}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?ie:$);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,Le.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Le.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Le.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,s){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,Le.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Le.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,i,s,a,o;let l;let p;let c;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===T.j_oTag){t.length-=2}else if(t[t.length-1]===T.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let f;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;f=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(r=i.extra)!=null&&r.parenthesized){t()}if(((n=f)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(i,f)}i.typeParameters=f;return i},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));c=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!c.error)return c.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=c)!=null&&n.node){this.state=c.failState;return c.node}if((i=p)!=null&&i.thrown)throw p.error;if(d.thrown)throw d.error;if((s=c)!=null&&s.thrown)throw c.error;throw((a=p)==null?void 0:a.error)||d.error||((o=c)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Le.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const i=n&&this.isThisParam(n);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;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(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Le.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Le.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Be=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Me=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return 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;const s=this.parsePlaceholder("Identifier");if(s){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=s}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(s,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Be.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Fe=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Re=["minimal","smart","fsharp"];const Ke=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){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'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Re.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Re.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ke.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ve={estree:m,jsx:we,flow:Pe,typescript:ke,v8intrinsic:Fe,placeholders:Me};const Ue=Object.keys(Ve);const Xe={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Xe)){t[r]=e&&e[r]!=null?e[r]:Xe[r]}return t}var Je=function isDigit(e){return e>=48&&e<=57};const Ye=new Set([103,109,115,105,121,117,100]);const We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const qe={};qe.bin=[48,49];qe.oct=[...qe.bin,50,51,52,53,54,55];qe.dec=[...qe.oct,56,57];qe.hex=[...qe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(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){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){f.lastIndex=e;const t=f.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===T.template){this.readTmplToken()}else{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 SourceLocation(i,s)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,y.UnterminatedComment);this.state.pos=r+2;c.lastIndex=t;let n;while((n=c.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,y.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.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,y.UnterminatedRegExp)}const i=this.input.charCodeAt(n);if(isNewLine(i)){throw this.raise(e,y.UnterminatedRegExp)}if(t){t=false}else{if(i===91){r=true}else if(i===93&&r){r=false}else if(i===47&&!r){break}t=i===92}}const i=this.input.slice(e,n);++n;let s="";while(n-1||s.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,y.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Je(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+i+2,y.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,y.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;r=true}else if(i===109){throw this.raise(t,y.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let i=false;let s=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,y.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,y.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,y.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,y.InvalidOrMissingExponent)}r=true;s=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,y.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(s||o){this.raise(t,y.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(i){this.finishToken(u.decimal,p);return}const c=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,c)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,y.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,y.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++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}else{this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let i=parseInt(n,8);if(i>255){n=n.slice(0,-1);i=parseInt(n,8)}this.state.pos+=n.length-1;const s=this.input.charCodeAt(this.state.pos);if(n!=="0"||s===56||s===57){if(e){return null}else{this.recordStrictModeErrors(t,y.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(r){this.raise(n,y.InvalidEscapeSequence)}else{this.state.pos=n-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let i=e[n];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(r);i=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope($e)}function newArrowHeadScope(){return new ArrowHeadParsingScope(He)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Ge)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,y.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?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)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,y.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const i=this.scope;const s=this.getScopeHandler();this.scope=new s(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=De;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ce}this.scope.enter(N);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{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 SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let i=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){i=Qe(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,y.InvalidParenthesizedAssignment)}}else{this.raise(e.start,y.InvalidParenthesizedAssignment)}}switch(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))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const i=this.startNodeAt(t,r);i.expressions=[n];while(this.eat(u.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return 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;const i=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,i)}return e}}let s;if(e){s=false}else{e=new ExpressionErrors;s=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,i)}if(this.state.type.isAssign){const t=this.startNodeAt(n,i);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(s){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.state.potentialArrowAt;const s=this.parseExprOps(e);if(this.shouldExitDescending(s,i)){return s}return this.parseConditional(s,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,n)){return i}return this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(i>n){const s=this.state.type;if(s===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=s===u.logicalOR||s===u.logicalAND;const l=s===u.nullishCoalescing;if(l){i=u.logicalAND.binop}this.next();if(s===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(s,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,y.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const s=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,y.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,y.DeletePrivateField)}}if(!s){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,s,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?y.AwaitNotInAsyncContext:y.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const i=this.state.startLoc;let s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return s;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,i);e.operator=this.state.value;e.prefix=false;e.argument=s;this.checkLVal(s,"postfix operation");this.next();s=this.finishNode(e,"UpdateExpression")}return s}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,n)){return i}return this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,r,n,i){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,i)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,i)}let s=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=s=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,i,s)}else if(s||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,i,s)}else{i.stop=true;return e}}parseMember(e,t,r,n,i){const s=this.startNodeAt(t,r);const a=this.eat(u.bracketL);s.object=e;s.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(s.object.type==="Super"){this.raise(t,y.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}s.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){s.optional=i;return this.finishNode(s,"OptionalMemberExpression")}else{return this.finishNode(s,"MemberExpression")}}parseBind(e,t,r,n,i){const s=this.startNodeAt(t,r);s.object=e;s.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(s,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){const s=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=s;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const i=this.startNodeAt(t,r);i.tag=e;i.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,y.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,y.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){const s=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}s.push(this.parseExprListItem(false,i,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return s}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,y.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,y.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,y.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,y.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,y.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,y.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Ce);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,y.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,y.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,h.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const c={start:0};let f=true;let d;let y;while(!this.match(u.parenR)){if(f){f=false}else{this.expect(u.comma,c.start||null);if(this.match(u.parenR)){y=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,c))}}const h=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=s;let T=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(T=this.parseArrow(T))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(T,l,false);return T}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(y)this.unexpected(y);if(d)this.unexpected(d);this.checkExpressionErrors(p,true);if(c.start)this.unexpected(c.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",h,m)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const S=this.startNodeAt(t,r);S.expression=n;this.finishNode(S,"ParenthesizedExpression");return S}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,y.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,y.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,y.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,y.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(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(i,r,s,n)}if(r&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,y.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,y.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let i=false;let s=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(u.star)}const p=this.state.containsEsc;const c=this.parsePropertyName(n,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=c.name;if(e==="async"&&!this.hasPrecedingLineBreak()){s=true;i=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){i=true;this.raise(this.state.pos,y.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,i,s,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const i=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(i,y.BadGetterArity)}else{this.raise(i,y.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,y.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,i){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return 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);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,i,s,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(C|L|(a?B:0)|(i?k:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,s,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=this.startNode();this.next();s.elements=this.parseExprList(e,!r,n,s);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(C|j);let i=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){i|=_e}this.prodParam.enter(i);this.initFunction(e,r);const s=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=s;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|je);e.body=this.parseBlock(true,false,i=>{const s=!this.isSimpleParamList(e.params);if(i&&s){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,y.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!s,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,y.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,y.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,y.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,y.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,y.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,y.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,y.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,y.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,y.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,y.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const i=this.isSimpleReference(e);if(i){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,y.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,i?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&~t;if(r){this.prodParam.enter(t|_e);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&t;if(r){this.prodParam.enter(t&~_e);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,it=4;const st=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(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,y.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const i=this.input.slice(t.start,t.end);const s=r.value=i.slice(1,-1);this.addExtra(r,"raw",i);this.addExtra(r,"rawValue",s);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let i;if(this.isLet(e)){r=u._var;i="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,y.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,y.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,y.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,i);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,y.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const s=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,s,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,h.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;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(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(D);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const i=n?"let":this.state.value;this.next();this.parseVar(r,true,i);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const i=this.match(u.name)&&!this.state.containsEsc;const s=new ExpressionErrors;const a=this.parseExpression(true,s);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,y.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,y.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,y.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(D);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,y.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,y.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?_:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(D)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,y.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,y.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,y.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(u._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){r.statementStart=this.state.start;r.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(D)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){const s=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?a:undefined,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){const s=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(i){i.call(this,a)}if(!s){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,y.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const i=t&nt;const s=!!n&&!(t&it);this.initFunction(e,r);if(this.match(u.star)&&i){this.raise(this.state.start,y.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(s)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(C);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const i=this.startNode();i.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(i,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,y.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,y.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const i=t;const s=t;const a=t;const o=t;const l=i;const p=i;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,s,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const c=this.state.containsEsc;const f=this.match(u.privateName);const d=this.parseClassElementName(t);const h=d.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(f){this.pushClassPrivateMethod(e,s,false,false);return}const n=this.isNonstaticConstructor(i);let a=false;if(n){i.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,y.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,y.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,i,false,false,n,a)}else if(this.isClassProperty()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(h&&d.name==="async"&&!c&&!this.isLineTerminator()){const t=this.eat(u.star);if(p.optional){this.unexpected(m)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,s,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(h&&(d.name==="get"||d.name==="set")&&!c&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,s,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,y.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,y.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(B|M|L);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(De);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,y.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,y.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),Se,r.key.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const i=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(i);const s=i.kind==="get"?i.static?ye:me:i.kind==="set"?i.static?he:Te:Se;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),s,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(B|L);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(De);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=$){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,y.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const i=n&&this.maybeParseExportNamespaceSpecifier(e);const s=r&&(!i||this.eat(u.comma));const a=t||n;if(n&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||i&&s&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|it,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,y.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,y.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,y.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const s=this.state.decoratorStack[this.state.decoratorStack.length-1];if(s.length){throw this.raise(e.start,y.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?y.DuplicateDefaultExport:y.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.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(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(st);if(t){this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,y.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,y.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Ue.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=Ve[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},79105:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.scope=t.path=void 0;let r=new WeakMap;t.path=r;let n=new WeakMap;t.scope=n;function clear(){clearPath();clearScope()}function clearPath(){t.path=r=new WeakMap}function clearScope(){t.scope=n=new WeakMap}},60868:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(28356);var i=r(46103);const s=process.env.NODE_ENV==="test";class TraversalContext{constructor(e,t,r,n){this.queue=null;this.priorityQueue=null;this.parentPath=n;this.scope=e;this.state=r;this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return true;if(t[e.type])return true;const r=i.VISITOR_KEYS[e.type];if(!(r!=null&&r.length))return false;for(const t of r){if(e[t])return true}return false}create(e,t,r,i){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:i})}maybeQueue(e,t){if(this.trap){throw new Error("Infinite cycle detected")}if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,r){if(e.length===0)return false;const n=[];for(let i=0;i=1e4){this.trap=true}const{node:i}=n;if(t.has(i))continue;if(i)t.add(i);if(n.visit()){r=true;break}if(this.priorityQueue.length){r=this.visitQueue(this.priorityQueue);this.priorityQueue=[];this.queue=e;if(r)break}}for(const t of e){t.popContext()}this.queue=null;return r}visit(e,t){const r=e[t];if(!r)return false;if(Array.isArray(r)){return this.visitMultiple(r,e,t)}else{return this.visitSingle(e,t)}}}t.default=TraversalContext},12771:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}t.default=Hub},64316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"Hub",{enumerable:true,get:function(){return u.default}});t.visitors=t.default=void 0;var n=r(60868);var i=r(58680);t.visitors=i;var s=r(46103);var a=r(79105);var o=r(28356);var l=r(92490);var u=r(12771);function traverse(e,t={},r,n,a){if(!e)return;if(!t.noScope&&!r){if(e.type!=="Program"&&e.type!=="File"){throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+"passing scope and parentPath.")}}if(!s.VISITOR_KEYS[e.type]){return}i.explode(t);traverse.node(e,t,r,n,a)}var p=traverse;t.default=p;traverse.visitors=i;traverse.verify=i.verify;traverse.explode=i.explode;traverse.cheap=function(e,t){return s.traverseFast(e,t)};traverse.node=function(e,t,r,i,a,o){const l=s.VISITOR_KEYS[e.type];if(!l)return;const u=new n.default(r,t,i,a);for(const t of l){if(o&&o[t])continue;if(u.visit(e,t))return}};traverse.clearNode=function(e,t){s.removeProperties(e,t);a.path.delete(e)};traverse.removeProperties=function(e,t){s.traverseFast(e,traverse.clearNode,t);return e};function hasDenylistedType(e,t){if(e.node.type===t.type){t.has=true;e.stop()}}traverse.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return false;if(e.type===t)return true;const n={has:false,type:t};traverse(e,{noScope:true,denylist:r,enter:hasDenylistedType},null,n);return n.has};traverse.cache=a},40688:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findParent=findParent;t.find=find;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getAncestry=getAncestry;t.isAncestor=isAncestor;t.isDescendant=isDescendant;t.inType=inType;var n=r(46103);var i=r(28356);function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent(e=>e.isFunction())}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{e=e.parentPath}}while(e);if(e&&(e.isProgram()||e.isFile())){throw new Error("File/Program node, we can't possibly find a statement parent to this")}return e}function getEarliestCommonAncestorFrom(e){return this.getDeepestCommonAncestorFrom(e,function(e,t,r){let i;const s=n.VISITOR_KEYS[e.type];for(const e of r){const r=e[t+1];if(!i){i=r;continue}if(r.listKey&&i.listKey===r.listKey){if(r.keya){i=r}}return i})}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let r=Infinity;let n,i;const s=e.map(e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.lengtht===e)}function inType(...e){let t=this;while(t){for(const r of e){if(t.node.type===r)return true}t=t.parentPath}return false}},54902:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shareCommentsWithSiblings=shareCommentsWithSiblings;t.addComment=addComment;t.addComments=addComments;var n=r(46103);function shareCommentsWithSiblings(){if(typeof this.key==="string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1);const i=this.getSibling(this.key+1);const s=Boolean(n.node);const a=Boolean(i.node);if(s&&!a){n.addComments("trailing",t)}else if(a&&!s){i.addComments("leading",r)}}function addComment(e,t,r){n.addComment(this.node,e,t,r)}function addComments(e,t){n.addComments(this.node,e,t)}},74868:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.call=call;t._call=_call;t.isBlacklisted=t.isDenylisted=isDenylisted;t.visit=visit;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.setScope=setScope;t.setContext=setContext;t.resync=resync;t._resyncParent=_resyncParent;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncRemoved=_resyncRemoved;t.popContext=popContext;t.pushContext=pushContext;t.setup=setup;t.setKey=setKey;t.requeue=requeue;t._getQueueContexts=_getQueueContexts;var n=r(64316);var i=r(28356);function call(e){const t=this.opts;this.debug(e);if(this.node){if(this._call(t[e]))return true}if(this.node){return this._call(t[this.node.type]&&t[this.node.type][e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const r=t.call(this.state,this,this.state);if(r&&typeof r==="object"&&typeof r.then==="function"){throw new Error(`You appear to be using a plugin with an async traversal visitor, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}if(r){throw new Error(`Unexpected return value from visitor method ${t}`)}if(this.node!==e)return true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function visit(){if(!this.node){return false}if(this.isDenylisted()){return false}if(this.opts.shouldSkip&&this.opts.shouldSkip(this)){return false}if(this.shouldSkip||this.call("enter")||this.shouldSkip){this.debug("Skip...");return this.shouldStop}this.debug("Recursing into...");n.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys);this.call("exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=i.SHOULD_SKIP|i.SHOULD_STOP}function setScope(){if(this.opts&&this.opts.noScope)return;let e=this.parentPath;if(this.key==="key"&&e.isMethod())e=e.parentPath;let t;while(e&&!t){if(e.opts&&e.opts.noScope)return;t=e.scope;e=e.parentPath}this.scope=this.getScope(t);if(this.scope)this.scope.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}this.setScope();return this}function resync(){if(this.removed)return;this._resyncParent();this._resyncList();this._resyncKey()}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let e=0;e0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,r,n){this.listKey=r;this.container=t;this.parentPath=e||this.parentPath;this.setKey(n)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const r of t){r.maybeQueue(e)}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},94132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toComputedKey=toComputedKey;t.ensureBlock=ensureBlock;t.arrowFunctionToShadowed=arrowFunctionToShadowed;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;t.arrowFunctionToExpression=arrowFunctionToExpression;var n=r(46103);var i=r(98733);function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(n.isIdentifier(e))e=n.stringLiteral(e.name)}return e}function ensureBlock(){const e=this.get("body");const t=e.node;if(Array.isArray(e)){throw new Error("Can't convert array path to a block statement")}if(!t){throw new Error("Can't convert node without a body")}if(e.isBlockStatement()){return t}const r=[];let i="body";let s;let a;if(e.isStatement()){a="body";s=0;r.push(e.node)}else{i+=".body.0";if(this.isFunction()){s="argument";r.push(n.returnStatement(e.node))}else{s="expression";r.push(n.expressionStatement(e.node))}}this.node.body=n.blockStatement(r);const o=this.get(i);e.setup(o,a?o.node[a]:o.node,a,s);return this.node}function arrowFunctionToShadowed(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function arrowFunctionToExpression({allowInsertArrow:e=true,specCompliant:t=false,noNewArrows:r=!t}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}const s=hoistFunctionEnvironment(this,r,e);this.ensureBlock();this.node.type="FunctionExpression";if(!r){const e=s?null:this.parentPath.scope.generateUidIdentifier("arrowCheckId");if(e){this.parentPath.scope.push({id:e,init:n.objectExpression([])})}this.get("body").unshiftContainer("body",n.expressionStatement(n.callExpression(this.hub.addHelper("newArrowCheck"),[n.thisExpression(),e?n.identifier(e.name):n.identifier(s)])));this.replaceWith(n.callExpression(n.memberExpression((0,i.default)(this,true)||this.node,n.identifier("bind")),[e?n.identifier(e.name):n.thisExpression()]))}}function hoistFunctionEnvironment(e,t=true,r=true){const i=e.findParent(e=>{return e.isFunction()&&!e.isArrowFunctionExpression()||e.isProgram()||e.isClassProperty({static:false})});const s=(i==null?void 0:i.node.kind)==="constructor";if(i.isClassProperty()){throw e.buildCodeFrameError("Unable to transform arrow inside class property")}const{thisPaths:a,argumentsPaths:o,newTargetPaths:l,superProps:u,superCalls:p}=getScopeInformation(e);if(s&&p.length>0){if(!r){throw p[0].buildCodeFrameError("Unable to handle nested super() usage in arrow")}const e=[];i.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(t){if(!t.get("callee").isSuper())return;e.push(t)}});const t=getSuperBinding(i);e.forEach(e=>{const r=n.identifier(t);r.loc=e.node.callee.loc;e.get("callee").replaceWith(r)})}if(o.length>0){const e=getBinding(i,"arguments",()=>n.identifier("arguments"));o.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(l.length>0){const e=getBinding(i,"newtarget",()=>n.metaProperty(n.identifier("new"),n.identifier("target")));l.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(u.length>0){if(!r){throw u[0].buildCodeFrameError("Unable to handle nested super.prop usage")}const e=u.reduce((e,t)=>e.concat(standardizeSuperProperty(t)),[]);e.forEach(e=>{const t=e.node.computed?"":e.get("property").node.name;const r=e.parentPath.isAssignmentExpression({left:e.node});const s=e.parentPath.isCallExpression({callee:e.node});const o=getSuperPropBinding(i,r,t);const l=[];if(e.node.computed){l.push(e.get("property").node)}if(r){const t=e.parentPath.node.right;l.push(t)}const u=n.callExpression(n.identifier(o),l);if(s){e.parentPath.unshiftContainer("arguments",n.thisExpression());e.replaceWith(n.memberExpression(u,n.identifier("call")));a.push(e.parentPath.get("arguments.0"))}else if(r){e.parentPath.replaceWith(u)}else{e.replaceWith(u)}})}let c;if(a.length>0||!t){c=getThisBinding(i,s);if(t||s&&hasSuperClass(i)){a.forEach(e=>{const t=e.isJSX()?n.jsxIdentifier(c):n.identifier(c);t.loc=e.node.loc;e.replaceWith(t)});if(!t)c=null}}return c}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){const t=e.parentPath;const r=t.node.operator.slice(0,-1);const i=t.node.right;t.node.operator="=";if(e.node.computed){const s=e.scope.generateDeclaredUidIdentifier("tmp");t.get("left").replaceWith(n.memberExpression(e.node.object,n.assignmentExpression("=",s,e.node.property),true));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(s.name),true),i))}else{t.get("left").replaceWith(n.memberExpression(e.node.object,e.node.property));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(e.node.property.name)),i))}return[t.get("left"),t.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const r=e.scope.generateDeclaredUidIdentifier("tmp");const i=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null;const s=[n.assignmentExpression("=",r,n.memberExpression(e.node.object,i?n.assignmentExpression("=",i,e.node.property):e.node.property,e.node.computed)),n.assignmentExpression("=",n.memberExpression(e.node.object,i?n.identifier(i.name):e.node.property,e.node.computed),n.binaryExpression("+",n.identifier(r.name),n.numericLiteral(1)))];if(!e.parentPath.node.prefix){s.push(n.identifier(r.name))}t.replaceWith(n.sequenceExpression(s));const a=t.get("expressions.0.right");const o=t.get("expressions.1.left");return[a,o]}return[e]}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}function getThisBinding(e,t){return getBinding(e,"this",r=>{if(!t||!hasSuperClass(e))return n.thisExpression();const i=new WeakSet;e.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(e){if(!e.get("callee").isSuper())return;if(i.has(e.node))return;i.add(e.node);e.replaceWithMultiple([e.node,n.assignmentExpression("=",n.identifier(r),n.identifier("this"))])}})})}function getSuperBinding(e){return getBinding(e,"supercall",()=>{const t=e.scope.generateUidIdentifier("args");return n.arrowFunctionExpression([n.restElement(t)],n.callExpression(n.super(),[n.spreadElement(n.identifier(t.name))]))})}function getSuperPropBinding(e,t,r){const i=t?"set":"get";return getBinding(e,`superprop_${i}:${r||""}`,()=>{const i=[];let s;if(r){s=n.memberExpression(n.super(),n.identifier(r))}else{const t=e.scope.generateUidIdentifier("prop");i.unshift(t);s=n.memberExpression(n.super(),n.identifier(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("value");i.push(t);s=n.assignmentExpression("=",s,n.identifier(t.name))}return n.arrowFunctionExpression(i,s)})}function getBinding(e,t,r){const n="binding:"+t;let i=e.getData(n);if(!i){const s=e.scope.generateUidIdentifier(t);i=s.name;e.setData(n,i);e.scope.push({id:s,init:r(i)})}return i}function getScopeInformation(e){const t=[];const r=[];const n=[];const i=[];const s=[];e.traverse({ClassProperty(e){e.skip()},Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ThisExpression(e){t.push(e)},JSXIdentifier(e){if(e.node.name!=="this")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e){if(e.get("callee").isSuper())s.push(e)},MemberExpression(e){if(e.get("object").isSuper())i.push(e)},ReferencedIdentifier(e){if(e.node.name!=="arguments")return;r.push(e)},MetaProperty(e){if(!e.get("meta").isIdentifier({name:"new"}))return;if(!e.get("property").isIdentifier({name:"target"}))return;n.push(e)}});return{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:s}}},22198:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluateTruthy=evaluateTruthy;t.evaluate=evaluate;const r=["String","Number","Math"];const n=["random"];function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}function evaluateCached(e,t){const{node:r}=e;const{seen:n}=t;if(n.has(r)){const i=n.get(r);if(i.resolved){return i.value}else{deopt(e,t);return}}else{const i={resolved:false};n.set(r,i);const s=_evaluate(e,t);if(t.confident){i.resolved=true;i.value=s}return s}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const r=e.get("expressions");return evaluateCached(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral()){return e.node.value}if(e.isNullLiteral()){return null}if(e.isTemplateLiteral()){return evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const r=e.get("tag.object");const{node:{name:n}}=r;const i=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&i.isIdentifier()&&i.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const r=evaluateCached(e.get("test"),t);if(!t.confident)return;if(r){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const t=e.get("property");const r=e.get("object");if(r.isLiteral()&&t.isIdentifier()){const e=r.node.value;const n=typeof e;if(n==="number"||n==="string"){return e[t.node.name]}}}if(e.isReferencedIdentifier()){const r=e.scope.getBinding(e.node.name);if(r&&r.constantViolations.length>0){return deopt(r.path,t)}if(r&&e.node.start":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){const i=e.get("callee");let s;let a;if(i.isIdentifier()&&!e.scope.getBinding(i.node.name)&&r.indexOf(i.node.name)>=0){a=global[i.node.name]}if(i.isMemberExpression()){const e=i.get("object");const t=i.get("property");if(e.isIdentifier()&&t.isIdentifier()&&r.indexOf(e.node.name)>=0&&n.indexOf(t.node.name)<0){s=global[e.node.name];a=s[t.node.name]}if(e.isLiteral()&&t.isIdentifier()){const r=typeof e.node.value;if(r==="string"||r==="number"){s=e.node.value;a=s[t.node.name]}}}if(a){const r=e.get("arguments").map(e=>evaluateCached(e,t));if(!t.confident)return;return a.apply(s,r)}}deopt(e,t)}function evaluateQuasis(e,t,r,n=false){let i="";let s=0;const a=e.get("expressions");for(const e of t){if(!r.confident)break;i+=n?e.value.raw:e.value.cooked;const t=a[s++];if(t)i+=String(evaluateCached(t,r))}if(!r.confident)return;return i}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},66478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOpposite=getOpposite;t.getCompletionRecords=getCompletionRecords;t.getSibling=getSibling;t.getPrevSibling=getPrevSibling;t.getNextSibling=getNextSibling;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.get=get;t._getKey=_getKey;t._getPattern=_getPattern;t.getBindingIdentifiers=getBindingIdentifiers;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;var n=r(28356);var i=r(46103);const s=0;const a=1;function NormalCompletion(e){return{type:s,path:e}}function BreakCompletion(e){return{type:a,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,r){if(e)return t.concat(_getCompletionRecords(e,r));return t}function completionRecordForSwitch(e,t,r){let n=[];for(let i=0;i{e.type=a})}function replaceBreakStatementInBreakCompletion(e,t){e.forEach(e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(i.unaryExpression("void",i.numericLiteral(0)))}else{e.path.remove()}}})}function getStatementListCompletion(e,t){let r=[];if(t.canHaveBreak){let n=[];for(let i=0;i0&&u.every(e=>e.type===a)){if(n.length>0&&u.every(e=>e.path.isBreakStatement({label:null}))){normalCompletionToBreak(n);r=r.concat(n);if(n.some(e=>e.path.isDeclaration())){r=r.concat(u);replaceBreakStatementInBreakCompletion(u,true)}replaceBreakStatementInBreakCompletion(u,false)}else{r=r.concat(u);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(u,true)}}break}if(i===e.length-1){r=r.concat(u)}else{r=r.concat(u.filter(e=>e.type===a));n=u.filter(e=>e.type===s)}}}else if(e.length){r=r.concat(_getCompletionRecords(e[e.length-1],t))}return r}function _getCompletionRecords(e,t){let r=[];if(e.isIfStatement()){r=addCompletionRecords(e.get("consequent"),r,t);r=addCompletionRecords(e.get("alternate"),r,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isProgram()||e.isBlockStatement()){r=r.concat(getStatementListCompletion(e.get("body"),t))}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){r=addCompletionRecords(e.get("block"),r,t);r=addCompletionRecords(e.get("handler"),r,t)}else if(e.isCatchClause()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isSwitchStatement()){r=completionRecordForSwitch(e.get("cases"),r,t)}else if(e.isSwitchCase()){r=r.concat(getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true}))}else if(e.isBreakStatement()){r.push(BreakCompletion(e))}else{r.push(NormalCompletion(e))}return r}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map(e=>e.path)}function getSibling(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const r=[];while(t.node){r.push(t);t=this.getSibling(++e)}return r}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const r=[];while(t.node){r.push(t);t=this.getSibling(--e)}return r}function get(e,t=true){if(t===true)t=this.context;const r=e.split(".");if(r.length===1){return this._getKey(e,t)}else{return this._getPattern(r,t)}}function _getKey(e,t){const r=this.node;const i=r[e];if(Array.isArray(i)){return i.map((s,a)=>{return n.default.get({listKey:e,parentPath:this,parent:r,container:i,key:a}).setContext(t)})}else{return n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}}function _getPattern(e,t){let r=this;for(const n of e){if(n==="."){r=r.parentPath}else{if(Array.isArray(r)){r=r[n]}else{r=r.get(n,t)}}}return r}function getBindingIdentifiers(e){return i.getBindingIdentifiers(this.node,e)}function getOuterBindingIdentifiers(e){return i.getOuterBindingIdentifiers(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const r=this;let n=[].concat(r);const s=Object.create(null);while(n.length){const r=n.shift();if(!r)continue;if(!r.node)continue;const a=i.getBindingIdentifiers.keys[r.node.type];if(r.isIdentifier()){if(e){const e=s[r.node.name]=s[r.node.name]||[];e.push(r)}else{s[r.node.name]=r}continue}if(r.isExportDeclaration()){const e=r.get("declaration");if(e.isDeclaration()){n.push(e)}continue}if(t){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression()){continue}}if(a){for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.SHOULD_SKIP=t.SHOULD_STOP=t.REMOVED=void 0;var n=r(27218);var i=r(31185);var s=r(64316);var a=r(92490);var o=r(46103);var l=r(79105);var u=r(31977);var p=r(40688);var c=r(10350);var f=r(82057);var d=r(22198);var y=r(94132);var h=r(21068);var m=r(74868);var T=r(54464);var S=r(11426);var b=r(66478);var E=r(54902);const g=i("babel");const x=1<<0;t.REMOVED=x;const P=1<<1;t.SHOULD_STOP=P;const A=1<<2;t.SHOULD_SKIP=A;class NodePath{constructor(e,t){this.contexts=[];this.state=null;this.opts=null;this._traverseFlags=0;this.skipKeys=null;this.parentPath=null;this.container=null;this.listKey=null;this.key=null;this.node=null;this.type=null;this.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:i,key:s}){if(!e&&t){e=t.hub}if(!r){throw new Error("To get a node path the parent needs to exist")}const a=n[s];let o=l.path.get(r);if(!o){o=new Map;l.path.set(r,o)}let u=o.get(a);if(!u){u=new NodePath(e,r);if(a)o.set(a,u)}u.setup(t,n,i,s);return u}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let r=this.data[e];if(r===undefined&&t!==undefined)r=this.data[e]=t;return r}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,s.default)(this.node,e,this.scope,t,this)}set(e,t){o.validate(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;if(t.inList)r=`${t.listKey}[${r}]`;e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){if(!g.enabled)return;g(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&A)}set shouldSkip(e){if(e){this._traverseFlags|=A}else{this._traverseFlags&=~A}}get shouldStop(){return!!(this._traverseFlags&P)}set shouldStop(e){if(e){this._traverseFlags|=P}else{this._traverseFlags&=~P}}get removed(){return!!(this._traverseFlags&x)}set removed(e){if(e){this._traverseFlags|=x}else{this._traverseFlags&=~x}}}Object.assign(NodePath.prototype,p,c,f,d,y,h,m,T,S,b,E);for(const e of o.TYPES){const t=`is${e}`;const r=o[t];NodePath.prototype[t]=function(e){return r(this.node,e)};NodePath.prototype[`assert${e}`]=function(t){if(!r(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}for(const e of Object.keys(n)){if(e[0]==="_")continue;if(o.TYPES.indexOf(e)<0)o.TYPES.push(e);const t=n[e];NodePath.prototype[`is${e}`]=function(e){return t.checkPath(this,e)}}var v=NodePath;t.default=v},10350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getTypeAnnotation=getTypeAnnotation;t._getTypeAnnotation=_getTypeAnnotation;t.isBaseType=isBaseType;t.couldBeBaseType=couldBeBaseType;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.isGenericType=isGenericType;var n=r(84257);var i=r(46103);function getTypeAnnotation(){if(this.typeAnnotation)return this.typeAnnotation;let e=this._getTypeAnnotation()||i.anyTypeAnnotation();if(i.isTypeAnnotation(e))e=e.typeAnnotation;return this.typeAnnotation=e}const s=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return i.stringTypeAnnotation()}if(e.key==="left"&&t.isForOfStatement()){return i.anyTypeAnnotation()}return i.voidTypeAnnotation()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(s.has(e)){return}s.add(e);try{var t;let r=n[e.type];if(r){return r.call(this,e)}r=n[this.parentPath.type];if((t=r)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{s.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,r){if(e==="string"){return i.isStringTypeAnnotation(t)}else if(e==="number"){return i.isNumberTypeAnnotation(t)}else if(e==="boolean"){return i.isBooleanTypeAnnotation(t)}else if(e==="any"){return i.isAnyTypeAnnotation(t)}else if(e==="mixed"){return i.isMixedTypeAnnotation(t)}else if(e==="empty"){return i.isEmptyTypeAnnotation(t)}else if(e==="void"){return i.isVoidTypeAnnotation(t)}else{if(r){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(i.isAnyTypeAnnotation(t))return true;if(i.isUnionTypeAnnotation(t)){for(const r of t.types){if(i.isAnyTypeAnnotation(r)||_isBaseType(e,r,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const r=e.getTypeAnnotation();if(!i.isAnyTypeAnnotation(t)&&i.isFlowBaseAnnotation(t)){return r.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();return i.isGenericTypeAnnotation(t)&&i.isIdentifier(t.id,{name:e})}},37922:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(46103);function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return n.voidTypeAnnotation()}else if(e.name==="NaN"||e.name==="Infinity"){return n.numberTypeAnnotation()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,r){const i=[];const s=[];let a=getConstantViolationsBefore(e,t,s);const o=getConditionalAnnotation(e,t,r);if(o){const t=getConstantViolationsBefore(e,o.ifStatement);a=a.filter(e=>t.indexOf(e)<0);i.push(o.typeAnnotation)}if(a.length){a=a.concat(s);for(const e of a){i.push(e.getTypeAnnotation())}}if(!i.length){return}if(n.isTSTypeAnnotation(i[0])&&n.createTSUnionType){return n.createTSUnionType(i)}if(n.createFlowUnionType){return n.createFlowUnionType(i)}return n.createUnionTypeAnnotation(i)}function getConstantViolationsBefore(e,t,r){const n=e.constantViolations.slice();n.unshift(e.path);return n.filter(e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);if(r&&n==="unknown")r.push(e);return n==="before"})}function inferAnnotationFromBinaryExpression(e,t){const r=t.node.operator;const i=t.get("right").resolve();const s=t.get("left").resolve();let a;if(s.isIdentifier({name:e})){a=i}else if(i.isIdentifier({name:e})){a=s}if(a){if(r==="==="){return a.getTypeAnnotation()}if(n.BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(r)>=0){return n.numberTypeAnnotation()}return}if(r!=="==="&&r!=="==")return;let o;let l;if(s.isUnaryExpression({operator:"typeof"})){o=s;l=i}else if(i.isUnaryExpression({operator:"typeof"})){o=i;l=s}if(!o)return;if(!o.get("argument").isIdentifier({name:e}))return;l=l.resolve();if(!l.isLiteral())return;const u=l.node.value;if(typeof u!=="string")return;return n.createTypeAnnotationBasedOnTypeof(u)}function getParentConditionalPath(e,t,r){let n;while(n=t.parentPath){if(n.isIfStatement()||n.isConditionalExpression()){if(t.key==="test"){return}return n}if(n.isFunction()){if(n.parentPath.scope.getBinding(r)!==e)return}t=n}}function getConditionalAnnotation(e,t,r){const i=getParentConditionalPath(e,t,r);if(!i)return;const s=i.get("test");const a=[s];const o=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VariableDeclarator=VariableDeclarator;t.TypeCastExpression=TypeCastExpression;t.NewExpression=NewExpression;t.TemplateLiteral=TemplateLiteral;t.UnaryExpression=UnaryExpression;t.BinaryExpression=BinaryExpression;t.LogicalExpression=LogicalExpression;t.ConditionalExpression=ConditionalExpression;t.SequenceExpression=SequenceExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.AssignmentExpression=AssignmentExpression;t.UpdateExpression=UpdateExpression;t.StringLiteral=StringLiteral;t.NumericLiteral=NumericLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.RegExpLiteral=RegExpLiteral;t.ObjectExpression=ObjectExpression;t.ArrayExpression=ArrayExpression;t.RestElement=RestElement;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;t.CallExpression=CallExpression;t.TaggedTemplateExpression=TaggedTemplateExpression;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return i.default}});var n=r(46103);var i=r(37922);function VariableDeclarator(){var e;const t=this.get("id");if(!t.isIdentifier())return;const r=this.get("init");let n=r.getTypeAnnotation();if(((e=n)==null?void 0:e.type)==="AnyTypeAnnotation"){if(r.isCallExpression()&&r.get("callee").isIdentifier({name:"Array"})&&!r.scope.hasBinding("Array",true)){n=ArrayExpression()}}return n}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function NewExpression(e){if(this.get("callee").isIdentifier()){return n.genericTypeAnnotation(e.callee)}}function TemplateLiteral(){return n.stringTypeAnnotation()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return n.voidTypeAnnotation()}else if(n.NUMBER_UNARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.STRING_UNARY_OPERATORS.indexOf(t)>=0){return n.stringTypeAnnotation()}else if(n.BOOLEAN_UNARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}}function BinaryExpression(e){const t=e.operator;if(n.NUMBER_BINARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.BOOLEAN_BINARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return n.numberTypeAnnotation()}else if(t.isBaseType("string")||e.isBaseType("string")){return n.stringTypeAnnotation()}return n.unionTypeAnnotation([n.stringTypeAnnotation(),n.numberTypeAnnotation()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return n.numberTypeAnnotation()}}function StringLiteral(){return n.stringTypeAnnotation()}function NumericLiteral(){return n.numberTypeAnnotation()}function BooleanLiteral(){return n.booleanTypeAnnotation()}function NullLiteral(){return n.nullLiteralTypeAnnotation()}function RegExpLiteral(){return n.genericTypeAnnotation(n.identifier("RegExp"))}function ObjectExpression(){return n.genericTypeAnnotation(n.identifier("Object"))}function ArrayExpression(){return n.genericTypeAnnotation(n.identifier("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return n.genericTypeAnnotation(n.identifier("Function"))}const s=n.buildMatchMemberExpression("Array.from");const a=n.buildMatchMemberExpression("Object.keys");const o=n.buildMatchMemberExpression("Object.values");const l=n.buildMatchMemberExpression("Object.entries");function CallExpression(){const{callee:e}=this.node;if(a(e)){return n.arrayTypeAnnotation(n.stringTypeAnnotation())}else if(s(e)||o(e)){return n.arrayTypeAnnotation(n.anyTypeAnnotation())}else if(l(e)){return n.arrayTypeAnnotation(n.tupleTypeAnnotation([n.stringTypeAnnotation(),n.anyTypeAnnotation()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){if(e.is("async")){if(e.is("generator")){return n.genericTypeAnnotation(n.identifier("AsyncIterator"))}else{return n.genericTypeAnnotation(n.identifier("Promise"))}}else{if(e.node.returnType){return e.node.returnType}else{}}}}},21068:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.matchesPattern=matchesPattern;t.has=has;t.isStatic=isStatic;t.isnt=isnt;t.equals=equals;t.isNodeType=isNodeType;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.isCompletionRecord=isCompletionRecord;t.isStatementOrBlock=isStatementOrBlock;t.referencesImport=referencesImport;t.getSource=getSource;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._guessExecutionStatusRelativeToDifferentFunctions=_guessExecutionStatusRelativeToDifferentFunctions;t.resolve=resolve;t._resolve=_resolve;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.is=void 0;var n=r(46103);function matchesPattern(e,t){return n.matchesPattern(this.node,e,t)}function has(e){const t=this.node&&this.node[e];if(t&&Array.isArray(t)){return!!t.length}else{return!!t}}function isStatic(){return this.scope.isStatic(this.node)}const i=has;t.is=i;function isnt(e){return!this.has(e)}function equals(e,t){return this.node[e]===t}function isNodeType(e){return n.isType(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return n.isBlockStatement(e)}else if(this.isBlockStatement()){return n.isExpression(e)}return false}function isCompletionRecord(e){let t=this;let r=true;do{const n=t.container;if(t.isFunction()&&!r){return!!e}r=false;if(Array.isArray(n)&&t.key!==n.length-1){return false}}while((t=t.parentPath)&&!t.isProgram());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||n.isBlockStatement(this.container)){return false}else{return n.STATEMENT_OR_BLOCK_KEYS.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if((this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?n.isStringLiteral(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return false;const i=r.path;const s=i.parentPath;if(!s.isImportDeclaration())return false;if(s.node.source.value===e){if(!t)return true}else{return false}if(i.isImportDefaultSpecifier()&&t==="default"){return true}if(i.isImportNamespaceSpecifier()&&t==="*"){return true}if(i.isImportSpecifier()&&n.isIdentifier(i.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return(e.scope.getFunctionParent()||e.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let r=0;r=0)return"after";if(r.this.indexOf(e)>=0)return"before";let i;const s={target:0,this:0};while(!i&&s.this=0){i=e}else{s.this++}}if(!i){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(r.this,s.this-1)||isExecutionUncertainInList(r.target,s.target-1)){return"unknown"}const a={this:r.this[s.this-1],target:r.target[s.target-1]};if(a.target.listKey&&a.this.listKey&&a.target.container===a.this.container){return a.target.key>a.this.key?"before":"after"}const o=n.VISITOR_KEYS[i.type];const l={this:o.indexOf(a.this.parentKey),target:o.indexOf(a.target.parentKey)};return l.target>l.this?"before":"after"}const s=new WeakSet;function _guessExecutionStatusRelativeToDifferentFunctions(e){if(!e.isFunctionDeclaration()||e.parentPath.isExportDeclaration()){return"unknown"}const t=e.scope.getBinding(e.node.id.name);if(!t.references)return"before";const r=t.referencePaths;let n;for(const t of r){const r=!!t.find(t=>t.node===e.node);if(r)continue;if(t.key!=="callee"||!t.parentPath.isCallExpression()){return"unknown"}if(s.has(t.node))continue;s.add(t.node);const i=this._guessExecutionStatusRelativeTo(t);s.delete(t.node);if(n&&n!==i){return"unknown"}else{n=i}}return n}function resolve(e,t){return this._resolve(e,t)||this}function _resolve(e,t){if(t&&t.indexOf(this)>=0)return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if(r.kind==="module")return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find(e=>e.node===n.node))return;return n}}else if(this.isTypeCastExpression()){return this.get("expression").resolve(e,t)}else if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!n.isLiteral(r))return;const i=r.value;const s=this.get("object").resolve(e,t);if(s.isObjectExpression()){const r=s.get("properties");for(const n of r){if(!n.isProperty())continue;const r=n.get("key");let s=n.isnt("computed")&&r.isIdentifier({name:i});s=s||r.isLiteral({value:i});if(s)return n.get("value").resolve(e,t)}}else if(s.isArrayExpression()&&!isNaN(+i)){const r=s.get("elements");const n=r[i];if(n)return n.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every(e=>e.isConstantExpression())}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find(e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(!e.isProgram()&&!e.isFunction())return false;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}const t=e.isFunction()?e.node.body:e.node;for(const e of t.directives){if(e.value.value==="use strict"){return true}}});return!!t}},98843:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(46103);const i={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&n.react.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);if(r)t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);if(!r)return;for(const n of r.constantViolations){if(n.scope!==r.path.scope){t.mutableBinding=true;e.stop();return}}if(r!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=r}};class PathHoister{constructor(e,t){this.breakOnScopePaths=void 0;this.bindings=void 0;this.mutableBinding=void 0;this.scopes=void 0;this.scope=void 0;this.path=void 0;this.attachAfter=void 0;this.breakOnScopePaths=[];this.bindings={};this.mutableBinding=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.indexOf(e.path)>=0){break}}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e){t=e.scope.parent}if(t.path.isProgram()||t.path.isFunction()){for(const r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if(n.kind==="param"||n.path.parentKey==="params"){continue}const i=this.getAttachmentParentForPath(n.path);if(i.key>=e.key){this.attachAfter=true;e=n.path;for(const t of n.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const r=[function(e,t){const r=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(r){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&(e.key==="consequent"||e.key==="alternate")||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}];t.hooks=r},27218:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ForAwaitStatement=t.NumericLiteralTypeAnnotation=t.ExistentialTypeParam=t.SpreadProperty=t.RestProperty=t.Flow=t.Pure=t.Generated=t.User=t.Var=t.BlockScoped=t.Referenced=t.Scope=t.Expression=t.Statement=t.BindingIdentifier=t.ReferencedMemberExpression=t.ReferencedIdentifier=void 0;var n=r(46103);const i={types:["Identifier","JSXIdentifier"],checkPath(e,t){const{node:r,parent:i}=e;if(!n.isIdentifier(r,t)&&!n.isJSXMemberExpression(i,t)){if(n.isJSXIdentifier(r,t)){if(n.react.isCompatTag(r.name))return false}else{return false}}return n.isReferenced(r,i,e.parentPath.parent)}};t.ReferencedIdentifier=i;const s={types:["MemberExpression"],checkPath({node:e,parent:t}){return n.isMemberExpression(e)&&n.isReferenced(e,t)}};t.ReferencedMemberExpression=s;const a={types:["Identifier"],checkPath(e){const{node:t,parent:r}=e;const i=e.parentPath.parent;return n.isIdentifier(t)&&n.isBinding(t,r,i)}};t.BindingIdentifier=a;const o={types:["Statement"],checkPath({node:e,parent:t}){if(n.isStatement(e)){if(n.isVariableDeclaration(e)){if(n.isForXStatement(t,{left:e}))return false;if(n.isForStatement(t,{init:e}))return false}return true}else{return false}}};t.Statement=o;const l={types:["Expression"],checkPath(e){if(e.isIdentifier()){return e.isReferencedIdentifier()}else{return n.isExpression(e.node)}}};t.Expression=l;const u={types:["Scopable","Pattern"],checkPath(e){return n.isScope(e.node,e.parent)}};t.Scope=u;const p={checkPath(e){return n.isReferenced(e.node,e.parent)}};t.Referenced=p;const c={checkPath(e){return n.isBlockScoped(e.node)}};t.BlockScoped=c;const f={types:["VariableDeclaration"],checkPath(e){return n.isVar(e.node)}};t.Var=f;const d={checkPath(e){return e.node&&!!e.node.loc}};t.User=d;const y={checkPath(e){return!e.isUser()}};t.Generated=y;const h={checkPath(e,t){return e.scope.isPure(e.node,t)}};t.Pure=h;const m={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath({node:e}){if(n.isFlow(e)){return true}else if(n.isImportDeclaration(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(n.isExportDeclaration(e)){return e.exportKind==="type"}else if(n.isImportSpecifier(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}};t.Flow=m;const T={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectPattern()}};t.RestProperty=T;const S={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectExpression()}};t.SpreadProperty=S;const b={types:["ExistsTypeAnnotation"]};t.ExistentialTypeParam=b;const E={types:["NumberLiteralTypeAnnotation"]};t.NumericLiteralTypeAnnotation=E;const g={types:["ForOfStatement"],checkPath({node:e}){return e.await===true}};t.ForAwaitStatement=g},11426:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.insertBefore=insertBefore;t._containerInsert=_containerInsert;t._containerInsertBefore=_containerInsertBefore;t._containerInsertAfter=_containerInsertAfter;t.insertAfter=insertAfter;t.updateSiblingKeys=updateSiblingKeys;t._verifyNodeList=_verifyNodeList;t.unshiftContainer=unshiftContainer;t.pushContainer=pushContainer;t.hoist=hoist;var n=r(79105);var i=r(98843);var s=r(28356);var a=r(46103);function insertBefore(e){this._assertUnremoved();const t=this._verifyNodeList(e);const{parentPath:r}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||r.isExportNamedDeclaration()||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertBefore(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.unshiftContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function _containerInsert(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let n=0;n{return a.isExpression(e)?a.expressionStatement(e):e}))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){const e=this.node;let{scope:n}=this;if(n.path.isPattern()){a.assertExpression(e);this.replaceWith(a.callExpression(a.arrowFunctionExpression([],e),[]));this.get("callee.body").insertAfter(t);return[this]}if(r.isMethod({computed:true,key:e})){n=n.parent}const i=n.generateDeclaredUidIdentifier();t.unshift(a.expressionStatement(a.assignmentExpression("=",a.cloneNode(i),e)));t.push(a.expressionStatement(a.cloneNode(i)))}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertAfter(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.pushContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(const[,n]of r){if(n.key>=e){n.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.remove=remove;t._removeFromScope=_removeFromScope;t._callRemovalHooks=_callRemovalHooks;t._remove=_remove;t._markRemoved=_markRemoved;t._assertUnremoved=_assertUnremoved;var n=r(31783);var i=r(79105);var s=r(28356);function remove(){var e;this._assertUnremoved();this.resync();if(!((e=this.opts)!=null&&e.noScope)){this._removeFromScope()}if(this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings();this._remove();this._markRemoved()}function _removeFromScope(){const e=this.getBindingIdentifiers();Object.keys(e).forEach(e=>this.scope.removeBinding(e))}function _callRemovalHooks(){for(const e of n.hooks){if(e(this,this.parentPath))return true}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);this.updateSiblingKeys(this.key,-1)}else{this._replaceWith(null)}}function _markRemoved(){this._traverseFlags|=s.SHOULD_SKIP|s.REMOVED;if(this.parent)i.path.get(this.parent).delete(this.node);this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},82057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;t.replaceWith=replaceWith;t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;var n=r(41525);var i=r(64316);var s=r(28356);var a=r(79105);var o=r(5852);var l=r(46103);var u=r(28497);function replaceWithMultiple(e){var t;this.resync();e=this._verifyNodeList(e);l.inheritLeadingComments(e[0],this.node);l.inheritTrailingComments(e[e.length-1],this.node);(t=a.path.get(this.parent))==null?void 0:t.delete(this.node);this.node=this.container[this.key]=null;const r=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return r}function replaceWithSourceString(e){this.resync();try{e=`(${e})`;e=(0,o.parse)(e)}catch(t){const r=t.loc;if(r){t.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}});t.code="BABEL_REPLACE_SOURCE_ERROR"}throw t}e=e.program.body[0].expression;i.default.removeProperties(e);return this.replaceWith(e)}function replaceWith(e){this.resync();if(this.removed){throw new Error("You can't replace this node, we've already removed it")}if(e instanceof s.default){e=e.node}if(!e){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===e){return[this]}if(this.isProgram()&&!l.isProgram(e)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(e)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof e==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let t="";if(this.isNodeType("Statement")&&l.isExpression(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)&&!this.parentPath.isExportDefaultDeclaration()){e=l.expressionStatement(e);t="expression"}}if(this.isNodeType("Expression")&&l.isStatement(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)){return this.replaceExpressionWithStatements([e])}}const r=this.node;if(r){l.inheritsComments(e,r);l.removeComments(r)}this._replaceWith(e);this.type=e.type;this.setScope();this.requeue();return[t?this.get(t):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){l.validate(this.parent,this.key,[e])}else{l.validate(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=a.path.get(this.parent))==null?void 0:t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){this.resync();const t=l.toSequenceExpression(e,this.scope);if(t){return this.replaceWith(t)[0].get("expressions")}const r=this.getFunctionParent();const n=r==null?void 0:r.is("async");const s=r==null?void 0:r.is("generator");const a=l.arrowFunctionExpression([],l.blockStatement(e));this.replaceWith(l.callExpression(a,[]));const o=this.get("callee");(0,u.default)(o.get("body"),e=>{this.scope.push({id:e})},"var");const p=this.get("callee").getCompletionRecords();for(const e of p){if(!e.isExpressionStatement())continue;const t=e.findParent(e=>e.isLoop());if(t){let r=t.getData("expressionReplacementReturnUid");if(!r){r=o.scope.generateDeclaredUidIdentifier("ret");o.get("body").pushContainer("body",l.returnStatement(l.cloneNode(r)));t.setData("expressionReplacementReturnUid",r)}else{r=l.identifier(r.name)}e.get("expression").replaceWith(l.assignmentExpression("=",l.cloneNode(r),e.node.expression))}else{e.replaceWith(l.returnStatement(e.node.expression))}}o.arrowFunctionToExpression();const c=o;const f=n&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",l.FUNCTION_TYPES);const d=s&&i.default.hasType(this.get("callee.body").node,"YieldExpression",l.FUNCTION_TYPES);if(f){c.set("async",true);if(!d){this.replaceWith(l.awaitExpression(this.node))}}if(d){c.set("generator",true);this.replaceWith(l.yieldExpression(this.node,true))}return c.get("body.body")}function replaceInline(e){this.resync();if(Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},66406:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Binding{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0;this.scope=void 0;this.path=void 0;this.kind=void 0;this.constantViolations=[];this.constant=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=r;this.kind=n;this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.indexOf(e)!==-1){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.indexOf(e)!==-1){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t.default=Binding},92490:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70554);var i=r(64316);var s=r(66406);var a=r(41389);var o=r(46103);var l=r(79105);function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(o.isModuleDeclaration(e)){if((o.isExportAllDeclaration(e)||o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.source){gatherNodeParts(e.source,t)}else if((o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.specifiers&&e.specifiers.length){for(const r of e.specifiers)gatherNodeParts(r,t)}else if((o.isExportDefaultDeclaration(e)||o.isExportNamedDeclaration(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(o.isModuleSpecifier(e)){gatherNodeParts(e.local,t)}else if(o.isLiteral(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const r of e.properties){gatherNodeParts(r,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":t.push(e.name);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}const u={For(e){for(const t of o.FOR_INIT_KEYS){const r=e.get(t);if(r.isVar()){const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerBinding("var",r)}}},Declaration(e){if(e.isBlockScoped())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier()){t.constantViolations.push(e)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(o.isExportAllDeclaration(t))return;const n=t.declaration;if(o.isClassDeclaration(n)||o.isFunctionDeclaration(n)){const t=n.id;if(!t)return;const i=r.getBinding(t.name);if(i)i.reference(e)}else if(o.isVariableDeclaration(n)){for(const t of n.declarations){for(const n of Object.keys(o.getBindingIdentifiers(t))){const t=r.getBinding(n);if(t)t.reference(e)}}}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const r=t.getBlockParent();r.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){if(e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e.get("id"),e)}const t=e.get("params");for(const r of t){e.scope.registerBinding("param",r)}},ClassExpression(e){if(e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e)}}};let p=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.labels=void 0;this.inited=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const r=l.scope.get(t);if((r==null?void 0:r.path)===e){return r}l.scope.set(t,this);this.uid=p++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,r=this.path;do{const e=r.key==="key";r=r.parentPath;if(e&&r.isMethod())r=r.parentPath;if(r&&r.isScope())t=r}while(r&&!t);return(e=t)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,i.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return o.cloneNode(t)}generateUidIdentifier(e){return o.identifier(this.generateUid(e))}generateUid(e="temp"){e=o.toIdentifier(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let t;let r=1;do{t=this._generateUid(e,r);r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();n.references[t]=true;n.uids[t]=true;return t}_generateUid(e,t){let r=e;if(t>1)r+=t;return`_${r}`}generateUidBasedOnNode(e,t){const r=[];gatherNodeParts(e,r);let n=r.join("$");n=n.replace(/^_/,"")||t||"ref";return this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return o.identifier(this.generateUidBasedOnNode(e,t))}isStatic(e){if(o.isThisExpression(e)||o.isSuper(e)){return true}if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const r=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:r});return o.cloneNode(r)}return r}}checkBlockScopedCollisions(e,t,r,n){if(t==="param")return;if(e.kind==="local")return;const i=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&(t==="let"||t==="const");if(i){throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}}rename(e,t,r){const i=this.getBinding(e);if(i){t=t||this.generateUidIdentifier(e).name;return new n.default(i,e,t).rename(r)}}_renameFromMap(e,t,r,n){if(e[t]){e[r]=n;e[t]=null}}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,r){if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(o.isArrayExpression(e)){return e}if(o.isIdentifier(e,{name:"arguments"})){return o.callExpression(o.memberExpression(o.memberExpression(o.memberExpression(o.identifier("Array"),o.identifier("prototype")),o.identifier("slice")),o.identifier("call")),[e])}let n;const i=[e];if(t===true){n="toConsumableArray"}else if(t){i.push(o.numericLiteral(t));n="slicedToArray"}else{n="toArray"}if(r){i.unshift(this.hub.addHelper(n));n="maybeArrayLike"}return o.callExpression(this.hub.addHelper(n),i)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement()){this.registerLabel(e)}else if(e.isFunctionDeclaration()){this.registerBinding("hoisted",e.get("id"),e)}else if(e.isVariableDeclaration()){const t=e.get("declarations");for(const r of t){this.registerBinding(e.node.kind,r)}}else if(e.isClassDeclaration()){this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.get("specifiers");for(const e of t){this.registerBinding("module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return o.unaryExpression("void",o.numericLiteral(0),true)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const t=this.getBinding(r);if(t)t.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r){this.registerBinding(e,t)}return}const n=this.getProgramParent();const i=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(i)){n.references[t]=true;for(const n of i[t]){const i=this.getOwnBinding(t);if(i){if(i.identifier===n)continue;this.checkBlockScopedCollisions(i,e,t,n)}if(i){this.registerConstantViolation(r)}else{this.bindings[t]=new s.default({identifier:n,scope:this,path:r,kind:e})}}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(o.isIdentifier(e)){const r=this.getBinding(e.name);if(!r)return false;if(t)return r.constant;return true}else if(o.isClass(e)){if(e.superClass&&!this.isPure(e.superClass,t)){return false}return this.isPure(e.body,t)}else if(o.isClassBody(e)){for(const r of e.body){if(!this.isPure(r,t))return false}return true}else if(o.isBinary(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(o.isArrayExpression(e)){for(const r of e.elements){if(!this.isPure(r,t))return false}return true}else if(o.isObjectExpression(e)){for(const r of e.properties){if(!this.isPure(r,t))return false}return true}else if(o.isMethod(e)){if(e.computed&&!this.isPure(e.key,t))return false;if(e.kind==="get"||e.kind==="set")return false;return true}else if(o.isProperty(e)){if(e.computed&&!this.isPure(e.key,t))return false;return this.isPure(e.value,t)}else if(o.isUnaryExpression(e)){return this.isPure(e.argument,t)}else if(o.isTaggedTemplateExpression(e)){return o.matchesPattern(e.tag,"String.raw")&&!this.hasBinding("String",true)&&this.isPure(e.quasi,t)}else if(o.isTemplateLiteral(e)){for(const r of e.expressions){if(!this.isPure(r,t))return false}return true}else{return o.isPureish(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(r!=null)return r}while(t=t.parent)}removeData(e){let t=this;do{const r=t.data[e];if(r!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;this.references=Object.create(null);this.bindings=Object.create(null);this.globals=Object.create(null);this.uids=Object.create(null);this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const r={references:[],constantViolations:[],assignments:[]};this.crawling=true;if(e.type!=="Program"&&u._exploded){for(const t of u.enter){t(e,r)}const t=u[e.type];if(t){for(const n of t.enter){n(e,r)}}}e.traverse(u,r);this.crawling=false;for(const e of r.assignments){const r=e.getBindingIdentifiers();for(const n of Object.keys(r)){if(e.scope.getBinding(n))continue;t.addGlobal(r[n])}e.scope.registerConstantViolation(e)}for(const e of r.references){const r=e.scope.getBinding(e.node.name);if(r){r.reference(e)}else{t.addGlobal(e.node)}}for(const e of r.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const r=e.unique;const n=e.kind||"var";const i=e._blockHoist==null?2:e._blockHoist;const s=`declaration:${n}:${i}`;let a=!r&&t.getData(s);if(!a){const e=o.variableDeclaration(n,[]);e._blockHoist=i;[a]=t.unshiftContainer("body",[e]);if(!r)t.setData(s,a)}const l=o.variableDeclarator(e.id,e.init);a.node.declarations.push(l);this.registerBinding(n,a.get("declarations").pop())}getProgramParent(){let e=this;do{if(e.path.isProgram()){return e}}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent()){return e}}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent()){return e}}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const r of Object.keys(t.bindings)){if(r in e===false){e[r]=t.bindings[r]}}t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const i=e.bindings[n];if(i.kind===r)t[n]=i}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let r;do{const i=t.getOwnBinding(e);if(i){var n;if((n=r)!=null&&n.isPattern()&&i.kind!=="param"){}else{return i}}r=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return false;if(this.hasOwnBinding(e))return true;if(this.parentHasBinding(e,t))return true;if(this.hasUid(e))return true;if(!t&&Scope.globals.includes(e))return true;if(!t&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);if(r){r.scope.removeOwnBinding(e);r.scope=t;t.bindings[e]=r}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null?void 0:t.scope.removeOwnBinding(e);let r=this;do{if(r.uids[e]){r.uids[e]=false}}while(r=r.parent)}}t.default=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},70554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(66406);var i=r(76729);var s=r(46103);const a={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){skipAllButComputedMethodKey(e)}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.getOuterBindingIdentifiers();for(const e in r){if(e===t.oldName)r[e].name=t.newName}}};class Renamer{constructor(e,t,r){this.newName=r;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()&&!t.get("declaration").node.id){return}(0,i.default)(t)}maybeConvertFromClassFunctionDeclaration(e){return;if(!e.isFunctionDeclaration()&&!e.isClassDeclaration())return;if(this.binding.kind!=="hoisted")return;e.node.id=s.identifier(this.oldName);e.node._blockHoist=3;e.replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.identifier(this.newName),s.toExpression(e.node))]))}maybeConvertFromClassFunctionExpression(e){return;if(!e.isFunctionExpression()&&!e.isClassExpression())return;if(this.binding.kind!=="local")return;e.node.id=s.identifier(this.oldName);this.binding.scope.parent.push({id:s.identifier(this.newName)});e.replaceWith(s.assignmentExpression("=",s.identifier(this.newName),e.node))}rename(e){const{binding:t,oldName:r,newName:n}=this;const{scope:i,path:s}=t;const o=s.find(e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression());if(o){const e=o.getOuterBindingIdentifiers();if(e[r]===t.identifier){this.maybeConvertFromExportDeclaration(o)}}const l=e||i.block;if((l==null?void 0:l.type)==="SwitchStatement"){l.cases.forEach(e=>{i.traverse(e,a,this)})}else{i.traverse(l,a,this)}if(!e){i.removeOwnBinding(r);i.bindings[n]=t;this.binding.identifier.name=n}if(o){this.maybeConvertFromClassFunctionDeclaration(o);this.maybeConvertFromClassFunctionExpression(o)}}}t.default=Renamer;function skipAllButComputedMethodKey(e){if(!e.isMethod()||!e.node.computed){e.skip();return}const t=s.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}},58680:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.explode=explode;t.verify=verify;t.merge=merge;var n=r(27218);var i=r(46103);function explode(e){if(e._exploded)return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=t.split("|");if(r.length===1)continue;const n=e[t];delete e[t];for(const t of r){e[t]=n}}verify(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=n[t];if(!r)continue;const i=e[t];for(const e of Object.keys(i)){i[e]=wrapCheck(r,i[e])}delete e[t];if(r.types){for(const t of r.types){if(e[t]){mergePair(e[t],i)}else{e[t]=i}}}else{mergePair(e,i)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];let n=i.FLIPPED_ALIAS_KEYS[t];const s=i.DEPRECATED_KEYS[t];if(s){console.trace(`Visitor defined for ${t} but it has been renamed to ${s}`);n=[s]}if(!n)continue;delete e[t];for(const t of n){const n=e[t];if(n){mergePair(n,r)}else{e[t]=Object.assign({},r)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify(e){if(e._verified)return;if(typeof e==="function"){throw new Error("You passed `traverse()` a function when it expected a visitor object, "+"are you sure you didn't mean `{ enter: Function }`?")}for(const t of Object.keys(e)){if(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(i.TYPES.indexOf(t)<0){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`)}const r=e[t];if(typeof r==="object"){for(const e of Object.keys(r)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,r[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const r=[].concat(t);for(const t of r){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],r){const n={};for(let i=0;ie.toString())}return n});n[i]=s}return n}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];if(typeof r==="function"){e[t]={enter:r}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const r=function(r){if(e.checkPath(r)){return t.apply(this,arguments)}};r.toString=(()=>t.toString());return r}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"){return true}return false}function mergePair(e,t){for(const r of Object.keys(t)){e[r]=[].concat(e[r]||[],t[r])}}},3320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(6954);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},61649:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(52246);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},32649:()=>{},23266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(1375);var i=r(68641);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(70820);var i=r(91477);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},41207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(70820);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},70820:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(23266);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},92996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(70820)},48364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(15924);var i=r(72631);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(70820);var i=r(70353);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},40884:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(85474);function clone(e){return(0,n.default)(e,false)}},63246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(85474);function cloneDeep(e){return(0,n.default)(e)}},65590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(85474);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},85474:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(1375);var i=r(15924);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},52009:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(85474);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},73352:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(41286);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},41286:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},83515:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(6733);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},27275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(6733);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},40482:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(6733);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},20352:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(40482);var i=r(27275);var s=r(83515);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},89775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(47332);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},40969:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(1375);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},47332:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},94285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(45439);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},8377:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(59588);var i=r(15924);var s=r(70820);var a=r(85474);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},32250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(42362);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},45439:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(15924);var i=r(70820);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},10338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(15924);var i=r(70820);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},30051:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(15924);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},42362:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(20795);var i=r(34584);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},82566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(15924);var i=r(85474);var s=r(6569);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},32828:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(8377);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},62330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(15924);var i=r(70820);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},32014:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20795);var i=r(70820);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},60848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(52246);var i=r(20795);var s=r(34584);var a=r(47332);var o=r(16837);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},17322:(e,t,r)=>{"use strict";var n=r(16837);var i=r(60848);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},95454:(e,t,r)=>{"use strict";var n=r(16837);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:false},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"))}})},1375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(60848);r(95454);r(59359);r(54873);r(17322);r(59599);var i=r(16837);var s=r(55462);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},59359:(e,t,r)=>{"use strict";var n=r(16837);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},54873:(e,t,r)=>{"use strict";var n=r(16837);var i=r(55462);{(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")}}})},55462:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(16837);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},59599:(e,t,r)=>{"use strict";var n=r(16837);var i=r(60848);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},16837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(52246);var i=r(68641);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},46103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(99003);var s=r(80495);var a=r(48364);var o=r(3320);var l=r(61649);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(41207);var p=r(67569);var c=r(62183);var f=r(70820);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(92996);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(85474);var h=r(40884);var m=r(63246);var T=r(65590);var S=r(52009);var b=r(73352);var E=r(41286);var g=r(83515);var x=r(27275);var P=r(20352);var A=r(40482);var v=r(89775);var O=r(40969);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(47332);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(94285);var D=r(32250);var N=r(45439);var C=r(10338);var j=r(30051);var _=r(42362);var L=r(82566);var k=r(32828);var B=r(62330);var M=r(32014);var F=r(1375);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(83692);var K=r(16050);var V=r(91486);var U=r(90115);var X=r(6569);var J=r(91477);var Y=r(59588);var W=r(77557);var q=r(74617);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(22099);var H=r(45979);var G=r(52246);var $=r(69926);var Q=r(439);var Z=r(45341);var ee=r(34246);var te=r(6954);var re=r(6724);var ne=r(52592);var ie=r(5163);var se=r(90600);var ae=r(52435);var oe=r(26126);var le=r(90044);var ue=r(20795);var pe=r(91578);var ce=r(41132);var fe=r(68641);var de=r(46042);var ye=r(15924);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(32649);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},83692:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(70820);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},91477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(15924);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},16050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(47332);var i=r(20352);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},91486:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(70820);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},90115:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(47332);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},6569:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(22099);var i=r(90115);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},70353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(15924);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},59588:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(15924);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(59588);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},74617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(1375);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(1375);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},6733:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},72631:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(70820);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},46042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(41132);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},15924:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(45979);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},52246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(45979);var i=r(26126);var s=r(52592);var a=r(1375);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},69926:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(59588);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},439:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(15924);var i=r(34246);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},45341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(26126);var i=r(15924);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},34246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(15924);var i=r(47332);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},6954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(1375);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},6724:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(1375);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(1375);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},5163:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},90600:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(15924);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},52435:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(15924);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},26126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(1375);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},90044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(20795);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},20795:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(34584);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},91578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(15924);var i=r(47332);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},41132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(15924);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},99003:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(46042);const i=(0,n.default)("React.Component");var s=i;t.default=s},68641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(1375);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},68749:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(57836);var i=r(18341);var s=r(62248);var a=r(7651);var o=r(42604);var l=(0,n.declare)((e,t)=>{var r,n,l;e.assertVersion(7);const u=(0,o.createDynamicImportTransform)(e);const{strictNamespace:p=false,mjsStrictNamespace:c=true,allowTopLevelThis:f,strict:d,strictMode:y,noInterop:h,importInterop:m,lazy:T=false,allowCommonJSExports:S=true}=t;const b=(r=e.assumption("constantReexports"))!=null?r:t.loose;const E=(n=e.assumption("enumerableModuleMeta"))!=null?n:t.loose;const g=(l=e.assumption("noIncompleteNsImportDetection"))!=null?l:false;if(typeof T!=="boolean"&&typeof T!=="function"&&(!Array.isArray(T)||!T.every(e=>typeof e==="string"))){throw new Error(`.lazy must be a boolean, array of strings, or a function`)}if(typeof p!=="boolean"){throw new Error(`.strictNamespace must be a boolean, or undefined`)}if(typeof c!=="boolean"){throw new Error(`.mjsStrictNamespace must be a boolean, or undefined`)}const x=e=>a.template.expression.ast` + (function(){ + throw new Error( + "The CommonJS '" + "${e}" + "' variable is not available in ES6 modules." + + "Consider setting setting sourceType:script or sourceType:unambiguous in your " + + "Babel config for this file."); + })() + `;const P={ReferencedIdentifier(e){const t=e.node.name;if(t!=="module"&&t!=="exports")return;const r=e.scope.getBinding(t);const n=this.scope.getBinding(t);if(n!==r||e.parentPath.isObjectProperty({value:e.node})&&e.parentPath.parentPath.isObjectPattern()||e.parentPath.isAssignmentExpression({left:e.node})||e.isAssignmentExpression({left:e.node})){return}e.replaceWith(x(t))},AssignmentExpression(e){const t=e.get("left");if(t.isIdentifier()){const t=e.node.name;if(t!=="module"&&t!=="exports")return;const r=e.scope.getBinding(t);const n=this.scope.getBinding(t);if(n!==r)return;const i=e.get("right");i.replaceWith(a.types.sequenceExpression([i.node,x(t)]))}else if(t.isPattern()){const r=t.getOuterBindingIdentifiers();const n=Object.keys(r).filter(t=>{if(t!=="module"&&t!=="exports")return false;return this.scope.getBinding(t)===e.scope.getBinding(t)})[0];if(n){const t=e.get("right");t.replaceWith(a.types.sequenceExpression([t.node,x(n)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs")},visitor:{CallExpression(e){if(!this.file.has("@babel/plugin-proposal-dynamic-import"))return;if(!e.get("callee").isImport())return;let{scope:t}=e;do{t.rename("require")}while(t=t.parent);u(this,e.get("callee"))},Program:{exit(e,r){if(!(0,i.isModule)(e))return;e.scope.rename("exports");e.scope.rename("module");e.scope.rename("require");e.scope.rename("__filename");e.scope.rename("__dirname");if(!S){(0,s.default)(e,new Set(["module","exports"]));e.traverse(P,{scope:e.scope})}let n=(0,i.getModuleName)(this.file.opts,t);if(n)n=a.types.stringLiteral(n);const{meta:o,headers:l}=(0,i.rewriteModuleStatementsAndPrepareHeader)(e,{exportName:"exports",constantReexports:b,enumerableModuleMeta:E,strict:d,strictMode:y,allowTopLevelThis:f,noInterop:h,importInterop:m,lazy:T,esNamespaceOnly:typeof r.filename==="string"&&/\.mjs$/.test(r.filename)?c:p,noIncompleteNsImportDetection:g});for(const[t,r]of o.source){const n=a.types.callExpression(a.types.identifier("require"),[a.types.stringLiteral(t)]);let s;if((0,i.isSideEffectImport)(r)){if(r.lazy)throw new Error("Assertion failure");s=a.types.expressionStatement(n)}else{const t=(0,i.wrapInterop)(e,n,r.interop)||n;if(r.lazy){s=a.template.ast` + function ${r.name}() { + const data = ${t}; + ${r.name} = function(){ return data; }; + return data; + } + `}else{s=a.template.ast` + var ${r.name} = ${t}; + `}}s.loc=r.loc;l.push(s);l.push(...(0,i.buildNamespaceInitStatements)(o,r,b))}(0,i.ensureStatementsHoisted)(l);e.unshiftContainer("body",l)}}}}});t.default=l},90617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(88984);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const s=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},n,e.end);const{linesAbove:s=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=i.line;const p=i.column;let c=Math.max(o-(s+1),0);let f=Math.min(t.length,u+a);if(o===-1){c=0}if(u===-1){f=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:c,end:f,markerLines:y}}function codeFrameColumns(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const u=e.split(s);const{start:p,end:c,markerLines:f}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(c).length;const h=i?(0,n.default)(e,r):e;let m=h.split(s).slice(p,c).map((e,t)=>{const n=p+1+t;const i=` ${n}`.slice(-y);const s=` ${i} |`;const a=f[n];const u=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,s.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(i)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,s),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,s)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){m=`${" ".repeat(y+1)}${r.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}},79419:(e,t,r)=>{e.exports=r(71604)},48935:(e,t,r)=>{e.exports=r(28640)},93861:()=>{},90258:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(75581);var i=r(11954);const s=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return s(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return s(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const s=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const u=l?s:r;const p=yield*getCachedValueOrWait(l,u,a,e,o);if(p.valid)return p.value;const c=new CacheConfigurator(o);const f=t(e,c);let d;let y;if((0,i.isIterableIterator)(f)){const t=f;y=yield*(0,n.onFirstPause)(t,()=>{d=setupAsyncLocks(c,a,e)})}else{y=f}updateFunctionCache(u,c,e,y);if(d){a.delete(e);d.release(y)}return y}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,i,s){const a=yield*getCachedValue(t,i,s);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,i,s);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let i=e.get(r);t.deactivate();switch(t.mode()){case"forever":i=[{value:n,valid:genTrue}];e.set(r,i);break;case"invalidate":i=[{value:n,valid:t.validator()}];e.set(r,i);break;case"valid":if(i){i.push({value:n,valid:t.validator()})}else{i=[{value:n,valid:t.validator()}];e.set(r,i)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then(e=>{this._pairs.push([e,r]);return e})}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},92076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}var n=r(90727);var i=r(9175);var s=r(75379);var a=r(71120);var o=r(90258);var l=r(58945);const u=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*p(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>c(e),env:(e,t)=>f(e)(t),overrides:(e,t)=>d(e)(t),overridesEnv:(e,t,r)=>y(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const c=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const f=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const y=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,r))));function*buildRootChain(e,t){let r,n;const i=new s.ConfigPrinter;const o=yield*S({options:e,dirname:t.cwd},t,undefined,i);if(!o)return null;const l=yield*i.output();let u;if(typeof e.configFile==="string"){u=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){u=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:c}=e;let f=t.cwd;const d=emptyChain();const y=new s.ConfigPrinter;if(u){const e=h(u);const n=yield*loadFileChain(e,t,undefined,y);if(!n)return null;r=yield*y.output();if(p===undefined){p=e.options.babelrc}if(c===undefined){f=e.dirname;c=e.options.babelrcRoots}mergeChain(d,n)}let T,b;let E=false;const g=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,c,f)){({ignore:T,config:b}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(T){g.files.add(T.filepath)}if(T&&shouldIgnore(t,T.ignore,null,T.dirname)){E=true}if(b&&!E){const e=m(b);const r=new s.ConfigPrinter;const i=yield*loadFileChain(e,t,undefined,r);if(!i){E=true}else{n=yield*r.output();mergeChain(g,i)}}if(b&&E){g.files.add(b.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const x=mergeChain(mergeChain(mergeChain(emptyChain(),d),g),o);return{plugins:E?[]:dedupDescriptors(x.plugins),presets:E?[]:dedupDescriptors(x.presets),options:E?[]:x.options.map(e=>normalizeOptions(e)),fileHandling:E?"ignored":"transpile",ignore:T||undefined,babelrc:b||undefined,config:u||undefined,files:x.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const s=e.root;if(r===undefined){return t.directories.indexOf(s)!==-1}let a=r;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(n,e):e});if(a.length===1&&a[0]===s){return t.directories.indexOf(s)!==-1}return a.some(r=>{if(typeof r==="string"){r=(0,i.default)(r,n)}return t.directories.some(t=>{return matchPattern(r,n,t,e)})})}const h=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options)}));const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options)}));const T=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options)}));const S=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const b=makeChainWalker({root:e=>E(e),env:(e,t)=>g(e)(t),overrides:(e,t)=>x(e)(t),overridesEnv:(e,t,r)=>P(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const i=yield*b(e,t,r,n);if(i){i.files.add(e.filepath)}return i}const E=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const g=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const x=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,r))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,s.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,s.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,i){const s=t.env&&t.env[i];return s?n(e,s,`${r}.env["${i}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,i){const s=t.overrides&&t.overrides[i];if(!s)throw new Error("Assertion failure - missing override");return n(e,s,`${r}.overrides[${i}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,i,s){const a=t.overrides&&t.overrides[i];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[s];return o?n(e,o,`${r}.overrides[${i}].env["${s}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:i}){return function*(s,a,o=new Set,l){const{dirname:u}=s;const p=[];const c=e(s);if(configIsApplicable(c,u,a)){p.push({config:c,envName:undefined,index:undefined});const e=t(s,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,envName:a.envName,index:undefined})}(c.options.overrides||[]).forEach((e,t)=>{const i=r(s,t);if(configIsApplicable(i,u,a)){p.push({config:i,index:t,envName:undefined});const e=n(s,t,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,u))){return null}const f=emptyChain();const d=i(s,a,l);for(const{config:e,index:t,envName:r}of p){if(!(yield*mergeExtendsChain(f,e.options,u,a,o,l))){return null}d(e,t,r);yield*mergeChainOpts(f,e)}return f}}function*mergeExtendsChain(e,t,r,n,i,s){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,r,n.envName,n.caller);if(i.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(i,e=>` - ${e.filepath}`).join("\n"))}i.add(o);const l=yield*loadFileChain(T(o),n,i,s);i.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function*mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...yield*r());e.presets.push(...yield*n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let i=t.get(e);if(!i){i=new Map;t.set(e,i)}let s=i.get(n.name);if(!s){s={value:n};r.push(s);if(!n.ownPass)i.set(n.name,s)}else{s.value=n}}else{r.push({value:n})}}return r.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,r){return(e.test===undefined||configFieldIsApplicable(r,e.test,t))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t))}function configFieldIsApplicable(e,t,r){const n=Array.isArray(t)?t:[t];return matchesPatterns(e,n,r)}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var i;const r=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${n}"`;u(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var s;const t=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r)}\` from "${n}"`;u(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r){return t.some(t=>matchPattern(t,r,e.filename,e))}function matchPattern(e,t,r,n){if(typeof e==="function"){return!!e(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,i.default)(e,t)}return e.test(r)}},58945:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(71120);var i=r(75349);var s=r(90258);var a=r(27690);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,r){const{plugins:n,presets:i,passPerPreset:s}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:n?()=>p(n,e)(r):()=>handlerOf([]),presets:i?()=>l(i,e)(r)(!!s):()=>handlerOf([])}}function createUncachedDescriptors(e,t,r){let n;let i;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!n){n=yield*createPluginDescriptors(t.plugins||[],e,r)}return n},*presets(){if(!i){i=yield*createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)}return i}}}const o=new WeakMap;const l=(0,s.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,s.makeStrongCacheSync)(t=>(0,s.makeStrongCache)(function*(n){const i=yield*createPresetDescriptors(e,r,t,n);return i.map(e=>loadCachedDescriptor(o,e))}))});const u=new WeakMap;const p=(0,s.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,s.makeStrongCache)(function*(t){const n=yield*createPluginDescriptors(e,r,t);return n.map(e=>loadCachedDescriptor(u,e))})});const c={};function loadCachedDescriptor(e,t){const{value:r,options:n=c}=t;if(n===false)return t;let i=e.get(r);if(!i){i=new WeakMap;e.set(r,i)}let s=i.get(n);if(!s){s=[];i.set(n,s)}if(s.indexOf(t)===-1){const e=s.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}s.push(t)}return t}function*createPresetDescriptors(e,t,r,n){return yield*createDescriptors("preset",e,t,r,n)}function*createPluginDescriptors(e,t,r){return yield*createDescriptors("plugin",e,t,r)}function*createDescriptors(e,t,r,n,i){const s=yield*_gensync().all(t.map((t,s)=>createDescriptor(t,r,{type:e,alias:`${n}$${s}`,ownPass:!!i})));assertNoDuplicates(s);return s}function*createDescriptor(e,t,{type:r,alias:s,ownPass:a}){const o=(0,i.getItemDescriptor)(e);if(o){return o}let l;let u;let p=e;if(Array.isArray(p)){if(p.length===3){[p,u,l]=p}else{[p,u]=p}}let c=undefined;let f=null;if(typeof p==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?n.loadPlugin:n.loadPreset;const i=p;({filepath:f,value:p}=yield*e(p,t));c={request:i,resolved:f}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(f!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${f}`)}return{name:l,alias:f||s,value:p,options:u,dirname:t,ownPass:a,file:c}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter(e=>e.value===r.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}},35244:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _json(){const e=r(33170);_json=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(90258);var i=r(15113);var s=r(81383);var a=r(67365);var o=r(9175);var l=r(30420);function _module(){const e=r(32282);_module=function(){return e};return e}const u=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const c=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const f=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let i=null;const s=_path().dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(c,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?h(e.pkg):null)}if(!i){const e=_path().join(o,f);i=yield*T(e);if(i){u("Found ignore %o from %o.",i.filepath,s)}}}return{config:n,ignore:i}}function findRootConfig(e,t,r){return loadOneConfig(p,e,t,r)}function*loadOneConfig(e,t,r,n,i=null){const s=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),r,n)));const a=s.reduce((e,r)=>{if(r&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e},i);if(a){u("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,i){const s=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let i=n._findPath(e,n._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(e,{paths:[t]});const a=yield*readConfig(s,n,i);if(!a){throw new Error(`Config file ${s} contains no configuration data`)}u("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().extname(e);return n===".js"||n===".cjs"||n===".mjs"?y(e,{envName:t,caller:r}):m(e)}const d=new Set;const y=(0,n.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(d.has(e)){t.never();u("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let r;try{d.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{d.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=r((0,i.makeConfigAPI)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof r.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(n&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:r}});const h=(0,n.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const m=(0,s.makeStaticFileCache)((e,t)=>{let r;try{r=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}});const T=(0,s.makeStaticFileCache)((e,t)=>{const r=_path().dirname(e);const n=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of n){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:n.map(e=>(0,o.default)(e,r))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().resolve(e,t);const n=yield*l.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},71450:(e,t,r)=>{"use strict";var n;n={value:true};t.Z=import_;function import_(e){return r(78409)(e)}},71120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return i.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return i.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return i.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return i.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return i.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return i.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return s.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return s.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return s.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return s.loadPreset}});var n=r(31366);var i=r(35244);var s=r(231);({})},67365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var n=r(75581);function _path(){const e=r(85622);_path=function(){return e};return e}function _url(){const e=r(78835);_url=function(){return e};return e}function _module(){const e=r(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,i,s,a){try{var o=e[s](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,i)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var s=e.apply(t,r);function _next(e){asyncGeneratorStep(s,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(s,n,i,_next,_throw,"throw",e)}_next(undefined)})}}let i;try{i=r(71450).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,r=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,r);case"unknown":try{return loadCjsDefault(e,r)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const r=require(e);return r!=null&&r.__esModule?r.default||(t?r:undefined):r}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!i){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield i((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},31366:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(81383);const i="package.json";function*findPackageData(e){let t=null;const r=[];let n=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){r.push(a);t=yield*s(_path().join(a,i));const e=_path().dirname(a);if(a===e){n=false;break}a=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}const s=(0,n.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}})},231:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(67365);function _module(){const e=r(32282);_module=function(){return e};return e}const i=_debug()("babel:config:loading:files:plugins");const s=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const u=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const c=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const f=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const r=resolvePlugin(e,t);if(!r){throw new Error(`Plugin ${e} not found relative to ${t}`)}const n=yield*requireModule("plugin",r);i("Loaded plugin %o from %o.",e,t);return{filepath:r,value:n}}function*loadPreset(e,t){const r=resolvePreset(e,t);if(!r){throw new Error(`Preset ${e} not found relative to ${t}`)}const n=yield*requireModule("preset",r);i("Loaded preset %o from %o.",e,t);return{filepath:r,value:n}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const r=e==="preset";return t.replace(r?o:a,`babel-${e}-`).replace(r?u:l,`$1${e}-`).replace(r?c:p,`$1babel-${e}-`).replace(f,`$1/babel-${e}`).replace(s,"")}function resolveStandardizedName(e,t,n=process.cwd()){const i=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let i=n._findPath(e,n._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(i,{paths:[n]})}catch(s){if(s.code!=="MODULE_NOT_FOUND")throw s;if(i!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let i=n._findPath(e,n._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(t,{paths:[n]});e=true}catch(e){}if(e){s.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let i=n._findPath(e,n._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(e,"@babel/"+t),{paths:[n]});a=true}catch(e){}if(a){s.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let i=n._findPath(e,n._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(l,t),{paths:[n]});o=true}catch(e){}if(o){s.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw s}}const d=new Set;function*requireModule(e,t){if(d.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{d.add(t);return yield*(0,n.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{d.delete(t)}}},81383:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(90258);var i=r(30420);function _fs2(){const e=r(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,n.makeStrongCache)(function*(t,r){const n=r.invalidate(()=>fileMtime(t));if(n===null){return null}return e(t,yield*i.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},6504:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(75581);var i=r(11954);var s=r(7651);var a=r(78543);var o=r(75349);var l=r(92076);function _traverse(){const e=r(14126);_traverse=function(){return e};return e}var u=r(90258);var p=r(90727);var c=r(42164);var f=r(15113);var d=r(64566);var y=r(93861);var h=_gensync()(function*loadFullConfig(e){var t;const r=yield*(0,d.default)(e);if(!r){return null}const{options:n,context:s,fileHandling:a}=r;if(a==="ignored"){return null}const l={};const{plugins:u,presets:c}=n;if(!u||!c){throw new Error("Assertion failure - plugins and presets exist")}const f=Object.assign({},s,{targets:n.targets});const y=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const h=c.map(y);const m=u.map(y);const T=[[]];const S=[];const b=yield*enhanceError(s,function*recursePresetDescriptors(e,t){const r=[];for(let n=0;n0){T.splice(1,0,...r.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach(e=>{(0,i.mergeOptions)(l,e)})}}})(h,T[0]);if(b)return null;const E=l;(0,i.mergeOptions)(E,n);const g=Object.assign({},f,{assumptions:(t=E.assumptions)!=null?t:{}});yield*enhanceError(s,function*loadPluginDescriptors(){T[0].unshift(...m);for(const e of T){const t=[];S.push(t);for(let r=0;re.length>0).map(e=>({plugins:e}));E.passPerPreset=E.presets.length>0;return{options:E,passes:S}});t.default=h;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const m=e=>(0,u.makeWeakCache)(function*({value:t,options:r,dirname:i,alias:a},o){if(r===false)throw new Error("Assertion failure");r=r||{};let l=t;if(typeof t==="function"){const u=(0,n.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},s,e(o));try{l=yield*u(p,r,i)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,n.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:r,dirname:i,alias:a}});const T=m(f.makePluginAPI);const S=m(f.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*b(yield*T(e,t),t)}const b=(0,u.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:i},s){const o=(0,c.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${i}$inherits`,value:l.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,t=>{return s.invalidate(r=>t(e,r))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,i)});const E=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const g=(e,t,r)=>{if(!t.filename){const{options:t}=e;E(t,r);if(t.overrides){t.overrides.forEach(e=>E(e,r))}}};function*loadPresetDescriptor(e,t){const r=x(yield*S(e,t));g(r,t,e);return yield*(0,l.buildPresetChain)(r,t)}const x=(0,u.makeWeakCacheSync)(({value:e,dirname:t,alias:r})=>{return{options:(0,p.validate)("preset",e),alias:r,dirname:t}});function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}},15113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=r(62519);_semver=function(){return e};return e}var n=r(7651);var i=r(90258);var s=r(93861);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,i.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const r=t=>e.using(e=>(0,i.assertSimpleType)(t(e.caller)));return{version:n.version,cache:e.simple(),env:t,async:()=>false,caller:r,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}},86694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},40152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(6504);var i=r(64566);var s=r(75349);const a=_gensync()(function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null});const o=_gensync()(s.createConfigItem);const l=e=>(t,r)=>{if(r===undefined&&typeof t==="function"){r=t;t=undefined}return r?e.errback(t,r):e.sync(t)};const u=l(i.loadPartialConfig);t.loadPartialConfig=u;const p=i.loadPartialConfig.sync;t.loadPartialConfigSync=p;const c=i.loadPartialConfig.async;t.loadPartialConfigAsync=c;const f=l(a);t.loadOptions=f;const d=a.sync;t.loadOptionsSync=d;const y=a.async;t.loadOptionsAsync=y;const h=o.sync;t.createConfigItemSync=h;const m=o.async;t.createConfigItemAsync=m;function createConfigItem(e,t,r){if(r!==undefined){return o.errback(e,t,r)}else if(typeof t==="function"){return o.errback(e,undefined,r)}else{return o.sync(e,t)}}},75349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(58945);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:r}={}){const i=yield*(0,n.createDescriptor)(e,_path().resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(i)}function getItemDescriptor(e){if(e!=null&&e[i]){return e._descriptor}return undefined}const i=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[i]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,i,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},64566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(78543);var i=r(11954);var s=r(75349);var a=r(92076);var o=r(86694);var l=r(90727);var u=r(71120);var p=r(27690);const c=["showIgnoredFiles"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var i,s;for(s=0;s=0)continue;r[i]=e[i]}return r}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,u.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,u.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${u.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:c=".",rootMode:f="root",caller:d,cloneInputAst:y=true}=t;const h=_path().resolve(n);const m=resolveRootMode(_path().resolve(h,c),f);const T=typeof t.filename==="string"?_path().resolve(n,t.filename):undefined;const S=yield*(0,u.resolveShowConfigPath)(h);const b={filename:T,cwd:h,root:m,envName:r,caller:d,showConfig:S===T};const E=yield*(0,a.buildRootChain)(t,b);if(!E)return null;const g={assumptions:{}};E.options.forEach(e=>{(0,i.mergeOptions)(g,e)});const x=Object.assign({},g,{targets:(0,p.resolveTargets)(g,m),cloneInputAst:y,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:b.envName,cwd:b.cwd,root:b.root,rootMode:"root",filename:typeof b.filename==="string"?b.filename:undefined,plugins:E.plugins.map(e=>(0,s.createItemFromDescriptor)(e)),presets:E.presets.map(e=>(0,s.createItemFromDescriptor)(e))});return{options:x,context:b,fileHandling:E.fileHandling,ignore:E.ignore,babelrc:E.babelrc,config:E.config,files:E.files}}const f=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,c);r}const i=yield*loadPrivatePartialConfig(e);if(!i)return null;const{options:s,babelrc:a,ignore:o,config:l,fileHandling:u,files:p}=i;if(u==="ignored"&&!t){return null}(s.plugins||[]).forEach(e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(s,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,u,p)});t.loadPartialConfig=f;class PartialConfig{constructor(e,t,r,n,i,s){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=i;this.files=s;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},9175:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=r(85622);_path=function(){return e};return e}const n=`\\${_path().sep}`;const i=`(?:${n}|$)`;const s=`[^${n}]+`;const a=`(?:${s}${n})`;const o=`(?:${s}${i})`;const l=`${a}*?`;const u=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const r=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...r.map((e,t)=>{const p=t===r.length-1;if(e==="**")return p?u:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return s+escapeRegExp(e.slice(1))+(p?i:n)}return escapeRegExp(e)+(p?i:n)})].join(""))}},78543:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,r){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},75379:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n={Programmatic:0,Config:1};t.ChainFormatter=n;const i={title(e,t,r){let i="";if(e===n.Programmatic){i="programmatic options";if(t){i+=" from "+t}}else{i="config "+r}return i},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...yield*e.plugins()];if(r.length){t.plugins=r.map(e=>descriptorToConfig(e))}const n=[...yield*e.presets()];if(n.length){t.presets=[...n].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,i,s)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:i,envName:s})}}static*format(e){let t=i.title(e.type,e.callerName,e.filepath);const r=i.loc(e.index,e.envName);if(r)t+=` ${r}`;const n=yield*i.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},27690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=r(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=r(396);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let r=e.targets;if(typeof r==="string"||Array.isArray(r)){r={browsers:r}}if(r&&r.esmodules){r=Object.assign({},r,{esmodules:"intersect"})}const{browserslistConfigFile:n}=e;let i;let s=false;if(typeof n==="string"){i=n}else{s=n===false}return(0,_helperCompilationTargets().default)(r,{ignoreBrowserslistConfig:s,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}},11954:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const r of Object.keys(t)){if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){const n=t[r];const i=e[r]||(e[r]={});mergeDefaultFields(i,n)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},92124:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=r(396);_helperCompilationTargets=function(){return e};return e}var n=r(90727);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const i=r[t];if(i!=null&&typeof i!=="boolean"&&typeof i!=="string"&&typeof i!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertIgnoreItem(access(e,r),t))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertPluginItem(access(e,r),t))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const r=access(e,"browsers");const n=access(e,"esmodules");assertBrowsersList(r,t.browsers);assertBoolean(n,t.esmodules);for(const r of Object.keys(t)){const n=t[r];const i=access(e,r);if(r==="esmodules")assertBoolean(i,n);else if(r==="browsers")assertBrowsersList(i,n);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,r)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(i)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(i,n)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let r=e;do{r=r.parent}while(r.type!=="root");const i=r.source==="preset";for(const r of Object.keys(t)){const s=access(e,r);if(!n.assumptionsNames.has(r)){throw new Error(`${msg(s)} is not a supported assumption.`)}if(typeof t[r]!=="boolean"){throw new Error(`${msg(s)} must be a boolean.`)}if(i&&t[r]===false){throw new Error(`${msg(s)} cannot be set to 'false' inside presets.`)}}return t}},90727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var n=r(78543);var i=r(83022);var s=r(92124);const a={cwd:s.assertString,root:s.assertString,rootMode:s.assertRootMode,configFile:s.assertConfigFileSearch,caller:s.assertCallerMetadata,filename:s.assertString,filenameRelative:s.assertString,code:s.assertBoolean,ast:s.assertBoolean,cloneInputAst:s.assertBoolean,envName:s.assertString};const o={babelrc:s.assertBoolean,babelrcRoots:s.assertBabelrcSearch};const l={extends:s.assertString,ignore:s.assertIgnoreList,only:s.assertIgnoreList,targets:s.assertTargets,browserslistConfigFile:s.assertConfigFileSearch,browserslistEnv:s.assertString};const u={inputSourceMap:s.assertInputSourceMap,presets:s.assertPluginList,plugins:s.assertPluginList,passPerPreset:s.assertBoolean,assumptions:s.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:s.assertConfigApplicableTest,include:s.assertConfigApplicableTest,exclude:s.assertConfigApplicableTest,retainLines:s.assertBoolean,comments:s.assertBoolean,shouldPrintComment:s.assertFunction,compact:s.assertCompact,minified:s.assertBoolean,auxiliaryCommentBefore:s.assertString,auxiliaryCommentAfter:s.assertString,sourceType:s.assertSourceType,wrapPluginVisitorMethod:s.assertFunction,highlightCode:s.assertBoolean,sourceMaps:s.assertSourceMaps,sourceMap:s.assertSourceMaps,sourceFileName:s.assertString,sourceRoot:s.assertString,parserOpts:s.assertObject,generatorOpts:s.assertObject};{Object.assign(u,{getModuleId:s.assertFunction,moduleRoot:s.assertString,moduleIds:s.assertBoolean,moduleId:s.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(n=>{const i={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,s.msg)(i)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,s.msg)(i)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,s.msg)(i)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,s.msg)(i)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=u[n]||l[n]||o[n]||a[n]||throwUnknownError;p(i,t[n])});return t}function throwUnknownError(e){const t=e.name;if(i.default[t]){const{message:r,version:n=5}=i.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,s.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,s.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,s.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,s.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const i=(0,s.assertObject)((0,s.access)(e,t),n[t]);if(!i)continue;const a={type:"env",name:t,parent:r};validateNested(a,i)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,s.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,s.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,s.assertArray)(e,t);if(n){for(const[t,i]of n.entries()){const n=(0,s.access)(e,t);const a=(0,s.assertObject)(n,i);if(!a)throw new Error(`${(0,s.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const i=e[t-1];const s=e[t];if(i.file&&i.options===undefined&&typeof s.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}s": [\n ["${i.file.request}", ${JSON.stringify(s.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}},42164:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(92124);const i={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach(e=>assertVisitorHandler(e,r[e]));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(r=>{const n=i[r];if(n){const i={type:"option",name:r,parent:t};n(i,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},83022:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=r},75581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=e=>e;const i=_gensync()(function*(e){return yield*e});const s=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=s;function maybeAsync(e,t){return _gensync()({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const r=_gensync()(e);return a(e=>{const n=r[e];return t(n)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return i.sync(e)},errback:function(e,t,r){let n=false;i.errback(e,(e,t)=>{n=true;r(e,t)});if(!n){t()}}});t.onFirstPause=o;const l=_gensync()({sync:n,async:n});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},30420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=n;const i=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=i},7651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return s.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return s.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return u.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return u.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return u.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return c.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return c.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return c.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var n=r(56407);var i=r(12946);var s=r(71120);var a=r(86694);function _types(){const e=r(30315);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(56852);_parser=function(){return e};return e}function _traverse(){const e=r(14126);_traverse=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}var o=r(40152);var l=r(3e4);var u=r(23897);var p=r(2591);var c=r(65521);const f="7.15.0";t.version=f;const d=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=d;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},65521:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(40152);var i=r(66822);var s=r(30709);const a=_gensync()(function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,i.default)(r.passes,(0,s.default)(r),e)});const o=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return a.sync(e,t);a.errback(e,t,r)};t.parse=o;const l=a.sync;t.parseSync=l;const u=a.async;t.parseAsync=u},66822:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=r(56852);_parser=function(){return e};return e}function _codeFrame(){const e=r(90617);_codeFrame=function(){return e};return e}var n=r(5790);function*parser(e,{parserOpts:t,highlightCode:r=true,filename:i="unknown"},s){try{const a=[];for(const r of e){for(const e of r){const{parserOverride:r}=e;if(r){const e=r(s,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(s,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(s,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${i}: `+(0,n.default)(a[0],t,o)}else{e.message=`${i}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},5790:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const r={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};r.privateIn.syntax=r.privateIn.transform;const n=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,i){let s=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+i;const a=r[e];if(a){const{syntax:e,transform:t}=a;if(e){const r=n(e);if(t){const e=n(t);const i=t.name.startsWith("@babel/plugin")?"plugins":"presets";s+=`\n\nAdd ${e} to the '${i}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{s+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return s}},12946:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=_default;function helpers(){const e=n(19219);helpers=function(){return e};return e}function _generator(){const e=n(43187);_generator=function(){return e};return e}function _template(){const e=n(36900);_template=function(){return e};return e}function t(){const e=n(30315);t=function(){return e};return e}var i=n(56407);const s=e=>(0,_template().default)` (function (root, factory) { if (typeof define === "function" && define.amd) { define(AMD_ARGUMENTS, factory); @@ -1943,167 +2056,70 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m })(UMD_ROOT, function (FACTORY_PARAMETERS) { FACTORY_BODY }); - `(e);function buildGlobal(e){const r=t().identifier("babelHelpers");const n=[];const s=t().functionExpression(null,[t().identifier("global")],t().blockStatement(n));const i=t().program([t().expressionStatement(t().callExpression(s,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),r),t().objectExpression([])))]));buildHelpers(n,r,e);return i}function buildModule(e){const r=[];const n=buildHelpers(r,null,e);r.unshift(t().exportNamedDeclaration(null,Object.keys(n).map(e=>{return t().exportSpecifier(t().cloneNode(n[e]),t().identifier(e))})));return t().program(r,[],"module")}function buildUmd(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().identifier("global"))]));buildHelpers(n,r,e);return t().program([i({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),r),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:n,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().objectExpression([]))]));const s=t().program(n);buildHelpers(n,r,e);n.push(t().expressionStatement(r));return s}function buildHelpers(e,r,n){const i=e=>{return r?t().memberExpression(r,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(n&&n.indexOf(t)<0)return;const r=a[t]=i(t);helpers().ensure(t,s.default);const{nodes:o}=helpers().get(t,i,r);e.push(...o)});return a}function _default(e,t="global"){let r;const n={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(n){r=n(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(r).code}},23963:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=_interopRequireDefault(r(93810));_gensync=function(){return e};return e}var n=_interopRequireDefault(r(45411));var s=r(82973);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=(0,_gensync().default)(function*(e,t,r){const i=yield*(0,n.default)(r);if(i===null)return null;if(!e)throw new Error("No AST given");return yield*(0,s.run)(i,t,e)});const a=function transformFromAst(e,t,r,n){if(typeof r==="function"){n=r;r=undefined}if(n===undefined){return i.sync(e,t,r)}i.errback(e,t,r,n)};t.transformFromAst=a;const o=i.sync;t.transformFromAstSync=o;const l=i.async;t.transformFromAstAsync=l},77879:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=_interopRequireDefault(r(93810));_gensync=function(){return e};return e}var n=_interopRequireDefault(r(45411));var s=r(82973);var i=_interopRequireWildcard(r(29042));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}({});const a=(0,_gensync().default)(function*(e,t){const r=Object.assign({},t,{filename:e});const a=yield*(0,n.default)(r);if(a===null)return null;const o=yield*i.readFile(e,"utf8");return yield*(0,s.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const u=a.async;t.transformFileAsync=u},71857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=_interopRequireDefault(r(93810));_gensync=function(){return e};return e}var n=_interopRequireDefault(r(45411));var s=r(82973);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=(0,_gensync().default)(function*transform(e,t){const r=yield*(0,n.default)(t);if(r===null)return null;return yield*(0,s.run)(r,e)});const a=function transform(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return i.sync(e,t);i.errback(e,t,r)};t.transform=a;const o=i.sync;t.transformSync=o;const l=i.async;t.transformAsync=l},19835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _sortBy(){const e=_interopRequireDefault(r(52169));_sortBy=function(){return e};return e}var n=_interopRequireDefault(r(45411));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let s;function loadBlockHoistPlugin(){if(!s){const e=n.default.sync({babelrc:false,configFile:false,plugins:[i]});s=e?e.passes[0][0]:undefined;if(!s)throw new Error("Assertion failure")}return s}const i={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){let t=false;for(let r=0;r{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=void 0;function helpers(){const e=_interopRequireWildcard(n(3537));helpers=function(){return e};return e}function _traverse(){const e=_interopRequireWildcard(n(18442));_traverse=function(){return e};return e}function _codeFrame(){const e=n(36553);_codeFrame=function(){return e};return e}function t(){const e=_interopRequireWildcard(n(63760));t=function(){return e};return e}function _helperModuleTransforms(){const e=n(8580);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=_interopRequireDefault(n(62519));_semver=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}const s={enter(e,t){const r=e.node.loc;if(r){t.loc=r;e.stop()}}};class File{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=r;this.inputMap=n;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().default.valid(t))t=`^${t}`;return!_semver().default.intersects(`<${r}`,t)&&!_semver().default.intersects(`>=8.0.0`,t)}addHelper(e){const r=this.declarations[e];if(r)return t().cloneNode(r);const n=this.get("helperGenerator");if(n){const t=n(e);if(t)return t}helpers().ensure(e,File);const s=this.declarations[e]=this.scope.generateUidIdentifier(e);const i={};for(const t of helpers().getDependencies(e)){i[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>i[e],s,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return s}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,_traverse().default)(e,s,this.scope,r);n=r.loc;let i="This is an error on an internal node. Probably an internal error.";if(n)i+=" Location has been estimated.";t+=` (${i})`}if(n){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:undefined},{highlightCode:e})}return new r(t)}}r.default=File},99433:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=_interopRequireDefault(r(36301));_convertSourceMap=function(){return e};return e}function _generator(){const e=_interopRequireDefault(r(43187));_generator=function(){return e};return e}var n=_interopRequireDefault(r(77187));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function generateCode(e,t){const{opts:r,ast:s,code:i,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(s,r.generatorOpts,i,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(s,r.generatorOpts,i)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:u,map:c}=l;if(c&&a){c=(0,n.default)(a.toObject(),c)}if(r.sourceMaps==="inline"||r.sourceMaps==="both"){u+="\n"+_convertSourceMap().default.fromObject(c).toComment()}if(r.sourceMaps==="inline"){c=null}return{outputCode:u,outputMap:c}}},77187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=_interopRequireDefault(r(96241));_sourceMap=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function mergeSourceMap(e,t){const r=buildMappingData(e);const n=buildMappingData(t);const s=new(_sourceMap().default.SourceMapGenerator);for(const{source:e}of r.sources){if(typeof e.content==="string"){s.setSourceContent(e.path,e.content)}}if(n.sources.length===1){const e=n.sources[0];const t=new Map;eachInputGeneratedRange(r,(r,n,i)=>{eachOverlappingGeneratedOutputRange(e,r,e=>{const r=makeMappingKey(e);if(t.has(r))return;t.set(r,e);s.addMapping({source:i.path,original:{line:n.line,column:n.columnStart},generated:{line:e.line,column:e.columnStart},name:n.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const r={line:e.line,columnStart:e.columnEnd};const n=makeMappingKey(r);if(t.has(n)){continue}s.addMapping({generated:{line:r.line,column:r.columnStart}})}}const i=s.toJSON();if(typeof r.sourceRoot==="string"){i.sourceRoot=r.sourceRoot}return i}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,r){const n=filterApplicableOriginalRanges(e,t);for(const{generated:e}of n){for(const t of e){r(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:r,columnEnd:n}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(n<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:r,mappings:n}of e.sources){for(const{original:e,generated:s}of n){for(const n of s){t(n,e,r)}}}}function buildMappingData(e){const t=new(_sourceMap().default.SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const r=new Map;const n=new Map;let s=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let i=r.get(e.source);if(!i){i={path:e.source,content:t.sourceContentFor(e.source,true)};r.set(e.source,i)}let a=n.get(i);if(!a){a={source:i,mappings:[]};n.set(i,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(s&&s.source===i&&s.mapping.line===e.originalLine){s.mapping.columnEnd=e.originalColumn}s={source:i,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().default.SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(n.values())}}function findInsertionLocation(e,t){let r=0;let n=e.length;while(r=0){n=s}else{r=s+1}}let s=r;if(s=0&&t(e[s])>=0){s--}return s+1}return s}function filterSortedArray(e,t){const r=findInsertionLocation(e,t);const n=[];for(let s=r;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=_interopRequireDefault(r(18442));_traverse=function(){return e};return e}var n=_interopRequireDefault(r(1974));var s=_interopRequireDefault(r(19835));var i=_interopRequireDefault(r(55536));var a=_interopRequireDefault(r(98986));var o=_interopRequireDefault(r(99433));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function*run(e,t,r){const n=yield*(0,a.default)(e.passes,(0,i.default)(e),t,r);const s=n.opts;try{yield*transformFile(n,e.passes)}catch(e){var l;e.message=`${(l=s.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let u,c;try{if(s.code!==false){({outputCode:u,outputMap:c}=(0,o.default)(e.passes,n))}}catch(e){var p;e.message=`${(p=s.filename)!=null?p:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:n.metadata,options:s,ast:s.ast===true?n.ast:null,code:u===undefined?null:u,map:c===undefined?null:c,sourceType:n.ast.program.sourceType}}function*transformFile(e,t){for(const r of t){const t=[];const i=[];const a=[];for(const o of r.concat([(0,s.default)()])){const r=new n.default(e,o.key,o.options);t.push([o,r]);i.push(r);a.push(o.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,i,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},98986:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=normalizeFile;function _fs(){const e=_interopRequireDefault(n(35747));_fs=function(){return e};return e}function _path(){const e=_interopRequireDefault(n(85622));_path=function(){return e};return e}function _debug(){const e=_interopRequireDefault(n(31185));_debug=function(){return e};return e}function _cloneDeep(){const e=_interopRequireDefault(n(60956));_cloneDeep=function(){return e};return e}function t(){const e=_interopRequireWildcard(n(63760));t=function(){return e};return e}function _convertSourceMap(){const e=_interopRequireDefault(n(36301));_convertSourceMap=function(){return e};return e}var s=_interopRequireDefault(n(13397));var i=_interopRequireDefault(n(34804));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=(0,_debug().default)("babel:transform:file");const o=1e6;function*normalizeFile(e,r,n,c){n=`${n||""}`;if(c){if(c.type==="Program"){c=t().file(c,[],[])}else if(c.type!=="File"){throw new Error("AST root must be a Program or File node")}const{cloneInputAst:e}=r;if(e){c=(0,_cloneDeep().default)(c)}}else{c=yield*(0,i.default)(e,r,n)}let p=null;if(r.inputSourceMap!==false){if(typeof r.inputSourceMap==="object"){p=_convertSourceMap().default.fromObject(r.inputSourceMap)}if(!p){const e=extractComments(l,c);if(e){try{p=_convertSourceMap().default.fromComment(e)}catch(e){a("discarding unknown inline input sourcemap",e)}}}if(!p){const e=extractComments(u,c);if(typeof r.filename==="string"&&e){try{const t=u.exec(e);const n=_fs().default.readFileSync(_path().default.resolve(_path().default.dirname(r.filename),t[1]));if(n.length>o){a("skip merging input map > 1 MB")}else{p=_convertSourceMap().default.fromJSON(n)}}catch(e){a("discarding unknown file input sourcemap",e)}}else if(e){a("discarding un-loadable file input sourcemap")}}}return new s.default(r,{code:n,ast:c,inputMap:p})}const l=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const u=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,r){if(t){t=t.filter(({value:t})=>{if(e.test(t)){r=t;return false}return true})}return[t,r]}function extractComments(e,r){let n=null;t().traverseFast(r,t=>{[t.leadingComments,n]=extractCommentsFromList(e,t.leadingComments,n);[t.innerComments,n]=extractCommentsFromList(e,t.innerComments,n);[t.trailingComments,n]=extractCommentsFromList(e,t.trailingComments,n)});return n}},55536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function normalizeOptions(e){const{filename:t,cwd:r,filenameRelative:n=(typeof t==="string"?_path().default.relative(r,t):"unknown"),sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,moduleRoot:o,sourceRoot:l=o,sourceFileName:u=_path().default.basename(n),comments:c=true,compact:p="auto"}=e.options;const f=e.options;const d=Object.assign({},f,{parserOpts:Object.assign({sourceType:_path().default.extname(n)===".mjs"?"module":s,sourceFileName:t,plugins:[]},f.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:f.auxiliaryCommentBefore,auxiliaryCommentAfter:f.auxiliaryCommentAfter,retainLines:f.retainLines,comments:c,shouldPrintComment:f.shouldPrintComment,compact:p,minified:f.minified,sourceMaps:a,sourceRoot:l,sourceFileName:u},f.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(d,d.parserOpts)}}}return d}},1974:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,r){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=r||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}getModuleName(){return this.file.getModuleName()}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t.default=PluginPass},61143:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasOwnDecorators=hasOwnDecorators;t.hasDecorators=hasDecorators;t.buildDecoratedClass=buildDecoratedClass;var n=r(88509);var s=_interopRequireDefault(r(846));var i=_interopRequireDefault(r(98733));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function hasOwnDecorators(e){return!!(e.decorators&&e.decorators.length)}function hasDecorators(e){return hasOwnDecorators(e)||e.body.body.some(hasOwnDecorators)}function prop(e,t){if(!t)return null;return n.types.objectProperty(n.types.identifier(e),t)}function method(e,t){return n.types.objectMethod("method",n.types.identifier(e),[],n.types.blockStatement(t))}function takeDecorators(e){let t;if(e.decorators&&e.decorators.length>0){t=n.types.arrayExpression(e.decorators.map(e=>e.expression))}e.decorators=undefined;return t}function getKey(e){if(e.computed){return e.key}else if(n.types.isIdentifier(e.key)){return n.types.stringLiteral(e.key.name)}else{return n.types.stringLiteral(String(e.key.value))}}function extractElementDescriptor(e,t,r){const{node:a,scope:o}=r;const l=r.isClassMethod();if(r.isPrivate()){throw r.buildCodeFrameError(`Private ${l?"methods":"fields"} in decorated classes are not supported yet.`)}new s.default({methodPath:r,methodNode:a,objectRef:e,isStatic:a.static,superRef:t,scope:o,file:this},true).replace();const u=[prop("kind",n.types.stringLiteral(l?a.kind:"field")),prop("decorators",takeDecorators(a)),prop("static",a.static&&n.types.booleanLiteral(true)),prop("key",getKey(a))].filter(Boolean);if(l){const e=a.computed?null:a.key;n.types.toExpression(a);u.push(prop("value",(0,i.default)({node:a,id:e,scope:o})||a))}else if(a.value){u.push(method("value",n.template.statements.ast`return ${a.value}`))}else{u.push(prop("value",o.buildUndefinedNode()))}r.remove();return n.types.objectExpression(u)}function addDecorateHelper(e){try{return e.addHelper("decorate")}catch(e){if(e.code==="BABEL_HELPER_UNKNOWN"){e.message+="\n '@babel/plugin-transform-decorators' in non-legacy mode"+" requires '@babel/core' version ^7.0.2 and you appear to be using"+" an older version."}throw e}}function buildDecoratedClass(e,t,r,s){const{node:i,scope:a}=t;const o=a.generateUidIdentifier("initialize");const l=i.id&&t.isDeclaration();const u=t.isInStrictMode();const{superClass:c}=i;i.type="ClassDeclaration";if(!i.id)i.id=n.types.cloneNode(e);let p;if(c){p=a.generateUidIdentifierBasedOnNode(i.superClass,"super");i.superClass=p}const f=takeDecorators(i);const d=n.types.arrayExpression(r.filter(e=>!e.node.abstract).map(extractElementDescriptor.bind(s,i.id,p)));let h=n.template.expression.ast` - ${addDecorateHelper(s)}( - ${f||n.types.nullLiteral()}, - function (${o}, ${c?n.types.cloneNode(p):null}) { - ${i} - return { F: ${n.types.cloneNode(i.id)}, d: ${d} }; + `(e);function buildGlobal(e){const r=t().identifier("babelHelpers");const n=[];const i=t().functionExpression(null,[t().identifier("global")],t().blockStatement(n));const s=t().program([t().expressionStatement(t().callExpression(i,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),r),t().objectExpression([])))]));buildHelpers(n,r,e);return s}function buildModule(e){const r=[];const n=buildHelpers(r,null,e);r.unshift(t().exportNamedDeclaration(null,Object.keys(n).map(e=>{return t().exportSpecifier(t().cloneNode(n[e]),t().identifier(e))})));return t().program(r,[],"module")}function buildUmd(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().identifier("global"))]));buildHelpers(n,r,e);return t().program([s({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),r),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:n,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().objectExpression([]))]));const i=t().program(n);buildHelpers(n,r,e);n.push(t().expressionStatement(r));return i}function buildHelpers(e,r,n){const s=e=>{return r?t().memberExpression(r,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(n&&n.indexOf(t)<0)return;const r=a[t]=s(t);helpers().ensure(t,i.default);const{nodes:o}=helpers().get(t,s,r);e.push(...o)});return a}function _default(e,t="global"){let r;const n={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(n){r=n(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(r).code}},2591:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(40152);var i=r(74227);const s=_gensync()(function*(e,t,r){const s=yield*(0,n.default)(r);if(s===null)return null;if(!e)throw new Error("No AST given");return yield*(0,i.run)(s,t,e)});const a=function transformFromAst(e,t,r,n){if(typeof r==="function"){n=r;r=undefined}if(n===undefined){return s.sync(e,t,r)}s.errback(e,t,r,n)};t.transformFromAst=a;const o=s.sync;t.transformFromAstSync=o;const l=s.async;t.transformFromAstAsync=l},23897:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(40152);var i=r(74227);var s=r(30420);({});const a=_gensync()(function*(e,t){const r=Object.assign({},t,{filename:e});const a=yield*(0,n.default)(r);if(a===null)return null;const o=yield*s.readFile(e,"utf8");return yield*(0,i.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const u=a.async;t.transformFileAsync=u},30000:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(40152);var i=r(74227);const s=_gensync()(function*transform(e,t){const r=yield*(0,n.default)(t);if(r===null)return null;return yield*(0,i.run)(r,e)});const a=function transform(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return s.sync(e,t);s.errback(e,t,r)};t.transform=a;const o=s.sync;t.transformSync=o;const l=s.async;t.transformAsync=l},20054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=r(14126);_traverse=function(){return e};return e}var n=r(78543);let i;function loadBlockHoistPlugin(){if(!i){i=new n.default(Object.assign({},s,{visitor:_traverse().default.explode(s.visitor)}),{})}return i}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let r=0;r+e).sort((e,t)=>t-e);let n=0;for(const i of r){const r=t[i];for(const t of r){e[n++]=t}}return e}const s={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let r=Math.pow(2,30)-1;let n=false;for(let e=0;er){n=true;break}r=s}if(!n)return;e.body=stableSort(t.slice())}}}}},56407:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=void 0;function helpers(){const e=n(19219);helpers=function(){return e};return e}function _traverse(){const e=n(14126);_traverse=function(){return e};return e}function _codeFrame(){const e=n(90617);_codeFrame=function(){return e};return e}function t(){const e=n(30315);t=function(){return e};return e}function _helperModuleTransforms(){const e=n(18341);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=n(62519);_semver=function(){return e};return e}const i={enter(e,t){const r=e.node.loc;if(r){t.loc=r;e.stop()}}};class File{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=r;this.inputMap=n;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${r}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const r=this.declarations[e];if(r)return t().cloneNode(r);const n=this.get("helperGenerator");if(n){const t=n(e);if(t)return t}helpers().ensure(e,File);const i=this.declarations[e]=this.scope.generateUidIdentifier(e);const s={};for(const t of helpers().getDependencies(e)){s[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>s[e],i,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return i}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,_traverse().default)(e,i,this.scope,r);n=r.loc;let s="This is an error on an internal node. Probably an internal error.";if(n)s+=" Location has been estimated.";t+=` (${s})`}if(n){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:undefined},{highlightCode:e})}return new r(t)}}r.default=File},46579:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=r(43187);_generator=function(){return e};return e}var n=r(84058);function generateCode(e,t){const{opts:r,ast:i,code:s,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(i,r.generatorOpts,s,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(i,r.generatorOpts,s)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:u,map:p}=l;if(p&&a){p=(0,n.default)(a.toObject(),p)}if(r.sourceMaps==="inline"||r.sourceMaps==="both"){u+="\n"+_convertSourceMap().fromObject(p).toComment()}if(r.sourceMaps==="inline"){p=null}return{outputCode:u,outputMap:p}}},84058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=r(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const r=buildMappingData(e);const n=buildMappingData(t);const i=new(_sourceMap().SourceMapGenerator);for(const{source:e}of r.sources){if(typeof e.content==="string"){i.setSourceContent(e.path,e.content)}}if(n.sources.length===1){const e=n.sources[0];const t=new Map;eachInputGeneratedRange(r,(r,n,s)=>{eachOverlappingGeneratedOutputRange(e,r,e=>{const r=makeMappingKey(e);if(t.has(r))return;t.set(r,e);i.addMapping({source:s.path,original:{line:n.line,column:n.columnStart},generated:{line:e.line,column:e.columnStart},name:n.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const r={line:e.line,columnStart:e.columnEnd};const n=makeMappingKey(r);if(t.has(n)){continue}i.addMapping({generated:{line:r.line,column:r.columnStart}})}}const s=i.toJSON();if(typeof r.sourceRoot==="string"){s.sourceRoot=r.sourceRoot}return s}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,r){const n=filterApplicableOriginalRanges(e,t);for(const{generated:e}of n){for(const t of e){r(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:r,columnEnd:n}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(n<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:r,mappings:n}of e.sources){for(const{original:e,generated:i}of n){for(const n of i){t(n,e,r)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const r=new Map;const n=new Map;let i=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let s=r.get(e.source);if(!s){s={path:e.source,content:t.sourceContentFor(e.source,true)};r.set(e.source,s)}let a=n.get(s);if(!a){a={source:s,mappings:[]};n.set(s,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(i&&i.source===s&&i.mapping.line===e.originalLine){i.mapping.columnEnd=e.originalColumn}i={source:s,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(n.values())}}function findInsertionLocation(e,t){let r=0;let n=e.length;while(r=0){n=i}else{r=i+1}}let i=r;if(i=0&&t(e[i])>=0){i--}return i+1}return i}function filterSortedArray(e,t){const r=findInsertionLocation(e,t);const n=[];for(let i=r;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=r(14126);_traverse=function(){return e};return e}var n=r(38085);var i=r(20054);var s=r(30709);var a=r(22175);var o=r(46579);function*run(e,t,r){const n=yield*(0,a.default)(e.passes,(0,s.default)(e),t,r);const i=n.opts;try{yield*transformFile(n,e.passes)}catch(e){var l;e.message=`${(l=i.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let u,p;try{if(i.code!==false){({outputCode:u,outputMap:p}=(0,o.default)(e.passes,n))}}catch(e){var c;e.message=`${(c=i.filename)!=null?c:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:n.metadata,options:i,ast:i.ast===true?n.ast:null,code:u===undefined?null:u,map:p===undefined?null:p,sourceType:n.ast.program.sourceType}}function*transformFile(e,t){for(const r of t){const t=[];const s=[];const a=[];for(const o of r.concat([(0,i.default)()])){const r=new n.default(e,o.key,o.options);t.push([o,r]);s.push(r);a.push(o.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,s,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},22175:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=normalizeFile;function _fs(){const e=n(35747);_fs=function(){return e};return e}function _path(){const e=n(85622);_path=function(){return e};return e}function _debug(){const e=n(31185);_debug=function(){return e};return e}function t(){const e=n(30315);t=function(){return e};return e}function _convertSourceMap(){const e=n(36301);_convertSourceMap=function(){return e};return e}var i=n(56407);var s=n(66822);var a=n(98450);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,r,n,c){n=`${n||""}`;if(c){if(c.type==="Program"){c=t().file(c,[],[])}else if(c.type!=="File"){throw new Error("AST root must be a Program or File node")}if(r.cloneInputAst){c=(0,a.default)(c)}}else{c=yield*(0,s.default)(e,r,n)}let f=null;if(r.inputSourceMap!==false){if(typeof r.inputSourceMap==="object"){f=_convertSourceMap().fromObject(r.inputSourceMap)}if(!f){const e=extractComments(u,c);if(e){try{f=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!f){const e=extractComments(p,c);if(typeof r.filename==="string"&&e){try{const t=p.exec(e);const n=_fs().readFileSync(_path().resolve(_path().dirname(r.filename),t[1]));if(n.length>l){o("skip merging input map > 1 MB")}else{f=_convertSourceMap().fromJSON(n)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new i.default(r,{code:n,ast:c,inputMap:f})}const u=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,r){if(t){t=t.filter(({value:t})=>{if(e.test(t)){r=t;return false}return true})}return[t,r]}function extractComments(e,r){let n=null;t().traverseFast(r,t=>{[t.leadingComments,n]=extractCommentsFromList(e,t.leadingComments,n);[t.innerComments,n]=extractCommentsFromList(e,t.innerComments,n);[t.trailingComments,n]=extractCommentsFromList(e,t.trailingComments,n)});return n}},30709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=r(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:r,filenameRelative:n=(typeof t==="string"?_path().relative(r,t):"unknown"),sourceType:i="module",inputSourceMap:s,sourceMaps:a=!!s,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(n),comments:u=true,compact:p="auto"}=e.options;const c=e.options;const f=Object.assign({},c,{parserOpts:Object.assign({sourceType:_path().extname(n)===".mjs"?"module":i,sourceFileName:t,plugins:[]},c.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:c.auxiliaryCommentBefore,auxiliaryCommentAfter:c.auxiliaryCommentAfter,retainLines:c.retainLines,comments:u,shouldPrintComment:c.shouldPrintComment,compact:p,minified:c.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},c.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(f,f.parserOpts)}}}return f}},38085:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,r){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=r||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},77861:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const r="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[r]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[r]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},98450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=r(68987);_v=function(){return e};return e}var n=r(77861);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,n.default)(e)}},81201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var n=r(62519);var i=r(93741);var s=r(47856);function getInclusionReasons(e,t,r){const a=r[e]||{};return Object.keys(t).reduce((e,r)=>{const o=(0,s.getLowestImplementedVersion)(a,r);const l=t[r];if(!o){e[r]=(0,i.prettifyVersion)(l)}else{const t=(0,s.isUnreleasedVersion)(o,r);const a=(0,s.isUnreleasedVersion)(l,r);if(!a&&(t||n.lt(l.toString(),(0,s.semverify)(o)))){e[r]=(0,i.prettifyVersion)(l)}}return e},{})}},45902:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var n=r(62519);var i=r(48935);var s=r(47856);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const i=r.filter(r=>{const i=(0,s.getLowestImplementedVersion)(t,r);if(!i){return true}const a=e[r];if((0,s.isUnreleasedVersion)(a,r)){return false}if((0,s.isUnreleasedVersion)(i,r)){return true}if(!n.valid(a.toString())){throw new Error(`Invalid version passed for target "${r}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return n.gt((0,s.semverify)(i),a.toString())});return i.length===0}function isRequired(e,t,{compatData:r=i,includes:n,excludes:s}={}){if(s!=null&&s.has(e))return false;if(n!=null&&n.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,n,i,s,a){const o=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,n,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(i){i.forEach(e=>!r.has(e)&&o.add(e))}if(s){s.forEach(e=>!t.has(e)&&o.delete(e))}return o}},396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return u.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return c.isRequired}});var n=r(3561);var i=r(69562);var s=r(79419);var a=r(47856);var o=r(7284);var l=r(4631);var u=r(93741);var p=r(81201);var c=r(45902);const f=s["es6.module"];const d=new i.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e)){if(!(r in l.TargetNames)){throw new Error(d.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,i.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){d.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[r,n]=t.split(" ");const i=o.browserNameMap[r];if(!i){return e}try{const t=n.split("-")[0].toLowerCase();const s=(0,a.isUnreleasedVersion)(t,r);if(!e[i]){e[i]=s?t:(0,a.semverify)(t);return e}const o=e[i];const l=(0,a.isUnreleasedVersion)(o,r);if(l&&s){e[i]=(0,a.getLowestUnreleased)(o,t,r)}else if(l){e[i]=(0,a.semverify)(t)}else if(!l&&!s){const r=(0,a.semverify)(t);e[i]=(0,a.semverMin)(o,r)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(r){throw new Error(d.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const y={__default(e,t){const r=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]},node(e,t){const r=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,r]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=n(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var r;let{browsers:i,esmodules:s}=e;const{configPath:o="."}=t;validateBrowsers(i);const l=generateTargets(e);let u=validateTargetNames(l);const p=!!i;const c=p||Object.keys(u).length>0;const d=!t.ignoreBrowserslistConfig&&!c;if(!i&&d){i=n.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(i==null){{i=[]}}}if(s&&(s!=="intersect"||!((r=i)!=null&&r.length))){i=Object.keys(f).map(e=>`${e} >= ${f[e]}`).join(", ");s=false}if(i){const e=resolveTargets(i);if(s==="intersect"){for(const t of Object.keys(e)){const r=e[t];if(f[t]){e[t]=(0,a.getHighestUnreleased)(r,(0,a.semverify)(f[t]),t)}else{delete e[t]}}}u=Object.assign(e,u)}const h={};const m=[];for(const e of Object.keys(u).sort()){var T;const t=u[e];if(typeof t==="number"&&t%1!==0){m.push({target:e,value:t})}const r=(T=y[e])!=null?T:y.__default;const[n,i]=r(e,t);if(i){h[n]=i}}outputDecimalWarning(m);return h}},4631:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino"};t.TargetNames=r},93741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var n=r(62519);var i=r(7284);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[n.major(e)];const r=n.minor(e);const i=n.patch(e);if(r||i){t.push(r)}if(i){t.push(i)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];const s=i.unreleasedLabels[r];if(typeof n==="string"&&s!==n){n=prettifyVersion(n)}t[r]=n;return t},{})}},7284:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const n={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=n},47856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var n=r(62519);var i=r(69562);var s=r(7284);const a=/^(\d+|\d+.\d+)$/;const o=new i.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&n.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&n.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const r=s.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const n=s.unreleasedLabels[r];const i=[e,t].some(e=>e===n);if(i){return e===i?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},68660:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(30315);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:true,get:function(){return e[r]}})}})}t["default"]=e;return Object.freeze(t)}var i=_interopNamespace(n);function willPathCastToBoolean(e){const t=e;const{node:r,parentPath:n}=t;if(n.isLogicalExpression()){const{operator:e,right:t}=n.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(n)}}if(n.isSequenceExpression()){const{expressions:e}=n.node;if(e[e.length-1]===r){return willPathCastToBoolean(n)}else{return true}}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:r}=t;t.count--;if(t.count===0){return i.assignmentExpression("=",r,e)}return r}set(e,t,r){return this._map.set(e,{count:r,value:t})}}function toNonOptional(e,t){const{node:r}=e;if(i.isOptionalMemberExpression(r)){return i.memberExpression(t,r.property,r.computed)}if(e.isOptionalCallExpression()){const r=e.get("callee");if(e.node.optional&&r.isOptionalMemberExpression()){const{object:n}=r.node;const s=e.scope.maybeGenerateMemoised(n)||n;r.get("object").replaceWith(i.assignmentExpression("=",s,n));return i.callExpression(i.memberExpression(t,i.identifier("call")),[s,...e.node.arguments])}return i.callExpression(t,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:r,listKey:n}=e;const i=t.node;if(n){if(r!==i[n])return true}else{if(r!==i)return true}e=t}return false}const s={memoise(){},handle(e,t){const{node:r,parent:n,parentPath:s,scope:a}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const o=e.find(({node:t,parent:r})=>{if(i.isOptionalMemberExpression(r)){return r.optional||r.object!==t}if(i.isOptionalCallExpression(r)){return t!==e.node&&r.optional||r.callee!==t}return true});if(a.path.isPattern()){o.replaceWith(i.callExpression(i.arrowFunctionExpression([],o.node),[]));return}const l=willPathCastToBoolean(o);const u=o.parentPath;if(u.isUpdateExpression({argument:r})||u.isAssignmentExpression({left:r})){throw e.buildCodeFrameError(`can't handle assignment`)}const p=u.isUnaryExpression({operator:"delete"});if(p&&o.isOptionalMemberExpression()&&o.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let c=e;for(;;){if(c.isOptionalMemberExpression()){if(c.node.optional)break;c=c.get("object");continue}else if(c.isOptionalCallExpression()){if(c.node.optional)break;c=c.get("callee");continue}throw new Error(`Internal error: unexpected ${c.node.type}`)}const f=c.isOptionalMemberExpression()?"object":"callee";const d=c.node[f];const y=a.maybeGenerateMemoised(d);const h=y!=null?y:d;const m=s.isOptionalCallExpression({callee:r});const T=e=>m;const S=s.isCallExpression({callee:r});c.replaceWith(toNonOptional(c,h));if(T()){if(n.optional){s.replaceWith(this.optionalCall(e,n.arguments))}else{s.replaceWith(this.call(e,n.arguments))}}else if(S){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let b=e.node;for(let t=e;t!==o;){const e=t.parentPath;if(e===o&&T()&&n.optional){b=e.node;break}b=toNonOptional(e,b);t=e}let E;const g=o.parentPath;if(i.isMemberExpression(b)&&g.isOptionalCallExpression({callee:o.node,optional:true})){const{object:t}=b;E=e.scope.maybeGenerateMemoised(t);if(E){b.object=i.assignmentExpression("=",E,t)}}let x=o;if(p){x=g;b=g.node}const P=y?i.assignmentExpression("=",i.cloneNode(h),i.cloneNode(d)):i.cloneNode(h);if(l){let e;if(t){e=i.binaryExpression("!=",P,i.nullLiteral())}else{e=i.logicalExpression("&&",i.binaryExpression("!==",P,i.nullLiteral()),i.binaryExpression("!==",i.cloneNode(h),a.buildUndefinedNode()))}x.replaceWith(i.logicalExpression("&&",e,b))}else{let e;if(t){e=i.binaryExpression("==",P,i.nullLiteral())}else{e=i.logicalExpression("||",i.binaryExpression("===",P,i.nullLiteral()),i.binaryExpression("===",i.cloneNode(h),a.buildUndefinedNode()))}x.replaceWith(i.conditionalExpression(e,p?i.booleanLiteral(true):a.buildUndefinedNode(),b))}if(E){const e=g.node;g.replaceWith(i.optionalCallExpression(i.optionalMemberExpression(e.callee,i.identifier("call"),false,true),[i.cloneNode(E),...e.arguments],false))}return}if(i.isUpdateExpression(n,{argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=n;this.memoise(e,2);const o=i.binaryExpression(t[0],i.unaryExpression("+",this.get(e)),i.numericLiteral(1));if(a){s.replaceWith(this.set(e,o))}else{const{scope:t}=e;const n=t.generateUidIdentifierBasedOnNode(r);t.push({id:n});o.left=i.assignmentExpression("=",i.cloneNode(n),o.left);s.replaceWith(i.sequenceExpression([this.set(e,o),i.cloneNode(n)]))}return}if(s.isAssignmentExpression({left:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:r}=s.node;if(t==="="){s.replaceWith(this.set(e,r))}else{const n=t.slice(0,-1);if(i.LOGICAL_OPERATORS.includes(n)){this.memoise(e,1);s.replaceWith(i.logicalExpression(n,this.get(e),this.set(e,r)))}else{this.memoise(e,2);s.replaceWith(this.set(e,i.binaryExpression(n,this.get(e),r)))}}return}if(s.isCallExpression({callee:r})){s.replaceWith(this.call(e,s.node.arguments));return}if(s.isOptionalCallExpression({callee:r})){if(a.path.isPattern()){s.replaceWith(i.callExpression(i.arrowFunctionExpression([],s.node),[]));return}s.replaceWith(this.optionalCall(e,s.node.arguments));return}if(s.isForXStatement({left:r})||s.isObjectProperty({value:r})&&s.parentPath.isObjectPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isObjectProperty({value:n})&&s.parentPath.parentPath.isObjectPattern()||s.isArrayPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isArrayPattern()||s.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(s.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function memberExpressionToFunctions(e,t,r){e.traverse(t,Object.assign({},s,r,{memoiser:new AssignmentMemoiser}))}t.default=memberExpressionToFunctions},2427:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(24748);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},24946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(24748);var s=r(2427);var a=r(3447);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{n(!t,"Unexpected secondary arguments.");i.push(e)}const s=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(s).forEach(t=>{if(e[t]!==undefined)s[t]=e[t]});if(!r){if(e.nameHint!==undefined)s.nameHint=e.nameHint;if(e.blockHoist!==undefined)s.blockHoist=e.blockHoist}}return s}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:c,ensureLiveReference:f,ensureNoContext:d,nameHint:y,importPosition:h,blockHoist:m}=e;let T=y||t;const S=(0,a.default)(this._programPath);const b=S&&c==="node";const E=S&&c==="babel";if(h==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new s.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(T,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){T=T!=="default"?T:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(T||l).wildcardInterop()}else if(r){if(f){g.default(e).var(T||l).defaultInterop().read("default")}else{g.default(e).var(T).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l).wildcardInterop()}else if((r||n)&&f){if(r){T=T!=="default"?T:l;g.var(T).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(T).defaultInterop().prop(t)}else if(n){g.var(T).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(T||l)}else if(r||n){g.default(l).read(T)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r||n){if(f){g.var(l).read(T)}else{g.prop(t).var(T)}}}}else if(p==="uncompiled"){if(r&&f){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.default(l).read(T)}}else if(E){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r){g.var(T)}else if(n){if(f){g.var(l).read(T)}else{g.var(T).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:x,resultName:P}=g.done();this._insertStatements(x,h,m);if((r||n)&&d&&P.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),P])}return P}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},68466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var n=r(24946);var i=r(3447);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,i){return new n.default(e).addNamed(t,r,i)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},3447:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},23723:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(23723);var i=r(81890)},81890:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},81756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(10245);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},16308:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(70135);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},36416:()=>{},33849:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(61668);var i=r(3161);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(3817);var i=r(43561);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},82296:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(3817);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},3817:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(33849);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},95179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(3817)},70298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(9621);var i=r(74563);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(3817);var i=r(27645);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},13505:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(33704);function clone(e){return(0,n.default)(e,false)}},90952:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(33704);function cloneDeep(e){return(0,n.default)(e)}},36178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(33704);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},33704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(61668);var i=r(9621);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},69526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(33704);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},52185:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(19214);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},19214:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},73175:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(82045);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},91353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(82045);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},69889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(82045);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},92819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(69889);var i=r(91353);var s=r(73175);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},91307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(14451);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},6540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(61668);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},14451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},43679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(74616);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},2172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(48228);var i=r(9621);var s=r(3817);var a=r(33704);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},98375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(48853);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},74616:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(9621);var i=r(3817);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},62148:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(9621);var i=r(3817);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},37768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(9621);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},48853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(66248);var i=r(72707);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},12972:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(9621);var i=r(33704);var s=r(81655);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},3545:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(2172);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},16643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(9621);var i=r(3817);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},82157:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(66248);var i=r(3817);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},57848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(70135);var i=r(66248);var s=r(72707);var a=r(14451);var o=r(40782);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},98312:(e,t,r)=>{"use strict";var n=r(40782);var i=r(57848);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},44802:(e,t,r)=>{"use strict";var n=r(40782);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:false},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"))}})},61668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(57848);r(44802);r(78534);r(76134);r(98312);r(69590);var i=r(40782);var s=r(54714);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},78534:(e,t,r)=>{"use strict";var n=r(40782);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},76134:(e,t,r)=>{"use strict";var n=r(40782);var i=r(54714);{(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")}}})},54714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(40782);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},69590:(e,t,r)=>{"use strict";var n=r(40782);var i=r(57848);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},40782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(70135);var i=r(3161);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},24748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(56213);var s=r(63031);var a=r(70298);var o=r(81756);var l=r(16308);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(82296);var p=r(91074);var c=r(17144);var f=r(3817);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(95179);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(33704);var h=r(13505);var m=r(90952);var T=r(36178);var S=r(69526);var b=r(52185);var E=r(19214);var g=r(73175);var x=r(91353);var P=r(92819);var A=r(69889);var v=r(91307);var O=r(6540);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(14451);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(43679);var D=r(98375);var N=r(74616);var C=r(62148);var j=r(37768);var _=r(48853);var L=r(12972);var k=r(3545);var B=r(16643);var M=r(82157);var F=r(61668);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(93033);var K=r(24786);var V=r(48194);var U=r(51568);var X=r(81655);var J=r(43561);var Y=r(48228);var W=r(42308);var q=r(94814);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(91031);var H=r(570);var G=r(70135);var $=r(88772);var Q=r(1018);var Z=r(74823);var ee=r(19206);var te=r(10245);var re=r(19457);var ne=r(32766);var ie=r(28757);var se=r(72600);var ae=r(98913);var oe=r(30348);var le=r(72892);var ue=r(66248);var pe=r(7832);var ce=r(13745);var fe=r(3161);var de=r(66874);var ye=r(9621);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(36416);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},93033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(3817);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},43561:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(9621);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},24786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(14451);var i=r(92819);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},48194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(3817);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},51568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(14451);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},81655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(91031);var i=r(51568);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},27645:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(9621);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},48228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(9621);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(48228);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},94814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(61668);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(61668);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},82045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},74563:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(3817);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},66874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(13745);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},9621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(570);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},70135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(570);var i=r(30348);var s=r(32766);var a=r(61668);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},88772:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(48228);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},1018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(9621);var i=r(19206);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},74823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(30348);var i=r(9621);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},19206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(9621);var i=r(14451);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},10245:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(61668);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},19457:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(61668);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(61668);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},28757:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},72600:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(9621);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},98913:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(9621);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},30348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(61668);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},72892:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(66248);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},66248:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(72707);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},7832:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(9621);var i=r(14451);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},13745:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(9621);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},56213:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(66874);const i=(0,n.default)("React.Component");var s=i;t.default=s},3161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(61668);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},68753:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,i,s,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(i=r.moduleIds)!=null?i:t.moduleIds,getModuleId:(s=r.getModuleId)!=null?s:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:i=t.moduleRoot}=e;const{moduleId:s,moduleIds:a=!!s,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(s!=null&&!o){return s}let u=l!=null?l+"/":"";if(n){const e=i!=null?new RegExp("^"+i+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},18341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var i=r(30315);var s=r(36900);var a=r(68466);var o=r(57789);var l=r(50549);var u=r(80935);var p=r(68753);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:s,allowTopLevelThis:p,strictMode:c,noInterop:f,importInterop:d=(f?"none":"babel"),lazy:y,esNamespaceOnly:h,constantReexports:m=t,enumerableModuleMeta:T=t,noIncompleteNsImportDetection:S}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const b=(0,u.default)(e,r,{importInterop:d,initializeReexports:m,lazy:y,esNamespaceOnly:h});if(!p){(0,o.default)(e)}(0,l.default)(e,b);if(c!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const E=[];if((0,u.hasExports)(b)&&!s){E.push(buildESModuleHeader(b,T))}const g=buildExportNameListDeclaration(e,b);if(g){b.exportNameListName=g.name;E.push(g.statement)}E.push(...buildExportInitializationStatements(e,b,m,S));return{meta:b,headers:E}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return i.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(s.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(r){n.push(...f(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?s.default.statement` + Object.defineProperty(EXPORTS, "NAME", { + enumerable: true, + get: function() { + return NAMESPACE; + } + }); + `:s.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const s=buildNamespaceReexport(e,i.cloneNode(a),r);s.loc=t.reexportAll.loc;n.push(s)}return n}const c={constant:s.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:s.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,s.default)` + Object.defineProperty(EXPORTS, "EXPORT_NAME", { + enumerable: true, + get: function() { + return NAMESPACE_IMPORT; }, - ${c} - ) - `;let y="arguments.1.body.body.0";if(!u){h.arguments[1].body.directives.push(n.types.directive(n.types.directiveLiteral("use strict")))}if(l){h=n.template.ast`let ${e} = ${h}`;y="declarations.0.init."+y}return{instanceNodes:[n.template.statement.ast`${n.types.cloneNode(o)}(this)`],wrapClass(e){e.replaceWith(h);return e.get(y)}}}},31331:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enableFeature=enableFeature;t.isLoose=isLoose;t.verifyUsedFeatures=verifyUsedFeatures;t.FEATURES=void 0;var n=r(61143);const s=Object.freeze({fields:1<<1,privateMethods:1<<2,decorators:1<<3,privateIn:1<<4});t.FEATURES=s;const i=new Map([[s.fields,"@babel/plugin-proposal-class-properties"],[s.privateMethods,"@babel/plugin-proposal-private-methods"],[s.privateIn,"@babel/plugin-proposal-private-private-property-in-object"]]);const a="@babel/plugin-class-features/featuresKey";const o="@babel/plugin-class-features/looseKey";const l="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function enableFeature(e,t,r){if(!hasFeature(e,t)||canIgnoreLoose(e,t)){e.set(a,e.get(a)|t);if(r==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"){setLoose(e,t,true);e.set(l,e.get(l)|t)}else if(r==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"){setLoose(e,t,false);e.set(l,e.get(l)|t)}else{setLoose(e,t,r)}}let n;let s;for(const[t,r]of i){if(!hasFeature(e,t))continue;const i=isLoose(e,t);if(canIgnoreLoose(e,t)){continue}else if(n===!i){throw new Error("'loose' mode configuration must be the same for @babel/plugin-proposal-class-properties, "+"@babel/plugin-proposal-private-methods and "+"@babel/plugin-proposal-private-property-in-object (when they are enabled).")}else{n=i;s=r}}if(n!==undefined){for(const[t,r]of i){if(hasFeature(e,t)&&isLoose(e,t)!==n){setLoose(e,t,n);console.warn(`Though the "loose" option was set to "${!n}" in your @babel/preset-env `+`config, it will not be used for ${r} since the "loose" mode option was set to `+`"${n}" for ${s}.\nThe "loose" option must be the `+`same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods `+`and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can `+`silence this warning by explicitly adding\n`+`\t["${r}", { "loose": ${n} }]\n`+`to the "plugins" section of your Babel config.`)}}}}function hasFeature(e,t){return!!(e.get(a)&t)}function isLoose(e,t){return!!(e.get(o)&t)}function setLoose(e,t,r){if(r)e.set(o,e.get(o)|t);else e.set(o,e.get(o)&~t);e.set(l,e.get(l)&~t)}function canIgnoreLoose(e,t){return!!(e.get(l)&t)}function verifyUsedFeatures(e,t){if((0,n.hasOwnDecorators)(e.node)){if(!hasFeature(t,s.decorators)){throw e.buildCodeFrameError("Decorators are not enabled."+"\nIf you are using "+'["@babel/plugin-proposal-decorators", { "legacy": true }], '+'make sure it comes *before* "@babel/plugin-proposal-class-properties" '+"and enable loose mode, like so:\n"+'\t["@babel/plugin-proposal-decorators", { "legacy": true }]\n'+'\t["@babel/plugin-proposal-class-properties", { "loose": true }]')}if(e.isPrivate()){throw e.buildCodeFrameError(`Private ${e.isClassMethod()?"methods":"fields"} in decorated classes are not supported yet.`)}}if(e.isPrivate()&&e.isMethod()){if(!hasFeature(t,s.privateMethods)){throw e.buildCodeFrameError("Class private methods are not enabled.")}}if(e.isPrivateName()&&e.parentPath.isBinaryExpression({operator:"in",left:e.node})){if(!hasFeature(t,s.privateIn)){throw e.buildCodeFrameError("Private property in checks are not enabled.")}}if(e.isProperty()){if(!hasFeature(t,s.fields)){throw e.buildCodeFrameError("Class fields are not enabled.")}}}},28211:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPrivateNamesMap=buildPrivateNamesMap;t.buildPrivateNamesNodes=buildPrivateNamesNodes;t.transformPrivateNamesUsage=transformPrivateNamesUsage;t.buildFieldsInitNodes=buildFieldsInitNodes;var n=r(88509);var s=_interopRequireWildcard(r(846));var i=_interopRequireDefault(r(44756));var a=_interopRequireDefault(r(68720));var o=_interopRequireWildcard(r(56534));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function buildPrivateNamesMap(e){const t=new Map;for(const r of e){const e=r.isPrivate();const n=!r.isProperty();const s=!r.node.static;if(e){const{name:e}=r.node.key.id;const i=t.has(e)?t.get(e):{id:r.scope.generateUidIdentifier(e),static:!s,method:n};if(r.node.kind==="get"){i.getId=r.scope.generateUidIdentifier(`get_${e}`)}else if(r.node.kind==="set"){i.setId=r.scope.generateUidIdentifier(`set_${e}`)}else if(r.node.kind==="method"){i.methodId=r.scope.generateUidIdentifier(e)}t.set(e,i)}}return t}function buildPrivateNamesNodes(e,t,r){const s=[];for(const[i,a]of e){const{static:e,method:o,getId:l,setId:u}=a;const c=l||u;const p=n.types.cloneNode(a.id);if(t){s.push(n.template.statement.ast` - var ${p} = ${r.addHelper("classPrivateFieldLooseKey")}("${i}") - `)}else if(o&&!e){if(c){s.push(n.template.statement.ast`var ${p} = new WeakMap();`)}else{s.push(n.template.statement.ast`var ${p} = new WeakSet();`)}}else if(!e){s.push(n.template.statement.ast`var ${p} = new WeakMap();`)}}return s}function privateNameVisitorFactory(e){const t=Object.assign({},e,{Class(e){const{privateNamesMap:n}=this;const s=e.get("body.body");const i=new Map(n);const a=[];for(const e of s){if(!e.isPrivate())continue;const{name:t}=e.node.key.id;i.delete(t);a.push(t)}if(!a.length){return}e.get("body").traverse(r,Object.assign({},this,{redeclared:a}));e.traverse(t,Object.assign({},this,{privateNamesMap:i}));e.skipKey("body")}});const r=n.traverse.visitors.merge([Object.assign({},e),s.environmentVisitor]);return t}const l=privateNameVisitorFactory({PrivateName(e){const{privateNamesMap:t,redeclared:r}=this;const{node:n,parentPath:s}=e;if(!s.isMemberExpression({property:n})&&!s.isOptionalMemberExpression({property:n})){return}const{name:i}=n.id;if(!t.has(i))return;if(r&&r.includes(i))return;this.handle(s)}});const u=privateNameVisitorFactory({BinaryExpression(e){const{operator:t,left:r,right:s}=e.node;if(t!=="in")return;if(!e.get("left").isPrivateName())return;const{loose:i,privateNamesMap:a,redeclared:o}=this;const{name:l}=r.id;if(!a.has(l))return;if(o&&o.includes(l))return;if(i){const{id:t}=a.get(l);e.replaceWith(n.template.expression.ast` - Object.prototype.hasOwnProperty.call(${s}, ${n.types.cloneNode(t)}) - `);return}const{id:u,static:c}=a.get(l);if(c){e.replaceWith(n.template.expression.ast`${s} === ${this.classRef}`);return}e.replaceWith(n.template.expression.ast`${n.types.cloneNode(u)}.has(${s})`)}});const c={memoise(e,t){const{scope:r}=e;const{object:n}=e.node;const s=r.maybeGenerateMemoised(n);if(!s){return}this.memoiser.set(n,s,t)},receiver(e){const{object:t}=e.node;if(this.memoiser.has(t)){return n.types.cloneNode(this.memoiser.get(t))}return n.types.cloneNode(t)},get(e){const{classRef:t,privateNamesMap:r,file:s}=this;const{name:i}=e.node.property.id;const{id:a,static:o,method:l,methodId:u,getId:c,setId:p}=r.get(i);const f=c||p;if(o){const r=l&&!f?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return n.types.callExpression(s.addHelper(r),[this.receiver(e),n.types.cloneNode(t),n.types.cloneNode(a)])}if(l){if(f){return n.types.callExpression(s.addHelper("classPrivateFieldGet"),[this.receiver(e),n.types.cloneNode(a)])}return n.types.callExpression(s.addHelper("classPrivateMethodGet"),[this.receiver(e),n.types.cloneNode(a),n.types.cloneNode(u)])}return n.types.callExpression(s.addHelper("classPrivateFieldGet"),[this.receiver(e),n.types.cloneNode(a)])},boundGet(e){this.memoise(e,1);return n.types.callExpression(n.types.memberExpression(this.get(e),n.types.identifier("bind")),[this.receiver(e)])},set(e,t){const{classRef:r,privateNamesMap:s,file:i}=this;const{name:a}=e.node.property.id;const{id:o,static:l,method:u,setId:c,getId:p}=s.get(a);const f=p||c;if(l){const s=u&&!f?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return n.types.callExpression(i.addHelper(s),[this.receiver(e),n.types.cloneNode(r),n.types.cloneNode(o),t])}if(u){if(c){return n.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),n.types.cloneNode(o),t])}return n.types.callExpression(i.addHelper("classPrivateMethodSet"),[])}return n.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),n.types.cloneNode(o),t])},destructureSet(e){const{privateNamesMap:t,file:r}=this;const{name:s}=e.node.property.id;const{id:i}=t.get(s);return n.types.memberExpression(n.types.callExpression(r.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),n.types.cloneNode(i)]),n.types.identifier("value"))},call(e,t){this.memoise(e,1);return(0,a.default)(this.get(e),this.receiver(e),t,false)},optionalCall(e,t){this.memoise(e,1);return(0,a.default)(this.get(e),this.receiver(e),t,true)}};const p={get(e){const{privateNamesMap:t,file:r}=this;const{object:s}=e.node;const{name:i}=e.node.property.id;return n.template.expression`BASE(REF, PROP)[PROP]`({BASE:r.addHelper("classPrivateFieldLooseBase"),REF:n.types.cloneNode(s),PROP:n.types.cloneNode(t.get(i).id)})},boundGet(e){return n.types.callExpression(n.types.memberExpression(this.get(e),n.types.identifier("bind")),[n.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return n.types.callExpression(this.get(e),t)},optionalCall(e,t){return n.types.optionalCallExpression(this.get(e),t,true)}};function transformPrivateNamesUsage(e,t,r,n,s){if(!r.size)return;const a=t.get("body");const o=n?p:c;(0,i.default)(a,l,Object.assign({privateNamesMap:r,classRef:e,file:s},o));a.traverse(u,{privateNamesMap:r,classRef:e,file:s,loose:n})}function buildPrivateFieldInitLoose(e,t,r){const{id:s}=r.get(t.node.key.id.name);const i=t.node.value||t.scope.buildUndefinedNode();return n.template.statement.ast` - Object.defineProperty(${e}, ${n.types.cloneNode(s)}, { - // configurable is false by default - // enumerable is false by default - writable: true, - value: ${i} }); - `}function buildPrivateInstanceFieldInitSpec(e,t,r){const{id:s}=r.get(t.node.key.id.name);const i=t.node.value||t.scope.buildUndefinedNode();return n.template.statement.ast`${n.types.cloneNode(s)}.set(${e}, { - // configurable is always false for private elements - // enumerable is always false for private elements - writable: true, - value: ${i}, - })`}function buildPrivateStaticFieldInitSpec(e,t){const r=t.get(e.node.key.id.name);const{id:s,getId:i,setId:a,initAdded:o}=r;const l=i||a;if(!e.isProperty()&&(o||!l))return;if(l){t.set(e.node.key.id.name,Object.assign({},r,{initAdded:true}));return n.template.statement.ast` - var ${n.types.cloneNode(s)} = { - // configurable is false by default - // enumerable is false by default - // writable is false by default - get: ${i?i.name:e.scope.buildUndefinedNode()}, - set: ${a?a.name:e.scope.buildUndefinedNode()} - } - `}const u=e.node.value||e.scope.buildUndefinedNode();return n.template.statement.ast` - var ${n.types.cloneNode(s)} = { - // configurable is false by default - // enumerable is false by default - writable: true, - value: ${u} - }; - `}function buildPrivateMethodInitLoose(e,t,r){const s=r.get(t.node.key.id.name);const{methodId:i,id:a,getId:o,setId:l,initAdded:u}=s;if(u)return;if(i){return n.template.statement.ast` - Object.defineProperty(${e}, ${a}, { - // configurable is false by default - // enumerable is false by default - // writable is false by default - value: ${i.name} + `};const f=(e,t,r)=>{const n=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:s}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(s.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||i.isIdentifier(l)){if(s.has(a)){return c.constantComputed(u)}else{return c.constant(u)}}else{return c.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?s.default.statement` + EXPORTS.__esModule = true; + `:s.default.statement` + Object.defineProperty(EXPORTS, "__esModule", { + value: true, }); - `}const c=o||l;if(c){r.set(t.node.key.id.name,Object.assign({},s,{initAdded:true}));return n.template.statement.ast` - Object.defineProperty(${e}, ${a}, { - // configurable is false by default - // enumerable is false by default - // writable is false by default - get: ${o?o.name:t.scope.buildUndefinedNode()}, - set: ${l?l.name:t.scope.buildUndefinedNode()} - }); - `}}function buildPrivateInstanceMethodInitSpec(e,t,r){const s=r.get(t.node.key.id.name);const{id:i,getId:a,setId:o,initAdded:l}=s;if(l)return;const u=a||o;if(u){r.set(t.node.key.id.name,Object.assign({},s,{initAdded:true}));return n.template.statement.ast` - ${i}.set(${e}, { - get: ${a?a.name:t.scope.buildUndefinedNode()}, - set: ${o?o.name:t.scope.buildUndefinedNode()} - }); - `}return n.template.statement.ast`${i}.add(${e})`}function buildPublicFieldInitLoose(e,t){const{key:r,computed:s}=t.node;const i=t.node.value||t.scope.buildUndefinedNode();return n.types.expressionStatement(n.types.assignmentExpression("=",n.types.memberExpression(e,r,s||n.types.isLiteral(r)),i))}function buildPublicFieldInitSpec(e,t,r){const{key:s,computed:i}=t.node;const a=t.node.value||t.scope.buildUndefinedNode();return n.types.expressionStatement(n.types.callExpression(r.addHelper("defineProperty"),[e,i||n.types.isLiteral(s)?s:n.types.stringLiteral(s.name),a]))}function buildPrivateStaticMethodInitLoose(e,t,r,s){const i=s.get(t.node.key.id.name);const{id:a,methodId:o,getId:l,setId:u,initAdded:c}=i;if(c)return;const p=l||u;if(p){s.set(t.node.key.id.name,Object.assign({},i,{initAdded:true}));return n.template.statement.ast` - Object.defineProperty(${e}, ${a}, { - // configurable is false by default - // enumerable is false by default - // writable is false by default - get: ${l?l.name:t.scope.buildUndefinedNode()}, - set: ${u?u.name:t.scope.buildUndefinedNode()} - }) - `}return n.template.statement.ast` - Object.defineProperty(${e}, ${a}, { - // configurable is false by default - // enumerable is false by default - // writable is false by default - value: ${o.name} - }); - `}function buildPrivateMethodDeclaration(e,t,r=false){const s=t.get(e.node.key.id.name);const{id:i,methodId:a,getId:o,setId:l,getterDeclared:u,setterDeclared:c,static:p}=s;const{params:f,body:d,generator:h,async:y}=e.node;const m=n.types.functionExpression(a,f,d,h,y);const g=o&&!u&&f.length===0;const b=l&&!c&&f.length>0;if(g){t.set(e.node.key.id.name,Object.assign({},s,{getterDeclared:true}));return n.types.variableDeclaration("var",[n.types.variableDeclarator(o,m)])}if(b){t.set(e.node.key.id.name,Object.assign({},s,{setterDeclared:true}));return n.types.variableDeclaration("var",[n.types.variableDeclarator(l,m)])}if(p&&!r){return n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.cloneNode(i),n.types.functionExpression(i,f,d,h,y))])}return n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.cloneNode(a),m)])}const f=n.traverse.visitors.merge([{ThisExpression(e,t){t.needsClassRef=true;e.replaceWith(n.types.cloneNode(t.classRef))}},s.environmentVisitor]);function replaceThisContext(e,t,r,i,a){const o={classRef:t,needsClassRef:false};const l=new s.default({methodPath:e,isLoose:a,superRef:r,file:i,getObjectRef(){o.needsClassRef=true;return e.node.static?t:n.types.memberExpression(t,n.types.identifier("prototype"))}});l.replace();if(e.isProperty()){e.traverse(f,o)}return o.needsClassRef}function buildFieldsInitNodes(e,t,r,s,i,a){const l=[];const u=[];let c=false;for(const p of r){o.assertFieldTransformed(p);const r=p.node.static;const f=!r;const d=p.isPrivate();const h=!d;const y=p.isProperty();const m=!y;if(r||m&&d){const r=replaceThisContext(p,e,t,i,a);c=c||r}switch(true){case r&&d&&y&&a:c=true;l.push(buildPrivateFieldInitLoose(n.types.cloneNode(e),p,s));break;case r&&d&&y&&!a:c=true;l.push(buildPrivateStaticFieldInitSpec(p,s));break;case r&&h&&y&&a:c=true;l.push(buildPublicFieldInitLoose(n.types.cloneNode(e),p));break;case r&&h&&y&&!a:c=true;l.push(buildPublicFieldInitSpec(n.types.cloneNode(e),p,i));break;case f&&d&&y&&a:u.push(buildPrivateFieldInitLoose(n.types.thisExpression(),p,s));break;case f&&d&&y&&!a:u.push(buildPrivateInstanceFieldInitSpec(n.types.thisExpression(),p,s));break;case f&&d&&m&&a:u.unshift(buildPrivateMethodInitLoose(n.types.thisExpression(),p,s));l.push(buildPrivateMethodDeclaration(p,s,a));break;case f&&d&&m&&!a:u.unshift(buildPrivateInstanceMethodInitSpec(n.types.thisExpression(),p,s));l.push(buildPrivateMethodDeclaration(p,s,a));break;case r&&d&&m&&!a:c=true;l.push(buildPrivateStaticFieldInitSpec(p,s));l.unshift(buildPrivateMethodDeclaration(p,s,a));break;case r&&d&&m&&a:c=true;l.push(buildPrivateStaticMethodInitLoose(n.types.cloneNode(e),p,i,s));l.unshift(buildPrivateMethodDeclaration(p,s,a));break;case f&&h&&y&&a:u.push(buildPublicFieldInitLoose(n.types.thisExpression(),p));break;case f&&h&&y&&!a:u.push(buildPublicFieldInitSpec(n.types.thisExpression(),p,i));break;default:throw new Error("Unreachable.")}}return{staticNodes:l.filter(Boolean),instanceNodes:u.filter(Boolean),wrapClass(t){for(const e of r){e.remove()}if(!c)return t;if(t.isClassExpression()){t.scope.push({id:e});t.replaceWith(n.types.assignmentExpression("=",n.types.cloneNode(e),t.node))}else if(!t.node.id){t.node.id=e}return t}}}},46919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(t,"injectInitialization",{enumerable:true,get:function(){return l.injectInitialization}});Object.defineProperty(t,"FEATURES",{enumerable:true,get:function(){return u.FEATURES}});var n=r(88509);var s=_interopRequireDefault(r(98733));var i=_interopRequireDefault(r(76729));var a=r(28211);var o=r(61143);var l=r(39306);var u=r(31331);var c=_interopRequireDefault(r(90520));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const p=c.default.version.split(".").reduce((e,t)=>e*1e5+ +t,0);const f="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:t,loose:r,manipulateOptions:c}){return{name:e,manipulateOptions:c,pre(){(0,u.enableFeature)(this.file,t,r);if(!this.file.get(f)||this.file.get(f)0){(0,l.injectInitialization)(e,c,P,(e,t)=>{if(d)return;for(const r of h){if(r.node.static)continue;r.traverse(e,t)}})}e=w(e);e.insertBefore([...x,...E]);e.insertAfter(S)},PrivateName(e){if(this.file.get(f)!==p||e.parentPath.isPrivate({key:e.node})){return}throw e.buildCodeFrameError(`Unknown PrivateName "${e}"`)},ExportDefaultDeclaration(e){if(this.file.get(f)!==p)return;const t=e.get("declaration");if(t.isClassDeclaration()&&(0,o.hasDecorators)(t.node)){if(t.node.id){(0,i.default)(e)}else{t.node.type="ClassExpression"}}}}}}},39306:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.injectInitialization=injectInitialization;t.extractComputedKeys=extractComputedKeys;var n=r(88509);var s=r(846);const i=n.traverse.visitors.merge([{Super(e){const{node:t,parentPath:r}=e;if(r.isCallExpression({callee:t})){this.push(r)}}},s.environmentVisitor]);const a={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e){if(this.scope.hasOwnBinding(e.node.name)){this.scope.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,t){if(t.classBinding&&t.classBinding===e.scope.getBinding(e.node.name)){const r=t.file.addHelper("classNameTDZError");const s=n.types.callExpression(r,[n.types.stringLiteral(e.node.name)]);e.replaceWith(n.types.sequenceExpression([s,e.node]));e.skip()}}const o={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,t,r,s){if(!r.length)return;const o=!!e.node.superClass;if(!t){const r=n.types.classMethod("constructor",n.types.identifier("constructor"),[],n.types.blockStatement([]));if(o){r.params=[n.types.restElement(n.types.identifier("args"))];r.body.body.push(n.template.statement.ast`super(...args)`)}[t]=e.get("body").unshiftContainer("body",r)}if(s){s(a,{scope:t.scope})}if(o){const e=[];t.traverse(i,e);let s=true;for(const t of e){if(s){t.insertAfter(r);s=false}else{t.insertAfter(r.map(e=>n.types.cloneNode(e)))}}}else{t.get("body").unshiftContainer("body",r)}}function extractComputedKeys(e,t,r,s){const i=[];const a={classBinding:t.node.id&&t.scope.getBinding(t.node.id.name),file:s};for(const e of r){const r=e.get("key");if(r.isReferencedIdentifier()){handleClassTDZ(r,a)}else{r.traverse(o,a)}const s=e.node;if(!r.isConstantExpression()){const e=t.scope.generateUidIdentifierBasedOnNode(s.key);t.scope.push({id:e,kind:"let"});i.push(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(e),s.key)));s.key=n.types.cloneNode(e)}}return i}},56534:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-proposal-class-properties\n`+` - @babel/plugin-proposal-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},8000:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(r(36900));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=Object.create(null);var i=s;t.default=i;const a=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});s.typeof=a("7.0.0-beta.0")` - export default function _typeof(obj) { - "@babel/helpers - typeof"; - - if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { - _typeof = function (obj) { return typeof obj; }; - } else { - _typeof = function (obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype - ? "symbol" - : typeof obj; - }; - } - - return _typeof(obj); - } -`;s.jsx=a("7.0.0-beta.0")` - var REACT_ELEMENT_TYPE; - - export default function _createRawReactElement(type, props, key, children) { - if (!REACT_ELEMENT_TYPE) { - REACT_ELEMENT_TYPE = ( - typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") - ) || 0xeac7; - } - - var defaultProps = type && type.defaultProps; - var childrenLength = arguments.length - 3; - - if (!props && childrenLength !== 0) { - // If we're going to assign props.children, we create a new object now - // to avoid mutating defaultProps. - props = { - children: void 0, - }; - } - - if (childrenLength === 1) { - props.children = children; - } else if (childrenLength > 1) { - var childArray = new Array(childrenLength); - for (var i = 0; i < childrenLength; i++) { - childArray[i] = arguments[i + 3]; - } - props.children = childArray; - } + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?s.default.statement` + Object.keys(NAMESPACE).forEach(function(key) { + if (key === "default" || key === "__esModule") return; + VERIFY_NAME_LIST; + if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; - if (props && defaultProps) { - for (var propName in defaultProps) { - if (props[propName] === void 0) { - props[propName] = defaultProps[propName]; - } - } - } else if (!props) { - props = defaultProps || {}; - } + EXPORTS[key] = NAMESPACE[key]; + }); + `:s.default.statement` + Object.keys(NAMESPACE).forEach(function(key) { + if (key === "default" || key === "__esModule") return; + VERIFY_NAME_LIST; + if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; - return { - $$typeof: REACT_ELEMENT_TYPE, - type: type, - key: key === undefined ? null : '' + key, - ref: null, - props: props, - _owner: null, - }; - } -`;s.asyncIterator=a("7.0.0-beta.0")` + Object.defineProperty(EXPORTS, key, { + enumerable: true, + get: function() { + return NAMESPACE[key]; + }, + }); + }); + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,s.default)` + if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const s=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:s.name,statement:i.variableDeclaration("var",[i.variableDeclarator(s,i.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false,n=false){const s=[];const a=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){s.push(buildInitStatement(t,r.names,i.identifier(e)))}else{a.push(...r.names)}}for(const e of t.source.values()){if(!r){s.push(...f(t,e,false))}for(const t of e.reexportNamespace){a.push(t)}}if(!n){s.push(...chunk(a,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}))}return s}const d={computed:s.default.expression`EXPORTS["NAME"] = VALUE`,default:s.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:s}=e;return i.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:s,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var i=r(91186);var s=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:i=false,esNamespaceOnly:s=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(s&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,i.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},i){const s=getLocalExportMetadata(e,r,i);const a=new Map;const o=t=>{const r=t.value;let i=a.get(r);if(!i){i={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=s.get(r);if(n){s.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=s.get(r);if(n){s.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),i);const n=e.get("local").node.name;t.imports.set(n,r);const a=s.get(n);if(a){s.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),i);const n=getExportSpecifierName(e.get("exported"),i);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:s,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const i=new Map;const s=e=>{const t=e.node.name;let r=i.get(t);if(!r){const s=n.get(t);if(s===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:s};i.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}s(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const i=s(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){s(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,s.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},50549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var i=r(30315);var s=r(36900);var a=r(62248);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const s=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,i]of n.imports){r.set(t,[e,i,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:s,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:s,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],s)=>{const a=t.source.get(e);if(n){if(a.lazy)s=i.callExpression(s,[]);return s}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return i.memberExpression(o,l?i.stringLiteral(r):i.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:s}=e.node;if(!s)throw new Error("Expected class to have a name");const a=s.name;const o=r.get(a)||[];if(o.length>0){const r=i.expressionStatement(l(n,o,i.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(s=>{const a=r.get(s)||[];if(a.length>0){const r=i.expressionStatement(l(n,a,i.identifier(s)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const s=n.has(r);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),s?i.stringLiteral(r):i.identifier(r),s),t)},r)};const u=e=>{return s.default.expression.ast` + (function() { + throw new Error('"' + '${e}' + '" is read-only.'); + })() + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:s,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=s.get(o);if(l){const t=e.scope.getBinding(o);const s=n.getBinding(o);if(s!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(u)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:s,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const c=e.get("left");if(c.isMemberExpression())return;if(c.isIdentifier()){const r=c.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const f=a.get(r);const d=s.get(r);if((f==null?void 0:f.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=i.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,f,t));o(e)}}else{const r=c.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>s.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,u(p)])}const f=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){f.push(l(this.metadata,t,i.identifier(e)))}});if(f.length>0){let t=i.sequenceExpression(f);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:s,imported:a,scope:o}=this;if(!i.isVariableDeclaration(n)){let r=false,l;const p=e.get("body").scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(n))){if(o.getBinding(e)===t.getBinding(e)){if(s.has(e)){r=true;if(p.hasOwnBinding(e)){p.rename(e)}}if(a.has(e)&&!l){l=e}}}if(!r&&!l){return}e.ensureBlock();const c=e.get("body");const f=t.generateUidIdentifierBasedOnNode(n);e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(f))]));t.registerDeclaration(e.get("left"));if(r){c.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",n,f)))}if(l){c.unshiftContainer("body",i.expressionStatement(u(l)))}}}}},57789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(2349);var i=r(14126);var s=r(30315);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(s.unaryExpression("void",s.numericLiteral(0),true))}}])},57836:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},2349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.skipAllButComputedKey=skipAllButComputedKey;t.default=t.environmentVisitor=void 0;var n=r(14126);var i=r(68660);var s=r(68720);var a=r(30315);function getPrototypeOfExpression(e,t,r,n){e=a.cloneNode(e);const i=t||n?e:a.memberExpression(e,a.identifier("prototype"));return a.callExpression(r.addHelper("getPrototypeOf"),[i])}function skipAllButComputedKey(e){if(!e.node.computed){e.skip();return}const t=a.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}const o={[`${a.staticBlock?"StaticBlock|":""}ClassPrivateProperty|TypeAnnotation`](e){e.skip()},Function(e){if(e.isMethod())return;if(e.isArrowFunctionExpression())return;e.skip()},"Method|ClassProperty"(e){skipAllButComputedKey(e)}};t.environmentVisitor=o;const l=n.default.visitors.merge([o,{Super(e,t){const{node:r,parentPath:n}=e;if(!n.isMemberExpression({object:r}))return;t.handle(n)}}]);const u=n.default.visitors.merge([o,{Scopable(e,{refName:t}){const r=e.scope.getOwnBinding(t);if(r&&r.identifier.name===t){e.scope.rename(t)}}}]);const p={memoise(e,t){const{scope:r,node:n}=e;const{computed:i,property:s}=n;if(!i){return}const a=r.maybeGenerateMemoised(s);if(!a){return}this.memoiser.set(s,a,t)},prop(e){const{computed:t,property:r}=e.node;if(this.memoiser.has(r)){return a.cloneNode(this.memoiser.get(r))}if(t){return a.cloneNode(r)}return a.stringLiteral(r.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("get"),[t.memo?a.sequenceExpression([t.memo,r]):r,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:a.thisExpression()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:a.assignmentExpression("=",e,a.thisExpression()),this:a.cloneNode(e)}},set(e,t){const r=this._getThisRefs();const n=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("set"),[r.memo?a.sequenceExpression([r.memo,n]):n,this.prop(e),t,r.this,a.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const r=this._getThisRefs();return(0,s.default)(this._get(e,r),a.cloneNode(r.this),t,false)},optionalCall(e,t){const r=this._getThisRefs();return(0,s.default)(this._get(e,r),a.cloneNode(r.this),t,true)}};const c=Object.assign({},p,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return a.cloneNode(this.memoiser.get(t))}return a.cloneNode(t)},get(e){const{isStatic:t,getSuperRef:r}=this;const{computed:n}=e.node;const i=this.prop(e);let s;if(t){var o;s=(o=r())!=null?o:a.memberExpression(a.identifier("Function"),a.identifier("prototype"))}else{var l;s=a.memberExpression((l=r())!=null?l:a.identifier("Object"),a.identifier("prototype"))}return a.memberExpression(s,i,n)},set(e,t){const{computed:r}=e.node;const n=this.prop(e);return a.assignmentExpression("=",a.memberExpression(a.thisExpression(),n,r),t)},destructureSet(e){const{computed:t}=e.node;const r=this.prop(e);return a.memberExpression(a.thisExpression(),r,t)},call(e,t){return(0,s.default)(this.get(e),a.thisExpression(),t,false)},optionalCall(e,t){return(0,s.default)(this.get(e),a.thisExpression(),t,true)}});class ReplaceSupers{constructor(e){var t;const r=e.methodPath;this.methodPath=r;this.isDerivedConstructor=r.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=r.isObjectMethod()||r.node.static||(r.isStaticBlock==null?void 0:r.isStaticBlock());this.isPrivateMethod=r.isPrivate()&&r.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return a.cloneNode(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return a.cloneNode(this.opts.superRef);if(this.opts.getSuperRef)return a.cloneNode(this.opts.getSuperRef())}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(u,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?c:p;(0,i.default)(this.methodPath,l,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:e.get},e))}}t.default=ReplaceSupers},62248:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(30315);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const i=e.get("argument");if(!i.isIdentifier())return;const s=i.node.name;if(!r.has(s))return;if(t.getBinding(s)!==e.scope.getBinding(s)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,i.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(s),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",i.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const r=t.name;e.scope.push({id:t});const s=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",i.node)),n.assignmentExpression("=",n.cloneNode(i.node),s),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:i}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const s=e.get("left");if(!s.isIdentifier())return;const a=s.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}const o=e.node.operator.slice(0,-1);if(n.LOGICAL_OPERATORS.includes(o)){e.replaceWith(n.logicalExpression(o,e.node.left,n.assignmentExpression("=",n.cloneNode(e.node.left),e.node.right)))}else{e.node.right=n.binaryExpression(o,n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}}},2963:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(2963);var i=r(40862)},40862:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},98319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var n=r(36900);const i={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=i;const s={minVersion:"7.5.0",ast:()=>n.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=s;const a={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>n.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},96224:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36900);var i=r(98319);const s=Object.assign({__proto__:null},i);var a=s;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});s.asyncIterator=o("7.0.0-beta.0")` export default function _asyncIterator(iterable) { - var method + var method; if (typeof Symbol !== "undefined") { - if (Symbol.asyncIterator) { - method = iterable[Symbol.asyncIterator] - if (method != null) return method.call(iterable); - } - if (Symbol.iterator) { - method = iterable[Symbol.iterator] - if (method != null) return method.call(iterable); - } + if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator]; + if (method == null && Symbol.iterator) method = iterable[Symbol.iterator]; } - throw new TypeError("Object is not async iterable"); + if (method == null) method = iterable["@@asyncIterator"]; + if (method == null) method = iterable["@@iterator"] + if (method == null) throw new TypeError("Object is not async iterable"); + return method.call(iterable); } -`;s.AwaitValue=a("7.0.0-beta.0")` +`;s.AwaitValue=o("7.0.0-beta.0")` export default function _AwaitValue(value) { this.wrapped = value; } -`;s.AsyncGenerator=a("7.0.0-beta.0")` +`;s.AsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function AsyncGenerator(gen) { @@ -2178,14 +2194,12 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } } - if (typeof Symbol === "function" && Symbol.asyncIterator) { - AsyncGenerator.prototype[Symbol.asyncIterator] = function () { return this; }; - } + AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; }; AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); }; AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); }; AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); }; -`;s.wrapAsyncGenerator=a("7.0.0-beta.0")` +`;s.wrapAsyncGenerator=o("7.0.0-beta.0")` import AsyncGenerator from "AsyncGenerator"; export default function _wrapAsyncGenerator(fn) { @@ -2193,13 +2207,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return new AsyncGenerator(fn.apply(this, arguments)); }; } -`;s.awaitAsyncGenerator=a("7.0.0-beta.0")` +`;s.awaitAsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function _awaitAsyncGenerator(value) { return new AwaitValue(value); } -`;s.asyncGeneratorDelegate=a("7.0.0-beta.0")` +`;s.asyncGeneratorDelegate=o("7.0.0-beta.0")` export default function _asyncGeneratorDelegate(inner, awaitWrap) { var iter = {}, waiting = false; @@ -2209,9 +2223,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return { done: false, value: awaitWrap(value) }; }; - if (typeof Symbol === "function" && Symbol.iterator) { - iter[Symbol.iterator] = function () { return this; }; - } + iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () { return this; }; iter.next = function (value) { if (waiting) { @@ -2243,7 +2255,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return iter; } -`;s.asyncToGenerator=a("7.0.0-beta.0")` +`;s.asyncToGenerator=o("7.0.0-beta.0")` function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); @@ -2276,13 +2288,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); }; } -`;s.classCallCheck=a("7.0.0-beta.0")` +`;s.classCallCheck=o("7.0.0-beta.0")` export default function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -`;s.createClass=a("7.0.0-beta.0")` +`;s.createClass=o("7.0.0-beta.0")` function _defineProperties(target, props) { for (var i = 0; i < props.length; i ++) { var descriptor = props[i]; @@ -2298,7 +2310,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } -`;s.defineEnumerableProperties=a("7.0.0-beta.0")` +`;s.defineEnumerableProperties=o("7.0.0-beta.0")` export default function _defineEnumerableProperties(obj, descs) { for (var key in descs) { var desc = descs[key]; @@ -2322,7 +2334,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;s.defaults=a("7.0.0-beta.0")` +`;s.defaults=o("7.0.0-beta.0")` export default function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { @@ -2334,7 +2346,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;s.defineProperty=a("7.0.0-beta.0")` +`;s.defineProperty=o("7.0.0-beta.0")` export default function _defineProperty(obj, key, value) { // Shortcircuit the slow defineProperty path when possible. // We are trying to avoid issues where setters defined on the @@ -2353,7 +2365,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;s.extends=a("7.0.0-beta.0")` +`;s.extends=o("7.0.0-beta.0")` export default function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { @@ -2369,7 +2381,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _extends.apply(this, arguments); } -`;s.objectSpread=a("7.0.0-beta.0")` +`;s.objectSpread=o("7.0.0-beta.0")` import defineProperty from "defineProperty"; export default function _objectSpread(target) { @@ -2387,47 +2399,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return target; } -`;s.objectSpread2=a("7.5.0")` - import defineProperty from "defineProperty"; - - // This function is different to "Reflect.ownKeys". The enumerableOnly - // filters on symbol properties only. Returned string properties are always - // enumerable. It is good to use in objectSpread. - - function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - if (enumerableOnly) symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - keys.push.apply(keys, symbols); - } - return keys; - } - - export default function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = (arguments[i] != null) ? arguments[i] : {}; - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty( - target, - key, - Object.getOwnPropertyDescriptor(source, key) - ); - }); - } - } - return target; - } -`;s.inherits=a("7.0.0-beta.0")` +`;s.inherits=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inherits(subClass, superClass) { @@ -2443,13 +2415,15 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); if (superClass) setPrototypeOf(subClass, superClass); } -`;s.inheritsLoose=a("7.0.0-beta.0")` +`;s.inheritsLoose=o("7.0.0-beta.0")` + import setPrototypeOf from "setPrototypeOf"; + export default function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; - subClass.__proto__ = superClass; + setPrototypeOf(subClass, superClass); } -`;s.getPrototypeOf=a("7.0.0-beta.0")` +`;s.getPrototypeOf=o("7.0.0-beta.0")` export default function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf @@ -2458,7 +2432,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _getPrototypeOf(o); } -`;s.setPrototypeOf=a("7.0.0-beta.0")` +`;s.setPrototypeOf=o("7.0.0-beta.0")` export default function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; @@ -2466,7 +2440,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _setPrototypeOf(o, p); } -`;s.isNativeReflectConstruct=a("7.9.0")` +`;s.isNativeReflectConstruct=o("7.9.0")` export default function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; @@ -2484,14 +2458,15 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m // use our fallback implementation. try { // If the internal slots aren't set, this throws an error similar to - // TypeError: this is not a Date object. - Date.prototype.toString.call(Reflect.construct(Date, [], function() {})); + // TypeError: this is not a Boolean object. + + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); return true; } catch (e) { return false; } } -`;s.construct=a("7.0.0-beta.0")` +`;s.construct=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; @@ -2514,12 +2489,12 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m // present in the original call. return _construct.apply(null, arguments); } -`;s.isNativeFunction=a("7.0.0-beta.0")` +`;s.isNativeFunction=o("7.0.0-beta.0")` export default function _isNativeFunction(fn) { // Note: This function returns "true" for core-js functions. return Function.toString.call(fn).indexOf("[native code]") !== -1; } -`;s.wrapNativeSuper=a("7.0.0-beta.0")` +`;s.wrapNativeSuper=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; import setPrototypeOf from "setPrototypeOf"; import isNativeFunction from "isNativeFunction"; @@ -2554,7 +2529,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _wrapNativeSuper(Class) } -`;s.instanceof=a("7.0.0-beta.0")` +`;s.instanceof=o("7.0.0-beta.0")` export default function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return !!right[Symbol.hasInstance](left); @@ -2562,21 +2537,23 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return left instanceof right; } } -`;s.interopRequireDefault=a("7.0.0-beta.0")` +`;s.interopRequireDefault=o("7.0.0-beta.0")` export default function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -`;s.interopRequireWildcard=a("7.0.0-beta.0")` - function _getRequireWildcardCache() { +`;s.interopRequireWildcard=o("7.14.0")` + function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; - var cache = new WeakMap(); - _getRequireWildcardCache = function () { return cache; }; - return cache; + var cacheBabelInterop = new WeakMap(); + var cacheNodeInterop = new WeakMap(); + return (_getRequireWildcardCache = function (nodeInterop) { + return nodeInterop ? cacheNodeInterop : cacheBabelInterop; + })(nodeInterop); } - export default function _interopRequireWildcard(obj) { - if (obj && obj.__esModule) { + export default function _interopRequireWildcard(obj, nodeInterop) { + if (!nodeInterop && obj && obj.__esModule) { return obj; } @@ -2584,7 +2561,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return { default: obj } } - var cache = _getRequireWildcardCache(); + var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } @@ -2592,7 +2569,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { - if (Object.prototype.hasOwnProperty.call(obj, key)) { + if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; @@ -2609,17 +2586,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return newObj; } -`;s.newArrowCheck=a("7.0.0-beta.0")` +`;s.newArrowCheck=o("7.0.0-beta.0")` export default function _newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } -`;s.objectDestructuringEmpty=a("7.0.0-beta.0")` +`;s.objectDestructuringEmpty=o("7.0.0-beta.0")` export default function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure undefined"); } -`;s.objectWithoutPropertiesLoose=a("7.0.0-beta.0")` +`;s.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` export default function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; @@ -2635,7 +2612,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;s.objectWithoutProperties=a("7.0.0-beta.0")` +`;s.objectWithoutProperties=o("7.0.0-beta.0")` import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose"; export default function _objectWithoutProperties(source, excluded) { @@ -2656,23 +2633,26 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;s.assertThisInitialized=a("7.0.0-beta.0")` +`;s.assertThisInitialized=o("7.0.0-beta.0")` export default function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } -`;s.possibleConstructorReturn=a("7.0.0-beta.0")` +`;s.possibleConstructorReturn=o("7.0.0-beta.0")` import assertThisInitialized from "assertThisInitialized"; export default function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); } + return assertThisInitialized(self); } -`;s.createSuper=a("7.9.0")` +`;s.createSuper=o("7.9.0")` import getPrototypeOf from "getPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; import possibleConstructorReturn from "possibleConstructorReturn"; @@ -2692,7 +2672,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return possibleConstructorReturn(this, result); } } - `;s.superPropBase=a("7.0.0-beta.0")` + `;s.superPropBase=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; export default function _superPropBase(object, property) { @@ -2703,7 +2683,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return object; } -`;s.get=a("7.0.0-beta.0")` +`;s.get=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; export default function _get(target, property, receiver) { @@ -2725,7 +2705,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _get(target, property, receiver || target); } -`;s.set=a("7.0.0-beta.0")` +`;s.set=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; import defineProperty from "defineProperty"; @@ -2780,43 +2760,47 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;s.taggedTemplateLiteral=a("7.0.0-beta.0")` +`;s.taggedTemplateLiteral=o("7.0.0-beta.0")` export default function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } -`;s.taggedTemplateLiteralLoose=a("7.0.0-beta.0")` +`;s.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` export default function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; } -`;s.readOnlyError=a("7.0.0-beta.0")` +`;s.readOnlyError=o("7.0.0-beta.0")` export default function _readOnlyError(name) { throw new TypeError("\\"" + name + "\\" is read-only"); } -`;s.classNameTDZError=a("7.0.0-beta.0")` +`;s.writeOnlyError=o("7.12.13")` + export default function _writeOnlyError(name) { + throw new TypeError("\\"" + name + "\\" is write-only"); + } +`;s.classNameTDZError=o("7.0.0-beta.0")` export default function _classNameTDZError(name) { throw new Error("Class \\"" + name + "\\" cannot be referenced in computed property keys."); } -`;s.temporalUndefined=a("7.0.0-beta.0")` +`;s.temporalUndefined=o("7.0.0-beta.0")` // This function isn't mean to be called, but to be used as a reference. // We can't use a normal object because it isn't hoisted. export default function _temporalUndefined() {} -`;s.tdz=a("7.5.5")` +`;s.tdz=o("7.5.5")` export default function _tdzError(name) { throw new ReferenceError(name + " is not defined - temporal dead zone"); } -`;s.temporalRef=a("7.0.0-beta.0")` +`;s.temporalRef=o("7.0.0-beta.0")` import undef from "temporalUndefined"; import err from "tdz"; export default function _temporalRef(val, name) { return val === undef ? err(name) : val; } -`;s.slicedToArray=a("7.0.0-beta.0")` +`;s.slicedToArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimit from "iterableToArrayLimit"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -2830,7 +2814,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;s.slicedToArrayLoose=a("7.0.0-beta.0")` +`;s.slicedToArrayLoose=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimitLoose from "iterableToArrayLimitLoose"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -2844,7 +2828,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;s.toArray=a("7.0.0-beta.0")` +`;s.toArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -2858,7 +2842,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;s.toConsumableArray=a("7.0.0-beta.0")` +`;s.toConsumableArray=o("7.0.0-beta.0")` import arrayWithoutHoles from "arrayWithoutHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -2872,17 +2856,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableSpread() ); } -`;s.arrayWithoutHoles=a("7.0.0-beta.0")` +`;s.arrayWithoutHoles=o("7.0.0-beta.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return arrayLikeToArray(arr); } -`;s.arrayWithHoles=a("7.0.0-beta.0")` +`;s.arrayWithHoles=o("7.0.0-beta.0")` export default function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -`;s.maybeArrayLike=a("7.9.0")` +`;s.maybeArrayLike=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _maybeArrayLike(next, arr, i) { @@ -2892,11 +2876,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return next(arr, i); } -`;s.iterableToArray=a("7.0.0-beta.0")` +`;s.iterableToArray=o("7.0.0-beta.0")` export default function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); + if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } -`;s.iterableToArrayLimit=a("7.0.0-beta.0")` +`;s.iterableToArrayLimit=o("7.0.0-beta.0")` export default function _iterableToArrayLimit(arr, i) { // this is an expanded form of \`for...of\` that properly supports abrupt completions of // iterators etc. variable names have been minimised to reduce the size of this massive @@ -2908,14 +2892,15 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m // _i = _iterator // _s = _step - if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; + var _i = arr == null ? null : (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); + if (_i == null) return; var _arr = []; var _n = true; var _d = false; - var _e = undefined; + var _s, _e; try { - for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { + for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } @@ -2931,18 +2916,19 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;s.iterableToArrayLimitLoose=a("7.0.0-beta.0")` +`;s.iterableToArrayLimitLoose=o("7.0.0-beta.0")` export default function _iterableToArrayLimitLoose(arr, i) { - if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; + var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); + if (_i == null) return; var _arr = []; - for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { + for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) { _arr.push(_step.value); if (i && _arr.length === i) break; } return _arr; } -`;s.unsupportedIterableToArray=a("7.9.0")` +`;s.unsupportedIterableToArray=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _unsupportedIterableToArray(o, minLen) { @@ -2954,25 +2940,25 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); } -`;s.arrayLikeToArray=a("7.9.0")` +`;s.arrayLikeToArray=o("7.9.0")` export default function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } -`;s.nonIterableSpread=a("7.0.0-beta.0")` +`;s.nonIterableSpread=o("7.0.0-beta.0")` export default function _nonIterableSpread() { throw new TypeError( "Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;s.nonIterableRest=a("7.0.0-beta.0")` +`;s.nonIterableRest=o("7.0.0-beta.0")` export default function _nonIterableRest() { throw new TypeError( "Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;s.createForOfIteratorHelper=a("7.9.0")` +`;s.createForOfIteratorHelper=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; // s: start (create the iterator) @@ -2981,8 +2967,9 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m // f: finish (always called at the end) export default function _createForOfIteratorHelper(o, allowArrayLike) { - var it; - if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; + + if (!it) { // Fallback for engines without symbol support if ( Array.isArray(o) || @@ -3010,7 +2997,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return { s: function() { - it = o[Symbol.iterator](); + it = it.call(o); }, n: function() { var step = it.next(); @@ -3030,34 +3017,31 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } }; } -`;s.createForOfIteratorHelperLoose=a("7.9.0")` +`;s.createForOfIteratorHelperLoose=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { - var it; + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; - if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { - // Fallback for engines without symbol support - if ( - Array.isArray(o) || - (it = unsupportedIterableToArray(o)) || - (allowArrayLike && o && typeof o.length === "number") - ) { - if (it) o = it; - var i = 0; - return function() { - if (i >= o.length) return { done: true }; - return { done: false, value: o[i++] }; - } - } + if (it) return (it = it.call(o)).next.bind(it); - throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + // Fallback for engines without symbol support + if ( + Array.isArray(o) || + (it = unsupportedIterableToArray(o)) || + (allowArrayLike && o && typeof o.length === "number") + ) { + if (it) o = it; + var i = 0; + return function() { + if (i >= o.length) return { done: true }; + return { done: false, value: o[i++] }; + } } - it = o[Symbol.iterator](); - return it.next.bind(it); + throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -`;s.skipFirstGeneratorNext=a("7.0.0-beta.0")` +`;s.skipFirstGeneratorNext=o("7.0.0-beta.0")` export default function _skipFirstGeneratorNext(fn) { return function () { var it = fn.apply(this, arguments); @@ -3065,7 +3049,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return it; } } -`;s.toPrimitive=a("7.1.5")` +`;s.toPrimitive=o("7.1.5")` export default function _toPrimitive( input, hint /*: "default" | "string" | "number" | void */ @@ -3079,21 +3063,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return (hint === "string" ? String : Number)(input); } -`;s.toPropertyKey=a("7.1.5")` +`;s.toPropertyKey=o("7.1.5")` import toPrimitive from "toPrimitive"; export default function _toPropertyKey(arg) { var key = toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } -`;s.initializerWarningHelper=a("7.0.0-beta.0")` +`;s.initializerWarningHelper=o("7.0.0-beta.0")` export default function _initializerWarningHelper(descriptor, context){ throw new Error( 'Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.' ); } -`;s.initializerDefineProperty=a("7.0.0-beta.0")` +`;s.initializerDefineProperty=o("7.0.0-beta.0")` export default function _initializerDefineProperty(target, property, descriptor, context){ if (!descriptor) return; @@ -3104,7 +3088,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m value: descriptor.initializer ? descriptor.initializer.call(context) : void 0, }); } -`;s.applyDecoratedDescriptor=a("7.0.0-beta.0")` +`;s.applyDecoratedDescriptor=o("7.0.0-beta.0")` export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){ var desc = {}; Object.keys(descriptor).forEach(function(key){ @@ -3132,35 +3116,85 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return desc; } -`;s.classPrivateFieldLooseKey=a("7.0.0-beta.0")` +`;s.classPrivateFieldLooseKey=o("7.0.0-beta.0")` var id = 0; export default function _classPrivateFieldKey(name) { return "__private_" + (id++) + "_" + name; } -`;s.classPrivateFieldLooseBase=a("7.0.0-beta.0")` +`;s.classPrivateFieldLooseBase=o("7.0.0-beta.0")` export default function _classPrivateFieldBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } -`;s.classPrivateFieldGet=a("7.0.0-beta.0")` +`;s.classPrivateFieldGet=o("7.0.0-beta.0")` + import classApplyDescriptorGet from "classApplyDescriptorGet"; + import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldGet(receiver, privateMap) { - var descriptor = privateMap.get(receiver); - if (!descriptor) { - throw new TypeError("attempted to get private field on non-instance"); + var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get"); + return classApplyDescriptorGet(receiver, descriptor); + } +`;s.classPrivateFieldSet=o("7.0.0-beta.0")` + import classApplyDescriptorSet from "classApplyDescriptorSet"; + import classExtractFieldDescriptor from "classExtractFieldDescriptor"; + export default function _classPrivateFieldSet(receiver, privateMap, value) { + var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); + classApplyDescriptorSet(receiver, descriptor, value); + return value; + } +`;s.classPrivateFieldDestructureSet=o("7.4.4")` + import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; + import classExtractFieldDescriptor from "classExtractFieldDescriptor"; + export default function _classPrivateFieldDestructureSet(receiver, privateMap) { + var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); + return classApplyDescriptorDestructureSet(receiver, descriptor); + } +`;s.classExtractFieldDescriptor=o("7.13.10")` + export default function _classExtractFieldDescriptor(receiver, privateMap, action) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to " + action + " private field on non-instance"); } + return privateMap.get(receiver); + } +`;s.classStaticPrivateFieldSpecGet=o("7.0.2")` + import classApplyDescriptorGet from "classApplyDescriptorGet"; + import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; + import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; + export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) { + classCheckPrivateStaticAccess(receiver, classConstructor); + classCheckPrivateStaticFieldDescriptor(descriptor, "get"); + return classApplyDescriptorGet(receiver, descriptor); + } +`;s.classStaticPrivateFieldSpecSet=o("7.0.2")` + import classApplyDescriptorSet from "classApplyDescriptorSet"; + import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; + import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; + export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) { + classCheckPrivateStaticAccess(receiver, classConstructor); + classCheckPrivateStaticFieldDescriptor(descriptor, "set"); + classApplyDescriptorSet(receiver, descriptor, value); + return value; + } +`;s.classStaticPrivateMethodGet=o("7.3.2")` + import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; + export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { + classCheckPrivateStaticAccess(receiver, classConstructor); + return method; + } +`;s.classStaticPrivateMethodSet=o("7.3.2")` + export default function _classStaticPrivateMethodSet() { + throw new TypeError("attempted to set read only static private field"); + } +`;s.classApplyDescriptorGet=o("7.13.10")` + export default function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; } -`;s.classPrivateFieldSet=a("7.0.0-beta.0")` - export default function _classPrivateFieldSet(receiver, privateMap, value) { - var descriptor = privateMap.get(receiver); - if (!descriptor) { - throw new TypeError("attempted to set private field on non-instance"); - } +`;s.classApplyDescriptorSet=o("7.13.10")` + export default function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); } else { @@ -3170,18 +3204,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m // class bodies. throw new TypeError("attempted to set read only private field"); } - descriptor.value = value; } - - return value; } -`;s.classPrivateFieldDestructureSet=a("7.4.4")` - export default function _classPrivateFieldDestructureSet(receiver, privateMap) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to set private field on non-instance"); - } - var descriptor = privateMap.get(receiver); +`;s.classApplyDescriptorDestructureSet=o("7.13.10")` + export default function _classApplyDescriptorDestructureSet(receiver, descriptor) { if (descriptor.set) { if (!("__destrObj" in descriptor)) { descriptor.__destrObj = { @@ -3202,47 +3229,28 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return descriptor; } } -`;s.classStaticPrivateFieldSpecGet=a("7.0.2")` - export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) { - if (receiver !== classConstructor) { - throw new TypeError("Private static access of wrong provenance"); - } - if (descriptor.get) { - return descriptor.get.call(receiver); - } - return descriptor.value; +`;s.classStaticPrivateFieldDestructureSet=o("7.13.10")` + import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; + import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; + import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; + export default function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) { + classCheckPrivateStaticAccess(receiver, classConstructor); + classCheckPrivateStaticFieldDescriptor(descriptor, "set"); + return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;s.classStaticPrivateFieldSpecSet=a("7.0.2")` - export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) { +`;s.classCheckPrivateStaticAccess=o("7.13.10")` + export default function _classCheckPrivateStaticAccess(receiver, classConstructor) { if (receiver !== classConstructor) { throw new TypeError("Private static access of wrong provenance"); } - if (descriptor.set) { - descriptor.set.call(receiver, value); - } else { - if (!descriptor.writable) { - // This should only throw in strict mode, but class bodies are - // always strict and private fields can only be used inside - // class bodies. - throw new TypeError("attempted to set read only private field"); - } - descriptor.value = value; - } - - return value; } -`;s.classStaticPrivateMethodGet=a("7.3.2")` - export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { - if (receiver !== classConstructor) { - throw new TypeError("Private static access of wrong provenance"); +`;s.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` + export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { + if (descriptor === undefined) { + throw new TypeError("attempted to " + action + " private static field before its declaration"); } - return method; } -`;s.classStaticPrivateMethodSet=a("7.3.2")` - export default function _classStaticPrivateMethodSet() { - throw new TypeError("attempted to set read only static private field"); - } -`;s.decorate=a("7.1.5")` +`;s.decorate=o("7.1.5")` import toArray from "toArray"; import toPropertyKey from "toPropertyKey"; @@ -3914,89 +3922,116 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;s.classPrivateMethodGet=a("7.1.6")` +`;s.classPrivateMethodGet=o("7.1.6")` export default function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; } -`;s.classPrivateMethodSet=a("7.1.6")` - export default function _classPrivateMethodSet() { - throw new TypeError("attempted to reassign private method"); - } -`;s.wrapRegExp=a("7.2.6")` - import wrapNativeSuper from "wrapNativeSuper"; - import getPrototypeOf from "getPrototypeOf"; - import possibleConstructorReturn from "possibleConstructorReturn"; - import inherits from "inherits"; - - export default function _wrapRegExp(re, groups) { - _wrapRegExp = function(re, groups) { - return new BabelRegExp(re, undefined, groups); - }; - - var _RegExp = wrapNativeSuper(RegExp); - var _super = RegExp.prototype; - var _groups = new WeakMap(); - - function BabelRegExp(re, flags, groups) { - var _this = _RegExp.call(this, re, flags); - // if the regex is recreated with 'g' flag - _groups.set(_this, groups || _groups.get(re)); - return _this; +`;{s.classPrivateMethodSet=o("7.1.6")` + export default function _classPrivateMethodSet() { + throw new TypeError("attempted to reassign private method"); } - inherits(BabelRegExp, _RegExp); + `}},19219:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var n=r(14126);var i=r(30315);var s=r(96224);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const r=new Set;const i=new Map;let a;let o;const l=[];const u=[];const p=[];const c={ImportDeclaration(e){const t=e.node.source.value;if(!s.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const r=e.node.specifiers[0].local;i.set(r,t);u.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const f={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(i.has(t[e].identifier))return;r.add(e)})},ReferencedIdentifier(e){const r=e.node.name;const n=e.scope.getBinding(r,true);if(!n){t.add(r)}else if(i.has(n.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const r=e.scope.getBinding(a);if(r!=null&&r.scope.path.isProgram()){l.push(makePath(e))}}};(0,n.default)(e.ast,c,e.scope);(0,n.default)(e.ast,f,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:i,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:u}}function permuteHelperAST(e,t,r,s,a){if(s&&!r){throw new Error("Unexpected local bindings for module-based helpers.")}if(!r)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:u,exportPath:p,exportName:c,importBindingsReferences:f,importPaths:d}=t;const y={};l.forEach((e,t)=>{y[t.name]=typeof a==="function"&&a(e)||t});const h={};const m=new Set(s||[]);o.forEach(e=>{let t=e;while(m.has(t))t="_"+t;if(t!==e)h[e]=t});if(r.type==="Identifier"&&c!==r.name){h[c]=r.name}const T={Program(e){const t=e.get(p);const n=d.map(t=>e.get(t));const s=f.map(t=>e.get(t));const a=t.get("declaration");if(r.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(i.variableDeclaration("var",[i.variableDeclarator(r,a.node)]))}}else if(r.type==="MemberExpression"){if(a.isFunctionDeclaration()){u.forEach(t=>{const n=e.get(t);n.replaceWith(i.assignmentExpression("=",r,n.node))});t.replaceWith(a);e.pushContainer("body",i.expressionStatement(i.assignmentExpression("=",r,i.identifier(c))))}else{t.replaceWith(i.expressionStatement(i.assignmentExpression("=",r,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(h).forEach(t=>{e.scope.rename(t,h[t])});for(const e of n)e.remove();for(const e of s){const t=i.cloneNode(y[e.node.name]);e.replaceWith(t)}e.stop()}};(0,n.default)(e.ast,T,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=s.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const r=()=>{const r={ast:i.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},r)}return r};const n=getHelperMetadata(r());o[e]={build(e,t,i){const s=r();permuteHelperAST(s,n,t,i,e);return{nodes:s.ast.program.body,globals:n.globals}},minVersion(){return t.minVersion},dependencies:n.dependencies}}return o[e]}function get(e,t,r,n){return loadHelper(e).build(t,r,n)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(s.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var u=get;t.default=u},88984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var i=r(19509);var s=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=i}}return r}function shouldHighlight(e){return!!s.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new s.constructor({enabled:true,level:1}):s}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},94651:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(94651);var i=r(45068)},45068:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},56852:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const i=true;const s=true;const a=true;const o=true;class TokenType{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=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:s}),assign:new TokenType("_=",{beforeExpr:r,isAssign:s}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:s}),moduloAssign:new TokenType("_=",{beforeExpr:r,isAssign:s}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:i,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const c=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const f=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;const d=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y;const y=new RegExp("(?=("+d.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function isWhitespace(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 true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{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}}function getLineInfo(e,t){let r=1;let n=0;let i;c.lastIndex=0;while((i=c.exec(e))&&i.index0){n=t[--i]}if(n===null||n.start>r.start){setInnerComments(e,r.comments)}else{setTrailingComments(n,r.comments)}}class CommentsParser extends BaseParser{addComment(e){if(this.filename)e.loc.filename=this.filename;this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state;const r=t.length;if(r===0)return;let n=r-1;const i=t[n];if(i.start===e.end){i.leadingNode=e;n--}const{start:s}=e;for(;n>=0;n--){const r=t[n];const i=r.end;if(i>s){r.containingNode=e;this.finalizeComment(r);t.splice(n,1)}else{if(i===s){r.trailingNode=e}break}}}finalizeComment(e){const{comments:t}=e;if(e.leadingNode!==null||e.trailingNode!==null){if(e.leadingNode!==null){setTrailingComments(e.leadingNode,t)}if(e.trailingNode!==null){e.trailingNode.leadingComments=t}}else{const{containingNode:r,start:n}=e;if(this.input.charCodeAt(n-1)===44){switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":adjustInnerComments(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":adjustInnerComments(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":adjustInnerComments(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":adjustInnerComments(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":adjustInnerComments(r,r.specifiers,e);break;default:{setInnerComments(r,t)}}}else{setInnerComments(r,t)}}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--){this.finalizeComment(e[t])}this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state;const{length:r}=t;if(r===0)return;const n=t[r-1];if(n.leadingNode===e){n.leadingNode=null}}}const h=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const m=makeErrorTemplates({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.",PipeBodyIsTighter:"Unexpected %0 after pipeline body; any %0 expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "%0" }.',PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',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."},h.SyntaxError);const T=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},h.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...i){return this.raiseWithData(e,{code:t,reasonCode:r},n,...i)}raiseOverwrite(e,{code:t,template:r},...n){const i=this.getLocationForPosition(e);const s=r.replace(/%(\d+)/g,(e,t)=>n[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})}else 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);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var S=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);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);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=e.expression.value;const r=super.stmtToDirective(e);this.addExtra(r.value,"expressionValue",t);return r}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",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,i,s,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,i,s,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(s==="ClassPrivateMethod"){e.computed=false}s="MethodDefinition";return this.finishNode(e,s)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,i){const s=super.parseObjectMethod(e,t,r,n,i);if(s){s.type="Property";if(s.kind==="method")s.kind="init";s.shorthand=false}return s}parseObjectProperty(e,t,r,n,i){const s=super.parseObjectProperty(e,t,r,n,i);if(s){s.kind="init";s.type="Property"}return s}isAssignable(e,t){if(e!=null&&this.isObjectProperty(e)){return this.isAssignable(e.value,t)}return super.isAssignable(e,t)}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,m.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,m.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,i){const s=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if(s.type==="OptionalMemberExpression"||s.type==="OptionalCallExpression"){s.type=s.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(s);e.expression=s;return this.finishNode(e,"ChainExpression")}}else if(s.type==="MemberExpression"||s.type==="CallExpression"){s.optional=false}return s}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const b={brace:new TokContext("{"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{e.pop()});u.braceL.updateContext=u.braceHashL.updateContext=u.dollarBraceL.updateContext=(e=>{e.push(b.brace)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===b.template){e.pop()}else{e.push(b.template)}});let E="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let g="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const x=new RegExp("["+E+"]");const P=new RegExp("["+E+g+"]");E=g=null;const A=[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];const v=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&x.test(String.fromCharCode(e))}return isInAstralSet(e,A)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&P.test(String.fromCharCode(e))}return isInAstralSet(e,A)||isInAstralSet(e,v)}const O={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const I=new Set(O.keyword);const w=new Set(O.strict);const D=new Set(O.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||w.has(e)}function isStrictBindOnlyReservedWord(e){return D.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return I.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const N=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return N.has(e)}const C=0,j=1,_=2,L=4,k=8,B=16,M=32,F=64,R=128,K=256,V=j|_|K;const U=1,X=2,J=4,Y=8,W=16,q=64,z=128,H=256,G=512,$=1024,Q=2048;const Z=U|X|Y|z,ee=U|0|Y|0,te=U|0|J|0,re=U|0|W|0,ne=0|X|0|z,ie=0|X|0|0,se=U|X|Y|H,ae=0|0|0|$,oe=0|0|0|q,le=U|0|0|q,ue=se|G,pe=0|0|0|$,ce=Q;const fe=4,de=2,ye=1,he=de|ye;const me=de|fe,Te=ye|fe,Se=de,be=ye,Ee=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&_)>0}get allowSuper(){return(this.currentThisScopeFlags()&B)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&M)>0}get inClass(){return(this.currentThisScopeFlags()&F)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&F)>0&&(e&_)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return true}if(t&(V|F)){return false}}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&_)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&_||!this.inModule&&e.flags&j)}declareName(e,t,r){let n=this.currentScope();if(t&Y||t&W){this.checkRedeclarationInScope(n,e,t,r);if(t&W){n.functions.add(e)}else{n.lexical.add(e)}if(t&Y){this.maybeExportDefined(n,e)}}else if(t&J){for(let i=this.scopeStack.length-1;i>=0;--i){n=this.scopeStack[i];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&V)break}}if(this.inModule&&n.flags&j){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&j){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,m.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&U))return false;if(r&Y){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&W){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&k&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&V){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(V|F)&&!(t&L)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&Q){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&Q){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}class State{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=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.commentStack=[];this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[b.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.strictMode===true?true:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,i=r.length;n=48&&e<=57};const xe=new Set([103,109,115,105,121,117,100]);const Pe={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const Ae={};Ae.bin=[48,49];Ae.oct=[...Ae.bin,50,51,52,53,54,55];Ae.dec=[...Ae.oct,56,57];Ae.hex=[...Ae.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(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){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){f.lastIndex=e;return f.test(this.input)?f.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===b.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",t+2);if(r===-1)throw this.raise(t,m.UnterminatedComment);this.state.pos=r+2;c.lastIndex=t+2;while(c.test(this.input)&&c.lastIndex<=r){++this.state.curLine;this.state.lineStart=c.lastIndex}if(this.isLookahead)return;const n={type:"CommentBlock",value:this.input.slice(t+2,r),start:t,end:r+2,loc:new SourceLocation(e,this.state.curPosition())};if(this.options.tokens)this.pushToken(n);return n}skipLineComment(e){const t=this.state.pos;let r;if(!this.isLookahead)r=this.state.curPosition();let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pose)){const e=this.skipLineComment(3);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else if(r===60&&!this.inModule){const e=this.state.pos;if(this.input.charCodeAt(e+1)===33&&this.input.charCodeAt(e+2)===45&&this.input.charCodeAt(e+3)===45){const e=this.skipLineComment(4);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else{break e}}}if(t.length>0){const r=this.state.pos;const n={start:e,end:r,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(n)}}finishToken(e,t){this.state.end=this.state.pos;const r=this.state.type;this.state.type=e;this.state.value=t;if(!this.isLookahead){this.state.endLoc=this.state.curPosition();this.updateContext(r)}}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter()){return}const e=this.state.pos+1;const t=this.codePointAtPos(e);if(t>=48&&t<=57){throw this.raise(this.state.pos,m.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?m.RecordExpressionHashIncorrectStartSyntaxType:m.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,m.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,m.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,m.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.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,m.UnterminatedRegExp)}const i=this.input.charCodeAt(n);if(isNewLine(i)){throw this.raise(e,m.UnterminatedRegExp)}if(t){t=false}else{if(i===91){r=true}else if(i===93&&r){r=false}else if(i===47&&!r){break}t=i===92}}const i=this.input.slice(e,n);++n;let s="";while(n-1||s.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,m.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,m.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(ge(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+i+2,m.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,m.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;r=true}else if(i===109){throw this.raise(t,m.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,m.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let i=false;let s=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,m.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,m.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,m.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,m.InvalidOrMissingExponent)}r=true;s=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,m.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(s||o){this.raise(t,m.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,m.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(i){this.finishToken(u.decimal,p);return}const c=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,c)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,m.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,m.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,m.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,m.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++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}else{this.recordStrictModeErrors(this.state.pos-1,m.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let i=parseInt(n,8);if(i>255){n=n.slice(0,-1);i=parseInt(n,8)}this.state.pos+=n.length-1;const s=this.input.charCodeAt(this.state.pos);if(n!=="0"||s===56||s===57){if(e){return null}else{this.recordStrictModeErrors(t,m.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(r){this.raise(n,m.InvalidEscapeSequence)}else{this.state.pos=n-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let i=e[n];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(r);i=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope(we)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Oe)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Ie)}function newExpressionScope(){return new ExpressionScope}const De=0,Ne=1,Ce=2,je=4,_e=8;class ProductionParameterHandler{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&Ce)>0}get hasYield(){return(this.currentFlags()&Ne)>0}get hasReturn(){return(this.currentFlags()&je)>0}get hasIn(){return(this.currentFlags()&_e)>0}}function functionFlags(e,t){return(e?Ce:0)|(t?Ne:0)}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){y.lastIndex=this.state.end;return y.test(this.input)}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,m.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:h.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:h.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:h.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?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)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n,optionalParameters:i}=e;if(!t){return r>=0||n>=0||i>=0}if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,m.DuplicateProto)}if(i>=0){this.unexpected(i)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const i=this.scope;const s=this.getScopeHandler();this.scope=new s(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=De;if(this.inModule){e|=Ce}this.scope.enter(j);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1;this.optionalParameters=-1}}class Node{constructor(e,t,r){this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}}const Le=Node.prototype;{Le.__clone=function(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r 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."},h.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const Me={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Fe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Be.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const i=this.flowParseFunctionTypeParams();r.params=i.params;r.rest=i.rest;r.this=i._this;this.expect(u.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,ce,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Be.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,te,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(C);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Be.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Be.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let i=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Be.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,Be.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Be.AmbiguousDeclareModuleKind)}n="CommonJS";i=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=Me[e];throw this.raise(this.state.start,Be.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?re:ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Be.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!ke.has(e))return;this.raise(t,r?Be.AssignReservedType:Be.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();r.name=i.name;r.variance=n;r.bound=i.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Be.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:i}){const s=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let s=null;let o=null;const c=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();s=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const f=this.flowParseVariance();if(this.eat(u.bracketL)){if(s!=null){this.unexpected(s)}if(this.eat(u.bracketL)){if(f){this.unexpected(f.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(c,t,f))}}else if(this.match(u.parenL)||this.isRelational("<")){if(s!=null){this.unexpected(s)}if(f){this.unexpected(f.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(c,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(c,t,s,f,e,r,i!=null?i:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Be.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const c=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=s;return c}flowParseObjectTypeProperty(e,t,r,n,i,s,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!s){this.raise(this.state.lastTokStart,Be.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Be.InexactInsideExact)}if(n){this.raise(n.start,Be.InexactVariance)}return null}if(!s){this.raise(this.state.lastTokStart,Be.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Be.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!s&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Be.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Be.GetterMayNotHaveThisParam:Be.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,m.BadGetterArity)}else{this.raise(r,m.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,m.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.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(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41){this.setOptionalParametersError(n);return e}}this.expect(u.question);const i=this.state.clone();const s=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,c]=this.getArrowLikeExpressions(o);if(l||c.length>0){const e=[...s];if(c.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,Be.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=s;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(_|L);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(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=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Be.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Be.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,m.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){if(e.type==="TypeCastExpression"){return this.isAssignable(e.expression,t)}else{return super.isAssignable(e,t)}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,Be.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const i=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,s){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,i,s);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Be.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Be.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Be.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Be.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,i,s,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,i,s,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Be.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Be.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Be.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Be.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t),n);if(!i.error)return i.node;const{context:r}=this.state;const s=r[r.length-1];if(s===b.j_oTag){r.length-=2}else if(s===b.j_expr){r.length-=1}}if((r=i)!=null&&r.error||this.isRelational("<")){var s,a;n=n||this.state.clone();let r;const o=this.tryParse(n=>{var i;r=this.flowParseTypeParameterDeclaration();const s=this.forwardNoArrowParamsConversionAt(r,()=>{const n=super.parseMaybeAssign(e,t);this.resetStartLocationFromNode(n,r);return n});if((i=s.extra)!=null&&i.parenthesized)n();const a=this.maybeUnwrapTypeCastExpression(s);if(a.type!=="ArrowFunctionExpression")n();a.typeParameters=r;this.resetStartLocationFromNode(a,r);return s},n);let l=null;if(o.node&&this.maybeUnwrapTypeCastExpression(o.node).type==="ArrowFunctionExpression"){if(!o.error&&!o.aborted){if(o.node.async){this.raise(r.start,Be.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return o.node}l=o.node}if((s=i)!=null&&s.node){this.state=i.failState;return i.node}if(l){this.state=o.failState;return l}if((a=i)!=null&&a.thrown)throw i.error;if(o.thrown)throw o.error;throw this.raise(r.start,Be.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(u.colon)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Be.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const 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){this.state=s.failState;return s.node}if(a.node){this.state=a.failState;return a.node}throw s.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(n){i.stop=true;return e}this.next();const s=this.startNodeAt(t,r);s.callee=e;s.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);s.arguments=this.parseCallExpressionArguments(u.parenR,false);s.optional=true;return this.finishCallExpression(s,true)}else 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(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(i.optionalChainMember)n.optional=false;return this.finishCallExpression(n,i.optionalChainMember)});if(s.node){if(s.error)this.state=s.failState;return s.node}}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){let t=null;if(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);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Be.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Be.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,m.UnterminatedComment)}this.state.pos=e+3;return}return super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,m.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Be.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Be.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Be.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Be.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Be.EnumInvalidExplicitTypeUnknownSupplied:Be.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let i=null;switch(r){case"boolean":case"number":case"string":i=Be.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=Be.EnumInvalidMemberInitializerSymbolType;break;default:i=Be.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Be.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Be.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){i=true;break}const s=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};s.id=a;switch(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"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:i,hasUnknownMembers:s}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=s;switch(n){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const s=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!s&&!a&&!o&&!l){return n()}else if(!s&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&s>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!s&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ke={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:"♦"};const Ve=/^[\da-fA-F]+$/;const Ue=/^\d+$/;const Xe=makeErrorTemplates({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 <>...?"},h.SyntaxError);b.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(b.j_expr,b.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var Je=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Xe.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,m.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const i=(t,r,n,i)=>{if(r===n&&e[i]){this.raise(t,Ye.InvalidModifiersOrder,n,i)}};const s=(t,r,n,i)=>{if(e[n]&&r===i||e[i]&&r===n){this.raise(t,Ye.IncompatibleModifiers,n,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Ye.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Ye.DuplicateModifier,o)}else{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]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}n.push(i);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Ye.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.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();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Ye.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Ye.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Ye.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,Ye.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,m.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,Ye.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,m.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Ye.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Ye.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Ye.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,Ye.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Ye.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Ye.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const s=i==="TSNamedTupleMember";r=(n=r)!=null?n:s;if(r!==s){this.raise(e.start,Ye.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const i=this.eat(u.question);const s=this.eat(u.colon);if(s){const e=this.startNodeAtNode(n);e.optional=i;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Ye.InvalidTupleMemberLabel);e.label=n}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();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Ye.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.tsParseTypeParameterName();e.typeParameter=this.finishNode(t,"TSTypeParameter");return 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();const i=this.eat(r);const s=[];do{s.push(t())}while(this.eat(r));if(s.length===1&&!i){return s[0]}n.types=s;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsParseTypeAnnotation(false);r.parameterName=i;r.typeAnnotation=s;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,m.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Ye.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){if(this.match(u.name)){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",ne)}else{e.id=null;this.raise(this.state.start,Ye.MissingInterfaceName)}e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",ie);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return 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=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?ue:se);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(C);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",pe)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(K);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(K);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",ee);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,Ye.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(K);this.prodParam.enter(De);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Ye.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let i;let s=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;s=t.readonly;if(e===false&&(i||s||a)){this.raise(r,Ye.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||s||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(s)e.readonly=s;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Ye.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Ye.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ae)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Ye.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return this.finishNode(n,"TSNonNullExpression")}let s=false;if(this.match(u.questionDot)&&this.lookaheadCharCode()===60){if(n){i.stop=true;return e}i.optionalChainMember=s=true;this.next()}if(this.isRelational("<")){let a;const o=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e){return e}}const o=this.startNodeAt(t,r);o.callee=e;const l=this.tsParseTypeArguments();if(l){if(s&&!this.match(u.parenL)){a=this.state.pos;this.unexpected()}if(!n&&this.eat(u.parenL)){o.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(o.arguments);o.typeParameters=l;if(i.optionalChainMember){o.optional=s}return this.finishCallExpression(o,i.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,i);n.typeParameters=l;return n}}this.unexpected()});if(a){this.unexpected(a,u.parenL)}if(o)return o}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,r);i.expression=e;const s=this.tsTryNextParseConstantContext();if(s){i.typeAnnotation=s}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Ye.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.startNode();this.next();const t=this.tsParseInterfaceDeclaration(e);if(t)return t}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!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;if(i&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,Ye.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,r,n){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,Ye.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Ye.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Ye.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Ye.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Ye.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,Ye.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Ye.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Ye.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!this.state.maybeInArrowParameters||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){if(i.error){super.setOptionalParametersError(n,i.error)}return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Ye.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(u.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(i&&n){this.resetStartLocation(i,t,r);i.declare=true}return i}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?ae:Z);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,Ye.DeclareClassFieldHasInitializer)}if(e.abstract&&this.match(u.eq)){const{key:t}=e;this.raise(this.state.start,Ye.AbstractPropertyHasInitializer,t.type==="Identifier"&&!e.computed?t.name:`[${this.input.slice(t.start,t.end)}]`)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Ye.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Ye.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,s){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,Ye.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Ye.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,i,s,a,o;let l;let p;let c;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===b.j_oTag){t.length-=2}else if(t[t.length-1]===b.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let f;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;f=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(r=i.extra)!=null&&r.parenthesized){t()}if(((n=f)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(i,f)}i.typeParameters=f;return i},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));c=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!c.error)return c.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=c)!=null&&n.node){this.state=c.failState;return c.node}if((i=p)!=null&&i.thrown)throw p.error;if(d.thrown)throw d.error;if((s=c)!=null&&s.thrown)throw c.error;throw((a=p)==null?void 0:a.error)||d.error||((o=c)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Ye.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return true;default:return super.isAssignable(e,t)}}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,m.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.isAssignable(e,true))}return super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(u.colon)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>this.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const i=n&&this.isThisParam(n);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;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(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Ye.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Ye.AbstractMethodHasImplementation,e.type==="Identifier"&&!t.computed?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}tsParseTypeParameterName(){const e=this.parseIdentifier();return e.name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const qe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},h.SyntaxError);var ze=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return 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;const s=this.parsePlaceholder("Identifier");if(s){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=s}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(s,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,qe.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var He=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Ge=["minimal","fsharp","hack","smart"];const $e=["%","#"];const Qe=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){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'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")){const t=getPluginOption(e,"pipelineOperator","proposal");if(!Ge.includes(t)){const e=Ge.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const r=hasPlugin(e,"recordAndTuple")&&getPluginOption(e,"recordAndTuple","syntaxType")==="hash";if(t==="hack"){if(hasPlugin(e,"placeholders")){throw new Error("Cannot combine placeholders plugin and Hack-style pipes.")}if(hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.")}const t=getPluginOption(e,"pipelineOperator","topicToken");if(!$e.includes(t)){const e=$e.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if(t==="#"&&r){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}else if(t==="smart"&&r){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Qe.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Qe.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ze={estree:S,jsx:Je,flow:Re,typescript:We,v8intrinsic:He,placeholders:ze};const et=Object.keys(Ze);const tt={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false,attachComment:true};function getOptions(e){const t={};for(const r of Object.keys(tt)){t[r]=e&&e[r]!=null?e[r]:tt[r]}return t}const rt=e=>{return e.type==="ParenthesizedExpression"?rt(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let i=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){i=rt(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,m.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,m.InvalidParenthesizedAssignment)}}else{this.raise(e.start,m.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,i=n-1;r{return e.type!=="ObjectMethod"&&(r===t||e.type!=="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>e===null||this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const t of e){if((t==null?void 0:t.type)==="ArrayExpression"){this.toReferencedListDeep(t.elements)}}}parseSpread(e,t){const r=this.startNode();this.next();r.argument=this.parseMaybeAssignAllowIn(e,undefined,t);return this.finishNode(r,"SpreadElement")}parseRestBinding(){const e=this.startNode();this.next();e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case u.bracketL:{const e=this.startNode();this.next();e.elements=this.parseBindingList(u.bracketR,93,true);return this.finishNode(e,"ArrayPattern")}case u.braceL:return this.parseObjectLike(u.braceR,true)}return this.parseIdentifier()}parseBindingList(e,t,r,n){const i=[];let s=true;while(!this.eat(e)){if(s){s=false}else{this.expect(u.comma)}if(r&&this.match(u.comma)){i.push(null)}else if(this.eat(e)){break}else if(this.match(u.ellipsis)){i.push(this.parseAssignableListItemTypes(this.parseRestBinding()));this.checkCommaAfterRest(t);this.expect(e);break}else{const e=[];if(this.match(u.at)&&this.hasPlugin("decorators")){this.raise(this.state.start,m.UnsupportedParameterDecorator)}while(this.match(u.at)){e.push(this.parseDecorator())}i.push(this.parseAssignableListItem(n,e))}}return i}parseAssignableListItem(e,t){const r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);const n=this.parseMaybeDefault(r.start,r.loc.start,r);if(t.length){r.decorators=t}return n}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,r){var n,i,s;t=(n=t)!=null?n:this.state.startLoc;e=(i=e)!=null?i:this.state.start;r=(s=r)!=null?s:this.parseBindingAtom();if(!this.eat(u.eq))return r;const a=this.startNodeAt(e,t);a.left=r;a.right=this.parseMaybeAssignAllowIn();return this.finishNode(a,"AssignmentPattern")}checkLVal(e,t,r=oe,n,i,s=false){switch(e.type){case"Identifier":{const{name:t}=e;if(this.state.strict&&(s?isStrictBindReservedWord(t,this.inModule):isStrictBindOnlyReservedWord(t))){this.raise(e.start,r===oe?m.StrictEvalArguments:m.StrictEvalArgumentsBinding,t)}if(n){if(n.has(t)){this.raise(e.start,m.ParamDupe)}else{n.add(t)}}if(i&&t==="let"){this.raise(e.start,m.LetInLexicalBinding)}if(!(r&oe)){this.scope.declareName(t,r,e.start)}break}case"MemberExpression":if(r!==oe){this.raise(e.start,m.InvalidPropertyBindingPattern)}break;case"ObjectPattern":for(let t of e.properties){if(this.isObjectProperty(t))t=t.value;else if(this.isObjectMethod(t))continue;this.checkLVal(t,"object destructuring pattern",r,n,i)}break;case"ArrayPattern":for(const t of e.elements){if(t){this.checkLVal(t,"array destructuring pattern",r,n,i)}}break;case"AssignmentPattern":this.checkLVal(e.left,"assignment pattern",r,n);break;case"RestElement":this.checkLVal(e.argument,"rest element",r,n);break;case"ParenthesizedExpression":this.checkLVal(e.expression,"parenthesized expression",r,n);break;default:{this.raise(e.start,r===oe?m.InvalidLhs:m.InvalidLhsBinding,t)}}}checkToRestConversion(e){if(e.argument.type!=="Identifier"&&e.argument.type!=="MemberExpression"){this.raise(e.argument.start,m.InvalidRestAssignmentPattern)}}checkCommaAfterRest(e){if(this.match(u.comma)){if(this.lookaheadCharCode()===e){this.raiseTrailingCommaAfterRest(this.state.start)}else{this.raiseRestNotLast(this.state.start)}}}raiseRestNotLast(e){throw this.raise(e,m.ElementAfterRest)}raiseTrailingCommaAfterRest(e){this.raise(e,m.RestTrailingComma)}}class ExpressionParser extends LValParser{checkProto(e,t,r,n){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand){return}const i=e.key;const s=i.type==="Identifier"?i.name:i.value;if(s==="__proto__"){if(t){this.raise(i.start,m.RecordNoProto);return}if(r.used){if(n){if(n.doubleProto===-1){n.doubleProto=i.start}}else{this.raise(i.start,m.DuplicateProto)}}r.used=true}}shouldExitDescending(e,t){return e.type==="ArrowFunctionExpression"&&e.start===t}getExpression(){this.enterInitialScopes();this.nextToken();const e=this.parseExpression();if(!this.match(u.eof)){this.unexpected()}this.finalizeRemainingComments();e.comments=this.state.comments;e.errors=this.state.errors;if(this.options.tokens){e.tokens=this.tokens}return e}parseExpression(e,t){if(e){return this.disallowInAnd(()=>this.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const i=this.startNodeAt(t,r);i.expressions=[n];while(this.eat(u.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return this.finishNode(i,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e,t){var r;e.optionalParameters=(r=t==null?void 0:t.pos)!=null?r:this.state.start}parseMaybeAssign(e,t){const r=this.state.start;const n=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,r,n)}return e}}let i;if(e){i=false}else{e=new ExpressionErrors;i=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let s=this.parseMaybeConditional(e);if(t){s=t.call(this,s,r,n)}if(this.state.type.isAssign){const t=this.startNodeAt(r,n);const i=this.state.value;t.operator=i;const a=s.type==="BinaryExpression"&&s.operator==="|>"&&this.getPluginOption("pipelineOperator","proposal")==="hack";if(a){throw this.raise(this.state.start,m.PipeBodyIsTighter,i)}if(this.match(u.eq)){t.left=this.toAssignable(s,true);e.doubleProto=-1}else{t.left=s}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(s,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(i){this.checkExpressionErrors(e,true)}return s}parseMaybeConditional(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseExprOps(e);if(this.shouldExitDescending(i,n)){return i}return this.parseConditional(i,t,r,e)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,n)){return i}return this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(i>n){const s=this.state.type;if(s===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=s===u.logicalOR||s===u.logicalAND;const l=s===u.nullishCoalescing;if(l){i=u.logicalAND.binop}this.next();if(s===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,m.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(s,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,m.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>{const n=this.parseHackPipeBody(e,t);this.checkHackPipeBodyEarlyErrors(r);return n});case"smart":return this.withTopicBindingContext(()=>{const i=this.parseHackPipeBody(e,t);return this.parseSmartPipelineBodyInStyle(i,r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}parseHackPipeBody(e,t){const r=this.prodParam.hasYield;const n=r&&this.isContextual("yield");if(n){throw this.raise(this.state.start,m.PipeBodyIsTighter,this.state.value)}else{return this.parseExprOpBaseRightExpr(e,t)}}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,m.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}const s=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,m.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,m.DeletePrivateField)}}if(!s){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,s,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,m.AwaitNotInAsyncContext);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const i=this.state.startLoc;let s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return s;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,i);e.operator=this.state.value;e.prefix=false;e.argument=s;this.checkLVal(s,"postfix operation");this.next();s=this.finishNode(e,"UpdateExpression")}return s}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,n)){return i}return this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,r,n,i){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,i)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,i)}let s=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=s=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,i,s)}else if(s||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,i,s)}else{i.stop=true;return e}}parseMember(e,t,r,n,i){const s=this.startNodeAt(t,r);const a=this.eat(u.bracketL);s.object=e;s.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(s.object.type==="Super"){this.raise(t,m.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}s.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){s.optional=i;return this.finishNode(s,"OptionalMemberExpression")}else{return this.finishNode(s,"MemberExpression")}}parseBind(e,t,r,n,i){const s=this.startNodeAt(t,r);s.object=e;s.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(s,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){const s=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=s;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const i=this.startNodeAt(t,r);i.tag=e;i.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,m.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,m.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,m.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){const s=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,m.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}s.push(this.parseExprListItem(false,i,r))}this.state.inFSharpPipelineDirectBody=o;return s}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.resetPreviousNodeTrailingComments(t);this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);setInnerComments(e,t.innerComments);setInnerComments(e,t.callee.trailingComments);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,m.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.resetPreviousNodeTrailingComments(r);this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r))}else{return r}}else if(this.match(u._do)){this.resetPreviousNodeTrailingComments(r);return this.parseDo(this.startNodeAtNode(r),true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(this.startNode(),false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,m.UnsupportedBind)}}case u.privateName:{const{value:e,start:r}=this.state;t=this.parsePrivateName();if(this.match(u._in)){this.classScope.usePrivateName(e,r)}else{this.raise(r,m.PrivateInExpectedIn,e)}return t}case u.moduloAssign:if(this.getPluginOption("pipelineOperator","proposal")==="hack"&&this.getPluginOption("pipelineOperator","topicToken")==="%"){this.state.value="%";this.state.type=u.modulo;this.state.pos--;this.state.end--;this.state.endLoc.column--}else{throw this.unexpected()}case u.modulo:case u.hash:{const e=this.getPluginOption("pipelineOperator","proposal");if(e){t=this.startNode();const r=this.state.start;const n=this.state.type;this.next();return this.finishTopicReference(t,r,e,n)}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n)){let n;if(r==="smart"){n="PipelinePrimaryTopicReference"}else{n="TopicReference"}if(!this.topicReferenceIsAllowedInCurrentContext()){if(r==="smart"){this.raise(t,m.PrimaryTopicNotAllowed)}else{this.raise(t,m.PipeTopicUnbound)}}this.registerTopicReference();return this.finishNode(e,n)}else{throw this.raise(t,m.PipeTopicUnconfiguredToken,n.label)}}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":{const e=this.getPluginOption("pipelineOperator","topicToken");return r.label===e}case"smart":return r===u.hash;default:throw this.raise(t,m.PipeTopicRequiresHackPipes)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const t=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,m.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(e,t,true);return e}parseDo(e,t){this.expectPlugin("doExpressions");if(t){this.expectPlugin("asyncDoExpressions")}e.async=t;this.next();const r=this.state.labels;this.state.labels=[];if(t){this.prodParam.enter(Ce);e.body=this.parseBlock();this.prodParam.exit()}else{e.body=this.parseBlock()}this.state.labels=r;return this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,m.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,m.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,m.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,m.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,m.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,T.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;let c=true;let f;let d;while(!this.match(u.parenR)){if(c){c=false}else{this.expect(u.comma,p.optionalParameters===-1?null:p.optionalParameters);if(this.match(u.parenR)){d=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;f=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem))}}const y=this.state.lastTokEnd;const h=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=s;let m=this.startNodeAt(t,r);if(e&&this.shouldParseArrow(l)&&(m=this.parseArrow(m))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(m,l,false);return m}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(d)this.unexpected(d);if(f)this.unexpected(f);this.checkExpressionErrors(p,true);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNode(n,"SequenceExpression");n.end=y;n.loc.end=h}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const T=this.startNodeAt(t,r);T.expression=n;this.finishNode(T,"ParenthesizedExpression");return T}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,m.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,m.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,m.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,m.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,m.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(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(i,r,s,n)}if(r&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,m.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,m.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let i=false;let s=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(u.star)}const p=this.state.containsEsc;const c=this.parsePropertyName(n,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=c.name;if(e==="async"&&!this.hasPrecedingLineBreak()){s=true;this.resetPreviousNodeTrailingComments(c);i=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;this.resetPreviousNodeTrailingComments(c);n.kind=e;if(this.match(u.star)){i=true;this.raise(this.state.pos,m.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,i,s,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const i=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(i,m.BadGetterArity)}else{this.raise(i,m.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,m.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,i){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,cloneIdentifier(e.key))}else if(this.match(u.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,cloneIdentifier(e.key))}else{e.value=cloneIdentifier(e.key)}e.shorthand=true;return 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);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,i,s,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(_|B|(a?F:0)|(i?M:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,s,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=this.startNode();this.next();s.elements=this.parseExprList(e,!r,n,s);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(_|L);let i=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){i|=_e}this.prodParam.enter(i);this.initFunction(e,r);const s=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=s;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|je);e.body=this.parseBlock(true,false,i=>{const s=!this.isSimpleParamList(e.params);if(i&&s){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,m.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!s,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",le,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,m.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,m.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock){this.raise(t,m.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,m.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,m.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,m.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,m.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,m.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,m.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,m.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,m.PipelineHeadSequenceExpression)}}}checkHackPipeBodyEarlyErrors(e){if(this.match(u.arrow)){throw this.raise(this.state.start,m.PipeBodyIsTighter,u.arrow.label)}else if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(e,m.PipeTopicUnused)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);if(this.isSimpleReference(e)){n.callee=e;return this.finishNode(n,"PipelineBareFunction")}else{this.checkSmartPipeTopicBodyEarlyErrors(t);n.expression=e;return this.finishNode(n,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(u.arrow)){throw this.raise(this.state.start,m.PipelineBodyNoArrow)}else if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(e,m.PipelineTopicUnused)}}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){const t=this.getPluginOption("pipelineOperator","proposal");if(t==="smart"){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}else{return e()}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&~t;if(r){this.prodParam.enter(t|_e);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&t;if(r){this.prodParam.enter(t&~_e);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const nt={kind:"loop"},it={kind:"switch"};const st=0,at=1,ot=2,lt=4;const ut=/[\uD800-\uDFFF]/u;const pt=/in(?:stanceof)?/y;function babel7CompatTokens(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,m.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e;t.type="Directive";t.value=t.expression;delete t.expression;const r=t.value;const n=this.input.slice(r.start,r.end);const i=r.value=n.slice(1,-1);this.addExtra(r,"raw",n);this.addExtra(r,"rawValue",i);r.type="DirectiveLiteral";return t}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){pt.lastIndex=t;if(pt.test(this.input)){const e=this.codePointAtPos(pt.lastIndex);if(!isIdentifierChar(e)&&e!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let i;if(this.isLet(e)){r=u._var;i="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,m.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,m.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,m.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,i);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,m.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,m.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const s=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,s,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,T.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,m.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,m.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;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(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(nt);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(C);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const i=n?"let":this.state.value;this.next();this.parseVar(r,true,i);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const i=this.match(u.name)&&!this.state.containsEsc;const s=new ExpressionErrors;const a=this.parseExpression(true,s);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,m.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,m.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,at|(r?0:ot),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,m.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(it);this.scope.enter(C);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,m.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,m.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?k:0);this.checkLVal(e,"catch clause",ee);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(C)}t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,m.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(nt);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,m.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,m.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(u._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){r.statementStart=this.state.start;r.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(C)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){const s=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?a:undefined,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){const s=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(i){i.call(this,a)}if(!s){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,m.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,m.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,m.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,m.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?te:ee,undefined,t!=="var")}parseFunction(e,t=st,r=false){const n=t&at;const i=t&ot;const s=!!n&&!(t<);this.initFunction(e,r);if(this.match(u.star)&&i){this.raise(this.state.start,m.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(s)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(_);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?te:ee:re,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const i=this.startNode();i.body=[];this.expect(u.braceL);this.withSmartMixTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,m.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(i,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,m.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,m.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}this.resetPreviousNodeTrailingComments(r);return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const i=t;const s=t;const a=t;const o=t;const l=i;const p=i;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,s,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,m.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const c=this.match(u.name)&&!this.state.containsEsc;const f=this.match(u.privateName);const d=this.parseClassElementName(t);const y=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(f){this.pushClassPrivateMethod(e,s,false,false);return}const n=this.isNonstaticConstructor(i);let a=false;if(n){i.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,m.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,m.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,i,false,false,n,a)}else if(this.isClassProperty()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(c&&d.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);const t=this.eat(u.star);if(p.optional){this.unexpected(y)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,s,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,m.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(c&&(d.name==="get"||d.name==="set")&&!(this.match(u.star)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(d);l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,s,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,m.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,m.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,m.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(F|R|B);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(De);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,m.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,m.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),Ee,r.key.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const i=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(i);const s=i.kind==="get"?i.static?me:Se:i.kind==="set"?i.static?Te:be:Ee;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),s,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(F|B);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(De);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=Z){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,m.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const i=n&&this.maybeParseExportNamespaceSpecifier(e);const s=r&&(!i||this.eat(u.comma));const a=t||n;if(n&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||i&&s&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,at|lt,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,m.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,m.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,m.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,m.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,m.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const s=this.state.decoratorStack[this.state.decoratorStack.length-1];if(s.length){throw this.raise(e.start,m.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?m.DuplicateDefaultExport:m.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.braceR))break}const r=this.startNode();const n=this.match(u.string);const i=this.parseModuleExportName();r.local=i;if(this.eatContextual("as")){r.exported=this.parseModuleExportName()}else if(n){r.exported=cloneStringLiteral(i)}else{r.exported=cloneIdentifier(i)}e.push(this.finishNode(r,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(ut);if(t){this.raise(e.start,m.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,ee);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,m.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,m.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,m.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,m.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,m.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,m.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,m.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=cloneIdentifier(e)}this.checkLVal(t.local,"import specifier",ee);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ct={};function getParserClass(e){const t=et.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ct[r];if(!n){n=Parser;for(const e of t){n=Ze[e](n)}ct[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},66375:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.scope=t.path=void 0;let r=new WeakMap;t.path=r;let n=new WeakMap;t.scope=n;function clear(){clearPath();clearScope()}function clearPath(){t.path=r=new WeakMap}function clearScope(){t.scope=n=new WeakMap}},69919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(65519);var i=r(30315);class TraversalContext{constructor(e,t,r,n){this.queue=null;this.priorityQueue=null;this.parentPath=n;this.scope=e;this.state=r;this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return true;if(t[e.type])return true;const r=i.VISITOR_KEYS[e.type];if(!(r!=null&&r.length))return false;for(const t of r){if(e[t])return true}return false}create(e,t,r,i){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:i})}maybeQueue(e,t){if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,r){if(e.length===0)return false;const n=[];for(let i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}t.default=Hub},14126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"Hub",{enumerable:true,get:function(){return u.default}});t.visitors=t.default=void 0;var n=r(69919);var i=r(1861);t.visitors=i;var s=r(30315);var a=r(66375);var o=r(65519);var l=r(96042);var u=r(44706);function traverse(e,t={},r,n,a){if(!e)return;if(!t.noScope&&!r){if(e.type!=="Program"&&e.type!=="File"){throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+"passing scope and parentPath.")}}if(!s.VISITOR_KEYS[e.type]){return}i.explode(t);traverse.node(e,t,r,n,a)}var p=traverse;t.default=p;traverse.visitors=i;traverse.verify=i.verify;traverse.explode=i.explode;traverse.cheap=function(e,t){return s.traverseFast(e,t)};traverse.node=function(e,t,r,i,a,o){const l=s.VISITOR_KEYS[e.type];if(!l)return;const u=new n.default(r,t,i,a);for(const t of l){if(o&&o[t])continue;if(u.visit(e,t))return}};traverse.clearNode=function(e,t){s.removeProperties(e,t);a.path.delete(e)};traverse.removeProperties=function(e,t){s.traverseFast(e,traverse.clearNode,t);return e};function hasDenylistedType(e,t){if(e.node.type===t.type){t.has=true;e.stop()}}traverse.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return false;if(e.type===t)return true;const n={has:false,type:t};traverse(e,{noScope:true,denylist:r,enter:hasDenylistedType},null,n);return n.has};traverse.cache=a},56550:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findParent=findParent;t.find=find;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getAncestry=getAncestry;t.isAncestor=isAncestor;t.isDescendant=isDescendant;t.inType=inType;var n=r(30315);var i=r(65519);function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent(e=>e.isFunction())}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{e=e.parentPath}}while(e);if(e&&(e.isProgram()||e.isFile())){throw new Error("File/Program node, we can't possibly find a statement parent to this")}return e}function getEarliestCommonAncestorFrom(e){return this.getDeepestCommonAncestorFrom(e,function(e,t,r){let i;const s=n.VISITOR_KEYS[e.type];for(const e of r){const r=e[t+1];if(!i){i=r;continue}if(r.listKey&&i.listKey===r.listKey){if(r.keya){i=r}}return i})}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let r=Infinity;let n,i;const s=e.map(e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.lengtht===e)}function inType(...e){let t=this;while(t){for(const r of e){if(t.node.type===r)return true}t=t.parentPath}return false}},58092:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shareCommentsWithSiblings=shareCommentsWithSiblings;t.addComment=addComment;t.addComments=addComments;var n=r(30315);function shareCommentsWithSiblings(){if(typeof this.key==="string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1);const i=this.getSibling(this.key+1);const s=Boolean(n.node);const a=Boolean(i.node);if(s&&!a){n.addComments("trailing",t)}else if(a&&!s){i.addComments("leading",r)}}function addComment(e,t,r){n.addComment(this.node,e,t,r)}function addComments(e,t){n.addComments(this.node,e,t)}},9987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.call=call;t._call=_call;t.isBlacklisted=t.isDenylisted=isDenylisted;t.visit=visit;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.setScope=setScope;t.setContext=setContext;t.resync=resync;t._resyncParent=_resyncParent;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncRemoved=_resyncRemoved;t.popContext=popContext;t.pushContext=pushContext;t.setup=setup;t.setKey=setKey;t.requeue=requeue;t._getQueueContexts=_getQueueContexts;var n=r(14126);var i=r(65519);function call(e){const t=this.opts;this.debug(e);if(this.node){if(this._call(t[e]))return true}if(this.node){return this._call(t[this.node.type]&&t[this.node.type][e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const r=t.call(this.state,this,this.state);if(r&&typeof r==="object"&&typeof r.then==="function"){throw new Error(`You appear to be using a plugin with an async traversal visitor, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}if(r){throw new Error(`Unexpected return value from visitor method ${t}`)}if(this.node!==e)return true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function visit(){if(!this.node){return false}if(this.isDenylisted()){return false}if(this.opts.shouldSkip&&this.opts.shouldSkip(this)){return false}if(this.shouldSkip||this.call("enter")||this.shouldSkip){this.debug("Skip...");return this.shouldStop}this.debug("Recursing into...");n.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys);this.call("exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=i.SHOULD_SKIP|i.SHOULD_STOP}function setScope(){if(this.opts&&this.opts.noScope)return;let e=this.parentPath;if(this.key==="key"&&e.isMethod())e=e.parentPath;let t;while(e&&!t){if(e.opts&&e.opts.noScope)return;t=e.scope;e=e.parentPath}this.scope=this.getScope(t);if(this.scope)this.scope.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}this.setScope();return this}function resync(){if(this.removed)return;this._resyncParent();this._resyncList();this._resyncKey()}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let e=0;e0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,r,n){this.listKey=r;this.container=t;this.parentPath=e||this.parentPath;this.setKey(n)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const r of t){r.maybeQueue(e)}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},97297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toComputedKey=toComputedKey;t.ensureBlock=ensureBlock;t.arrowFunctionToShadowed=arrowFunctionToShadowed;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;t.arrowFunctionToExpression=arrowFunctionToExpression;var n=r(30315);var i=r(98733);function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(n.isIdentifier(e))e=n.stringLiteral(e.name)}return e}function ensureBlock(){const e=this.get("body");const t=e.node;if(Array.isArray(e)){throw new Error("Can't convert array path to a block statement")}if(!t){throw new Error("Can't convert node without a body")}if(e.isBlockStatement()){return t}const r=[];let i="body";let s;let a;if(e.isStatement()){a="body";s=0;r.push(e.node)}else{i+=".body.0";if(this.isFunction()){s="argument";r.push(n.returnStatement(e.node))}else{s="expression";r.push(n.expressionStatement(e.node))}}this.node.body=n.blockStatement(r);const o=this.get(i);e.setup(o,a?o.node[a]:o.node,a,s);return this.node}function arrowFunctionToShadowed(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function arrowFunctionToExpression({allowInsertArrow:e=true,specCompliant:t=false,noNewArrows:r=!t}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}const s=hoistFunctionEnvironment(this,r,e);this.ensureBlock();this.node.type="FunctionExpression";if(!r){const e=s?null:this.parentPath.scope.generateUidIdentifier("arrowCheckId");if(e){this.parentPath.scope.push({id:e,init:n.objectExpression([])})}this.get("body").unshiftContainer("body",n.expressionStatement(n.callExpression(this.hub.addHelper("newArrowCheck"),[n.thisExpression(),e?n.identifier(e.name):n.identifier(s)])));this.replaceWith(n.callExpression(n.memberExpression((0,i.default)(this,true)||this.node,n.identifier("bind")),[e?n.identifier(e.name):n.thisExpression()]))}}function hoistFunctionEnvironment(e,t=true,r=true){const i=e.findParent(e=>{return e.isFunction()&&!e.isArrowFunctionExpression()||e.isProgram()||e.isClassProperty({static:false})});const s=(i==null?void 0:i.node.kind)==="constructor";if(i.isClassProperty()){throw e.buildCodeFrameError("Unable to transform arrow inside class property")}const{thisPaths:a,argumentsPaths:o,newTargetPaths:l,superProps:u,superCalls:p}=getScopeInformation(e);if(s&&p.length>0){if(!r){throw p[0].buildCodeFrameError("Unable to handle nested super() usage in arrow")}const e=[];i.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(t){if(!t.get("callee").isSuper())return;e.push(t)}});const t=getSuperBinding(i);e.forEach(e=>{const r=n.identifier(t);r.loc=e.node.callee.loc;e.get("callee").replaceWith(r)})}if(o.length>0){const e=getBinding(i,"arguments",()=>{const e=()=>n.identifier("arguments");if(i.scope.path.isProgram()){return n.conditionalExpression(n.binaryExpression("===",n.unaryExpression("typeof",e()),n.stringLiteral("undefined")),i.scope.buildUndefinedNode(),e())}else{return e()}});o.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(l.length>0){const e=getBinding(i,"newtarget",()=>n.metaProperty(n.identifier("new"),n.identifier("target")));l.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(u.length>0){if(!r){throw u[0].buildCodeFrameError("Unable to handle nested super.prop usage")}const e=u.reduce((e,t)=>e.concat(standardizeSuperProperty(t)),[]);e.forEach(e=>{const t=e.node.computed?"":e.get("property").node.name;const r=e.parentPath.isAssignmentExpression({left:e.node});const s=e.parentPath.isCallExpression({callee:e.node});const o=getSuperPropBinding(i,r,t);const l=[];if(e.node.computed){l.push(e.get("property").node)}if(r){const t=e.parentPath.node.right;l.push(t)}const u=n.callExpression(n.identifier(o),l);if(s){e.parentPath.unshiftContainer("arguments",n.thisExpression());e.replaceWith(n.memberExpression(u,n.identifier("call")));a.push(e.parentPath.get("arguments.0"))}else if(r){e.parentPath.replaceWith(u)}else{e.replaceWith(u)}})}let c;if(a.length>0||!t){c=getThisBinding(i,s);if(t||s&&hasSuperClass(i)){a.forEach(e=>{const t=e.isJSX()?n.jsxIdentifier(c):n.identifier(c);t.loc=e.node.loc;e.replaceWith(t)});if(!t)c=null}}return c}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){const t=e.parentPath;const r=t.node.operator.slice(0,-1);const i=t.node.right;t.node.operator="=";if(e.node.computed){const s=e.scope.generateDeclaredUidIdentifier("tmp");t.get("left").replaceWith(n.memberExpression(e.node.object,n.assignmentExpression("=",s,e.node.property),true));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(s.name),true),i))}else{t.get("left").replaceWith(n.memberExpression(e.node.object,e.node.property));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(e.node.property.name)),i))}return[t.get("left"),t.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const r=e.scope.generateDeclaredUidIdentifier("tmp");const i=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null;const s=[n.assignmentExpression("=",r,n.memberExpression(e.node.object,i?n.assignmentExpression("=",i,e.node.property):e.node.property,e.node.computed)),n.assignmentExpression("=",n.memberExpression(e.node.object,i?n.identifier(i.name):e.node.property,e.node.computed),n.binaryExpression("+",n.identifier(r.name),n.numericLiteral(1)))];if(!e.parentPath.node.prefix){s.push(n.identifier(r.name))}t.replaceWith(n.sequenceExpression(s));const a=t.get("expressions.0.right");const o=t.get("expressions.1.left");return[a,o]}return[e]}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}function getThisBinding(e,t){return getBinding(e,"this",r=>{if(!t||!hasSuperClass(e))return n.thisExpression();const i=new WeakSet;e.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(e){if(!e.get("callee").isSuper())return;if(i.has(e.node))return;i.add(e.node);e.replaceWithMultiple([e.node,n.assignmentExpression("=",n.identifier(r),n.identifier("this"))])}})})}function getSuperBinding(e){return getBinding(e,"supercall",()=>{const t=e.scope.generateUidIdentifier("args");return n.arrowFunctionExpression([n.restElement(t)],n.callExpression(n.super(),[n.spreadElement(n.identifier(t.name))]))})}function getSuperPropBinding(e,t,r){const i=t?"set":"get";return getBinding(e,`superprop_${i}:${r||""}`,()=>{const i=[];let s;if(r){s=n.memberExpression(n.super(),n.identifier(r))}else{const t=e.scope.generateUidIdentifier("prop");i.unshift(t);s=n.memberExpression(n.super(),n.identifier(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("value");i.push(t);s=n.assignmentExpression("=",s,n.identifier(t.name))}return n.arrowFunctionExpression(i,s)})}function getBinding(e,t,r){const n="binding:"+t;let i=e.getData(n);if(!i){const s=e.scope.generateUidIdentifier(t);i=s.name;e.setData(n,i);e.scope.push({id:s,init:r(i)})}return i}function getScopeInformation(e){const t=[];const r=[];const n=[];const i=[];const s=[];e.traverse({ClassProperty(e){e.skip()},Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ThisExpression(e){t.push(e)},JSXIdentifier(e){if(e.node.name!=="this")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e){if(e.get("callee").isSuper())s.push(e)},MemberExpression(e){if(e.get("object").isSuper())i.push(e)},ReferencedIdentifier(e){if(e.node.name!=="arguments")return;let t=e.scope;do{if(t.hasOwnBinding("arguments")){t.rename("arguments");return}if(t.path.isFunction()&&!t.path.isArrowFunctionExpression()){break}}while(t=t.parent);r.push(e)},MetaProperty(e){if(!e.get("meta").isIdentifier({name:"new"}))return;if(!e.get("property").isIdentifier({name:"target"}))return;n.push(e)}});return{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:s}}},3081:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluateTruthy=evaluateTruthy;t.evaluate=evaluate;const r=["String","Number","Math"];const n=["random"];function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}function evaluateCached(e,t){const{node:r}=e;const{seen:n}=t;if(n.has(r)){const i=n.get(r);if(i.resolved){return i.value}else{deopt(e,t);return}}else{const i={resolved:false};n.set(r,i);const s=_evaluate(e,t);if(t.confident){i.resolved=true;i.value=s}return s}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const r=e.get("expressions");return evaluateCached(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral()){return e.node.value}if(e.isNullLiteral()){return null}if(e.isTemplateLiteral()){return evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const r=e.get("tag.object");const{node:{name:n}}=r;const i=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&i.isIdentifier()&&i.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const r=evaluateCached(e.get("test"),t);if(!t.confident)return;if(r){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const t=e.get("property");const r=e.get("object");if(r.isLiteral()&&t.isIdentifier()){const e=r.node.value;const n=typeof e;if(n==="number"||n==="string"){return e[t.node.name]}}}if(e.isReferencedIdentifier()){const r=e.scope.getBinding(e.node.name);if(r&&r.constantViolations.length>0){return deopt(r.path,t)}if(r&&e.node.start":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){const i=e.get("callee");let s;let a;if(i.isIdentifier()&&!e.scope.getBinding(i.node.name)&&r.indexOf(i.node.name)>=0){a=global[i.node.name]}if(i.isMemberExpression()){const e=i.get("object");const t=i.get("property");if(e.isIdentifier()&&t.isIdentifier()&&r.indexOf(e.node.name)>=0&&n.indexOf(t.node.name)<0){s=global[e.node.name];a=s[t.node.name]}if(e.isLiteral()&&t.isIdentifier()){const r=typeof e.node.value;if(r==="string"||r==="number"){s=e.node.value;a=s[t.node.name]}}}if(a){const r=e.get("arguments").map(e=>evaluateCached(e,t));if(!t.confident)return;return a.apply(s,r)}}deopt(e,t)}function evaluateQuasis(e,t,r,n=false){let i="";let s=0;const a=e.get("expressions");for(const e of t){if(!r.confident)break;i+=n?e.value.raw:e.value.cooked;const t=a[s++];if(t)i+=String(evaluateCached(t,r))}if(!r.confident)return;return i}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},14237:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOpposite=getOpposite;t.getCompletionRecords=getCompletionRecords;t.getSibling=getSibling;t.getPrevSibling=getPrevSibling;t.getNextSibling=getNextSibling;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.get=get;t._getKey=_getKey;t._getPattern=_getPattern;t.getBindingIdentifiers=getBindingIdentifiers;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;var n=r(65519);var i=r(30315);const s=0;const a=1;function NormalCompletion(e){return{type:s,path:e}}function BreakCompletion(e){return{type:a,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,r){if(e)return t.concat(_getCompletionRecords(e,r));return t}function completionRecordForSwitch(e,t,r){let n=[];for(let i=0;i{e.type=a})}function replaceBreakStatementInBreakCompletion(e,t){e.forEach(e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(i.unaryExpression("void",i.numericLiteral(0)))}else{e.path.remove()}}})}function getStatementListCompletion(e,t){let r=[];if(t.canHaveBreak){let n=[];for(let i=0;i0&&u.every(e=>e.type===a)){if(n.length>0&&u.every(e=>e.path.isBreakStatement({label:null}))){normalCompletionToBreak(n);r=r.concat(n);if(n.some(e=>e.path.isDeclaration())){r=r.concat(u);replaceBreakStatementInBreakCompletion(u,true)}replaceBreakStatementInBreakCompletion(u,false)}else{r=r.concat(u);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(u,true)}}break}if(i===e.length-1){r=r.concat(u)}else{r=r.concat(u.filter(e=>e.type===a));n=u.filter(e=>e.type===s)}}}else if(e.length){for(let n=e.length-1;n>=0;n--){const i=_getCompletionRecords(e[n],t);if(i.length>1||i.length===1&&!i[0].path.isVariableDeclaration()){r=r.concat(i);break}}}return r}function _getCompletionRecords(e,t){let r=[];if(e.isIfStatement()){r=addCompletionRecords(e.get("consequent"),r,t);r=addCompletionRecords(e.get("alternate"),r,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isProgram()||e.isBlockStatement()){r=r.concat(getStatementListCompletion(e.get("body"),t))}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){r=addCompletionRecords(e.get("block"),r,t);r=addCompletionRecords(e.get("handler"),r,t)}else if(e.isCatchClause()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isSwitchStatement()){r=completionRecordForSwitch(e.get("cases"),r,t)}else if(e.isSwitchCase()){r=r.concat(getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true}))}else if(e.isBreakStatement()){r.push(BreakCompletion(e))}else{r.push(NormalCompletion(e))}return r}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map(e=>e.path)}function getSibling(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const r=[];while(t.node){r.push(t);t=this.getSibling(++e)}return r}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const r=[];while(t.node){r.push(t);t=this.getSibling(--e)}return r}function get(e,t=true){if(t===true)t=this.context;const r=e.split(".");if(r.length===1){return this._getKey(e,t)}else{return this._getPattern(r,t)}}function _getKey(e,t){const r=this.node;const i=r[e];if(Array.isArray(i)){return i.map((s,a)=>{return n.default.get({listKey:e,parentPath:this,parent:r,container:i,key:a}).setContext(t)})}else{return n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}}function _getPattern(e,t){let r=this;for(const n of e){if(n==="."){r=r.parentPath}else{if(Array.isArray(r)){r=r[n]}else{r=r.get(n,t)}}}return r}function getBindingIdentifiers(e){return i.getBindingIdentifiers(this.node,e)}function getOuterBindingIdentifiers(e){return i.getOuterBindingIdentifiers(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const r=this;let n=[].concat(r);const s=Object.create(null);while(n.length){const r=n.shift();if(!r)continue;if(!r.node)continue;const a=i.getBindingIdentifiers.keys[r.node.type];if(r.isIdentifier()){if(e){const e=s[r.node.name]=s[r.node.name]||[];e.push(r)}else{s[r.node.name]=r}continue}if(r.isExportDeclaration()){const e=r.get("declaration");if(e.isDeclaration()){n.push(e)}continue}if(t){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression()){continue}}if(a){for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.SHOULD_SKIP=t.SHOULD_STOP=t.REMOVED=void 0;var n=r(39550);var i=r(31185);var s=r(14126);var a=r(96042);var o=r(30315);var l=r(66375);var u=r(43187);var p=r(56550);var c=r(64086);var f=r(15426);var d=r(3081);var y=r(97297);var h=r(29605);var m=r(9987);var T=r(65821);var S=r(39187);var b=r(14237);var E=r(58092);const g=i("babel");const x=1<<0;t.REMOVED=x;const P=1<<1;t.SHOULD_STOP=P;const A=1<<2;t.SHOULD_SKIP=A;class NodePath{constructor(e,t){this.contexts=[];this.state=null;this.opts=null;this._traverseFlags=0;this.skipKeys=null;this.parentPath=null;this.container=null;this.listKey=null;this.key=null;this.node=null;this.type=null;this.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:i,key:s}){if(!e&&t){e=t.hub}if(!r){throw new Error("To get a node path the parent needs to exist")}const a=n[s];let o=l.path.get(r);if(!o){o=new Map;l.path.set(r,o)}let u=o.get(a);if(!u){u=new NodePath(e,r);if(a)o.set(a,u)}u.setup(t,n,i,s);return u}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let r=this.data[e];if(r===undefined&&t!==undefined)r=this.data[e]=t;return r}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,s.default)(this.node,e,this.scope,t,this)}set(e,t){o.validate(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;if(t.inList)r=`${t.listKey}[${r}]`;e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){if(!g.enabled)return;g(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&A)}set shouldSkip(e){if(e){this._traverseFlags|=A}else{this._traverseFlags&=~A}}get shouldStop(){return!!(this._traverseFlags&P)}set shouldStop(e){if(e){this._traverseFlags|=P}else{this._traverseFlags&=~P}}get removed(){return!!(this._traverseFlags&x)}set removed(e){if(e){this._traverseFlags|=x}else{this._traverseFlags&=~x}}}Object.assign(NodePath.prototype,p,c,f,d,y,h,m,T,S,b,E);for(const e of o.TYPES){const t=`is${e}`;const r=o[t];NodePath.prototype[t]=function(e){return r(this.node,e)};NodePath.prototype[`assert${e}`]=function(t){if(!r(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}for(const e of Object.keys(n)){if(e[0]==="_")continue;if(o.TYPES.indexOf(e)<0)o.TYPES.push(e);const t=n[e];NodePath.prototype[`is${e}`]=function(e){return t.checkPath(this,e)}}var v=NodePath;t.default=v},64086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getTypeAnnotation=getTypeAnnotation;t._getTypeAnnotation=_getTypeAnnotation;t.isBaseType=isBaseType;t.couldBeBaseType=couldBeBaseType;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.isGenericType=isGenericType;var n=r(39022);var i=r(30315);function getTypeAnnotation(){if(this.typeAnnotation)return this.typeAnnotation;let e=this._getTypeAnnotation()||i.anyTypeAnnotation();if(i.isTypeAnnotation(e))e=e.typeAnnotation;return this.typeAnnotation=e}const s=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return i.stringTypeAnnotation()}if(e.key==="left"&&t.isForOfStatement()){return i.anyTypeAnnotation()}return i.voidTypeAnnotation()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(s.has(e)){return}s.add(e);try{var t;let r=n[e.type];if(r){return r.call(this,e)}r=n[this.parentPath.type];if((t=r)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{s.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,r){if(e==="string"){return i.isStringTypeAnnotation(t)}else if(e==="number"){return i.isNumberTypeAnnotation(t)}else if(e==="boolean"){return i.isBooleanTypeAnnotation(t)}else if(e==="any"){return i.isAnyTypeAnnotation(t)}else if(e==="mixed"){return i.isMixedTypeAnnotation(t)}else if(e==="empty"){return i.isEmptyTypeAnnotation(t)}else if(e==="void"){return i.isVoidTypeAnnotation(t)}else{if(r){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(i.isAnyTypeAnnotation(t))return true;if(i.isUnionTypeAnnotation(t)){for(const r of t.types){if(i.isAnyTypeAnnotation(r)||_isBaseType(e,r,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const r=e.getTypeAnnotation();if(!i.isAnyTypeAnnotation(t)&&i.isFlowBaseAnnotation(t)){return r.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();return i.isGenericTypeAnnotation(t)&&i.isIdentifier(t.id,{name:e})}},66674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(30315);function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return n.voidTypeAnnotation()}else if(e.name==="NaN"||e.name==="Infinity"){return n.numberTypeAnnotation()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,r){const i=[];const s=[];let a=getConstantViolationsBefore(e,t,s);const o=getConditionalAnnotation(e,t,r);if(o){const t=getConstantViolationsBefore(e,o.ifStatement);a=a.filter(e=>t.indexOf(e)<0);i.push(o.typeAnnotation)}if(a.length){a=a.concat(s);for(const e of a){i.push(e.getTypeAnnotation())}}if(!i.length){return}if(n.isTSTypeAnnotation(i[0])&&n.createTSUnionType){return n.createTSUnionType(i)}if(n.createFlowUnionType){return n.createFlowUnionType(i)}return n.createUnionTypeAnnotation(i)}function getConstantViolationsBefore(e,t,r){const n=e.constantViolations.slice();n.unshift(e.path);return n.filter(e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);if(r&&n==="unknown")r.push(e);return n==="before"})}function inferAnnotationFromBinaryExpression(e,t){const r=t.node.operator;const i=t.get("right").resolve();const s=t.get("left").resolve();let a;if(s.isIdentifier({name:e})){a=i}else if(i.isIdentifier({name:e})){a=s}if(a){if(r==="==="){return a.getTypeAnnotation()}if(n.BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(r)>=0){return n.numberTypeAnnotation()}return}if(r!=="==="&&r!=="==")return;let o;let l;if(s.isUnaryExpression({operator:"typeof"})){o=s;l=i}else if(i.isUnaryExpression({operator:"typeof"})){o=i;l=s}if(!o)return;if(!o.get("argument").isIdentifier({name:e}))return;l=l.resolve();if(!l.isLiteral())return;const u=l.node.value;if(typeof u!=="string")return;return n.createTypeAnnotationBasedOnTypeof(u)}function getParentConditionalPath(e,t,r){let n;while(n=t.parentPath){if(n.isIfStatement()||n.isConditionalExpression()){if(t.key==="test"){return}return n}if(n.isFunction()){if(n.parentPath.scope.getBinding(r)!==e)return}t=n}}function getConditionalAnnotation(e,t,r){const i=getParentConditionalPath(e,t,r);if(!i)return;const s=i.get("test");const a=[s];const o=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VariableDeclarator=VariableDeclarator;t.TypeCastExpression=TypeCastExpression;t.NewExpression=NewExpression;t.TemplateLiteral=TemplateLiteral;t.UnaryExpression=UnaryExpression;t.BinaryExpression=BinaryExpression;t.LogicalExpression=LogicalExpression;t.ConditionalExpression=ConditionalExpression;t.SequenceExpression=SequenceExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.AssignmentExpression=AssignmentExpression;t.UpdateExpression=UpdateExpression;t.StringLiteral=StringLiteral;t.NumericLiteral=NumericLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.RegExpLiteral=RegExpLiteral;t.ObjectExpression=ObjectExpression;t.ArrayExpression=ArrayExpression;t.RestElement=RestElement;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;t.CallExpression=CallExpression;t.TaggedTemplateExpression=TaggedTemplateExpression;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return i.default}});var n=r(30315);var i=r(66674);function VariableDeclarator(){var e;const t=this.get("id");if(!t.isIdentifier())return;const r=this.get("init");let n=r.getTypeAnnotation();if(((e=n)==null?void 0:e.type)==="AnyTypeAnnotation"){if(r.isCallExpression()&&r.get("callee").isIdentifier({name:"Array"})&&!r.scope.hasBinding("Array",true)){n=ArrayExpression()}}return n}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function NewExpression(e){if(this.get("callee").isIdentifier()){return n.genericTypeAnnotation(e.callee)}}function TemplateLiteral(){return n.stringTypeAnnotation()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return n.voidTypeAnnotation()}else if(n.NUMBER_UNARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.STRING_UNARY_OPERATORS.indexOf(t)>=0){return n.stringTypeAnnotation()}else if(n.BOOLEAN_UNARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}}function BinaryExpression(e){const t=e.operator;if(n.NUMBER_BINARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.BOOLEAN_BINARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return n.numberTypeAnnotation()}else if(t.isBaseType("string")||e.isBaseType("string")){return n.stringTypeAnnotation()}return n.unionTypeAnnotation([n.stringTypeAnnotation(),n.numberTypeAnnotation()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return n.numberTypeAnnotation()}}function StringLiteral(){return n.stringTypeAnnotation()}function NumericLiteral(){return n.numberTypeAnnotation()}function BooleanLiteral(){return n.booleanTypeAnnotation()}function NullLiteral(){return n.nullLiteralTypeAnnotation()}function RegExpLiteral(){return n.genericTypeAnnotation(n.identifier("RegExp"))}function ObjectExpression(){return n.genericTypeAnnotation(n.identifier("Object"))}function ArrayExpression(){return n.genericTypeAnnotation(n.identifier("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return n.genericTypeAnnotation(n.identifier("Function"))}const s=n.buildMatchMemberExpression("Array.from");const a=n.buildMatchMemberExpression("Object.keys");const o=n.buildMatchMemberExpression("Object.values");const l=n.buildMatchMemberExpression("Object.entries");function CallExpression(){const{callee:e}=this.node;if(a(e)){return n.arrayTypeAnnotation(n.stringTypeAnnotation())}else if(s(e)||o(e)){return n.arrayTypeAnnotation(n.anyTypeAnnotation())}else if(l(e)){return n.arrayTypeAnnotation(n.tupleTypeAnnotation([n.stringTypeAnnotation(),n.anyTypeAnnotation()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){if(e.is("async")){if(e.is("generator")){return n.genericTypeAnnotation(n.identifier("AsyncIterator"))}else{return n.genericTypeAnnotation(n.identifier("Promise"))}}else{if(e.node.returnType){return e.node.returnType}else{}}}}},29605:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.matchesPattern=matchesPattern;t.has=has;t.isStatic=isStatic;t.isnt=isnt;t.equals=equals;t.isNodeType=isNodeType;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.isCompletionRecord=isCompletionRecord;t.isStatementOrBlock=isStatementOrBlock;t.referencesImport=referencesImport;t.getSource=getSource;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._guessExecutionStatusRelativeToDifferentFunctions=_guessExecutionStatusRelativeToDifferentFunctions;t.resolve=resolve;t._resolve=_resolve;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.is=void 0;var n=r(30315);function matchesPattern(e,t){return n.matchesPattern(this.node,e,t)}function has(e){const t=this.node&&this.node[e];if(t&&Array.isArray(t)){return!!t.length}else{return!!t}}function isStatic(){return this.scope.isStatic(this.node)}const i=has;t.is=i;function isnt(e){return!this.has(e)}function equals(e,t){return this.node[e]===t}function isNodeType(e){return n.isType(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return n.isBlockStatement(e)}else if(this.isBlockStatement()){return n.isExpression(e)}return false}function isCompletionRecord(e){let t=this;let r=true;do{const n=t.container;if(t.isFunction()&&!r){return!!e}r=false;if(Array.isArray(n)&&t.key!==n.length-1){return false}}while((t=t.parentPath)&&!t.isProgram());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||n.isBlockStatement(this.container)){return false}else{return n.STATEMENT_OR_BLOCK_KEYS.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if((this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?n.isStringLiteral(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return false;const i=r.path;const s=i.parentPath;if(!s.isImportDeclaration())return false;if(s.node.source.value===e){if(!t)return true}else{return false}if(i.isImportDefaultSpecifier()&&t==="default"){return true}if(i.isImportNamespaceSpecifier()&&t==="*"){return true}if(i.isImportSpecifier()&&n.isIdentifier(i.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return(e.scope.getFunctionParent()||e.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let r=0;r=0)return"after";if(r.this.indexOf(e)>=0)return"before";let i;const s={target:0,this:0};while(!i&&s.this=0){i=e}else{s.this++}}if(!i){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(r.this,s.this-1)||isExecutionUncertainInList(r.target,s.target-1)){return"unknown"}const a={this:r.this[s.this-1],target:r.target[s.target-1]};if(a.target.listKey&&a.this.listKey&&a.target.container===a.this.container){return a.target.key>a.this.key?"before":"after"}const o=n.VISITOR_KEYS[i.type];const l={this:o.indexOf(a.this.parentKey),target:o.indexOf(a.target.parentKey)};return l.target>l.this?"before":"after"}const s=new WeakSet;function _guessExecutionStatusRelativeToDifferentFunctions(e){if(!e.isFunctionDeclaration()||e.parentPath.isExportDeclaration()){return"unknown"}const t=e.scope.getBinding(e.node.id.name);if(!t.references)return"before";const r=t.referencePaths;let n;for(const t of r){const r=!!t.find(t=>t.node===e.node);if(r)continue;if(t.key!=="callee"||!t.parentPath.isCallExpression()){return"unknown"}if(s.has(t.node))continue;s.add(t.node);const i=this._guessExecutionStatusRelativeTo(t);s.delete(t.node);if(n&&n!==i){return"unknown"}else{n=i}}return n}function resolve(e,t){return this._resolve(e,t)||this}function _resolve(e,t){if(t&&t.indexOf(this)>=0)return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if(r.kind==="module")return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find(e=>e.node===n.node))return;return n}}else if(this.isTypeCastExpression()){return this.get("expression").resolve(e,t)}else if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!n.isLiteral(r))return;const i=r.value;const s=this.get("object").resolve(e,t);if(s.isObjectExpression()){const r=s.get("properties");for(const n of r){if(!n.isProperty())continue;const r=n.get("key");let s=n.isnt("computed")&&r.isIdentifier({name:i});s=s||r.isLiteral({value:i});if(s)return n.get("value").resolve(e,t)}}else if(s.isArrayExpression()&&!isNaN(+i)){const r=s.get("elements");const n=r[i];if(n)return n.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every(e=>e.isConstantExpression())}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find(e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(!e.isProgram()&&!e.isFunction())return false;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}const t=e.isFunction()?e.node.body:e.node;for(const e of t.directives){if(e.value.value==="use strict"){return true}}});return!!t}},20223:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(30315);const i={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&n.react.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);if(r)t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);if(!r)return;for(const n of r.constantViolations){if(n.scope!==r.path.scope){t.mutableBinding=true;e.stop();return}}if(r!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=r}};class PathHoister{constructor(e,t){this.breakOnScopePaths=void 0;this.bindings=void 0;this.mutableBinding=void 0;this.scopes=void 0;this.scope=void 0;this.path=void 0;this.attachAfter=void 0;this.breakOnScopePaths=[];this.bindings={};this.mutableBinding=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.indexOf(e.path)>=0){break}}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e){t=e.scope.parent}if(t.path.isProgram()||t.path.isFunction()){for(const r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if(n.kind==="param"||n.path.parentKey==="params"){continue}const i=this.getAttachmentParentForPath(n.path);if(i.key>=e.key){this.attachAfter=true;e=n.path;for(const t of n.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const r=[function(e,t){const r=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(r){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&(e.key==="consequent"||e.key==="alternate")||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}];t.hooks=r},39550:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ForAwaitStatement=t.NumericLiteralTypeAnnotation=t.ExistentialTypeParam=t.SpreadProperty=t.RestProperty=t.Flow=t.Pure=t.Generated=t.User=t.Var=t.BlockScoped=t.Referenced=t.Scope=t.Expression=t.Statement=t.BindingIdentifier=t.ReferencedMemberExpression=t.ReferencedIdentifier=void 0;var n=r(30315);const i={types:["Identifier","JSXIdentifier"],checkPath(e,t){const{node:r,parent:i}=e;if(!n.isIdentifier(r,t)&&!n.isJSXMemberExpression(i,t)){if(n.isJSXIdentifier(r,t)){if(n.react.isCompatTag(r.name))return false}else{return false}}return n.isReferenced(r,i,e.parentPath.parent)}};t.ReferencedIdentifier=i;const s={types:["MemberExpression"],checkPath({node:e,parent:t}){return n.isMemberExpression(e)&&n.isReferenced(e,t)}};t.ReferencedMemberExpression=s;const a={types:["Identifier"],checkPath(e){const{node:t,parent:r}=e;const i=e.parentPath.parent;return n.isIdentifier(t)&&n.isBinding(t,r,i)}};t.BindingIdentifier=a;const o={types:["Statement"],checkPath({node:e,parent:t}){if(n.isStatement(e)){if(n.isVariableDeclaration(e)){if(n.isForXStatement(t,{left:e}))return false;if(n.isForStatement(t,{init:e}))return false}return true}else{return false}}};t.Statement=o;const l={types:["Expression"],checkPath(e){if(e.isIdentifier()){return e.isReferencedIdentifier()}else{return n.isExpression(e.node)}}};t.Expression=l;const u={types:["Scopable","Pattern"],checkPath(e){return n.isScope(e.node,e.parent)}};t.Scope=u;const p={checkPath(e){return n.isReferenced(e.node,e.parent)}};t.Referenced=p;const c={checkPath(e){return n.isBlockScoped(e.node)}};t.BlockScoped=c;const f={types:["VariableDeclaration"],checkPath(e){return n.isVar(e.node)}};t.Var=f;const d={checkPath(e){return e.node&&!!e.node.loc}};t.User=d;const y={checkPath(e){return!e.isUser()}};t.Generated=y;const h={checkPath(e,t){return e.scope.isPure(e.node,t)}};t.Pure=h;const m={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath({node:e}){if(n.isFlow(e)){return true}else if(n.isImportDeclaration(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(n.isExportDeclaration(e)){return e.exportKind==="type"}else if(n.isImportSpecifier(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}};t.Flow=m;const T={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectPattern()}};t.RestProperty=T;const S={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectExpression()}};t.SpreadProperty=S;const b={types:["ExistsTypeAnnotation"]};t.ExistentialTypeParam=b;const E={types:["NumberLiteralTypeAnnotation"]};t.NumericLiteralTypeAnnotation=E;const g={types:["ForOfStatement"],checkPath({node:e}){return e.await===true}};t.ForAwaitStatement=g},39187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.insertBefore=insertBefore;t._containerInsert=_containerInsert;t._containerInsertBefore=_containerInsertBefore;t._containerInsertAfter=_containerInsertAfter;t.insertAfter=insertAfter;t.updateSiblingKeys=updateSiblingKeys;t._verifyNodeList=_verifyNodeList;t.unshiftContainer=unshiftContainer;t.pushContainer=pushContainer;t.hoist=hoist;var n=r(66375);var i=r(20223);var s=r(65519);var a=r(30315);function insertBefore(e){this._assertUnremoved();const t=this._verifyNodeList(e);const{parentPath:r}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||r.isExportNamedDeclaration()||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertBefore(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.unshiftContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function _containerInsert(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let n=0;n{return a.isExpression(e)?a.expressionStatement(e):e}))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){const e=this.node;let{scope:n}=this;if(n.path.isPattern()){a.assertExpression(e);this.replaceWith(a.callExpression(a.arrowFunctionExpression([],e),[]));this.get("callee.body").insertAfter(t);return[this]}if(r.isMethod({computed:true,key:e})){n=n.parent}const i=n.generateDeclaredUidIdentifier();t.unshift(a.expressionStatement(a.assignmentExpression("=",a.cloneNode(i),e)));t.push(a.expressionStatement(a.cloneNode(i)))}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertAfter(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.pushContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(const[,n]of r){if(n.key>=e){n.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.remove=remove;t._removeFromScope=_removeFromScope;t._callRemovalHooks=_callRemovalHooks;t._remove=_remove;t._markRemoved=_markRemoved;t._assertUnremoved=_assertUnremoved;var n=r(74187);var i=r(66375);var s=r(65519);function remove(){var e;this._assertUnremoved();this.resync();if(!((e=this.opts)!=null&&e.noScope)){this._removeFromScope()}if(this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings();this._remove();this._markRemoved()}function _removeFromScope(){const e=this.getBindingIdentifiers();Object.keys(e).forEach(e=>this.scope.removeBinding(e))}function _callRemovalHooks(){for(const e of n.hooks){if(e(this,this.parentPath))return true}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);this.updateSiblingKeys(this.key,-1)}else{this._replaceWith(null)}}function _markRemoved(){this._traverseFlags|=s.SHOULD_SKIP|s.REMOVED;if(this.parent)i.path.get(this.parent).delete(this.node);this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},15426:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;t.replaceWith=replaceWith;t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;var n=r(90617);var i=r(14126);var s=r(65519);var a=r(66375);var o=r(56852);var l=r(30315);var u=r(28497);function replaceWithMultiple(e){var t;this.resync();e=this._verifyNodeList(e);l.inheritLeadingComments(e[0],this.node);l.inheritTrailingComments(e[e.length-1],this.node);(t=a.path.get(this.parent))==null?void 0:t.delete(this.node);this.node=this.container[this.key]=null;const r=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return r}function replaceWithSourceString(e){this.resync();try{e=`(${e})`;e=(0,o.parse)(e)}catch(t){const r=t.loc;if(r){t.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}});t.code="BABEL_REPLACE_SOURCE_ERROR"}throw t}e=e.program.body[0].expression;i.default.removeProperties(e);return this.replaceWith(e)}function replaceWith(e){this.resync();if(this.removed){throw new Error("You can't replace this node, we've already removed it")}if(e instanceof s.default){e=e.node}if(!e){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===e){return[this]}if(this.isProgram()&&!l.isProgram(e)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(e)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof e==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let t="";if(this.isNodeType("Statement")&&l.isExpression(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)&&!this.parentPath.isExportDefaultDeclaration()){e=l.expressionStatement(e);t="expression"}}if(this.isNodeType("Expression")&&l.isStatement(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)){return this.replaceExpressionWithStatements([e])}}const r=this.node;if(r){l.inheritsComments(e,r);l.removeComments(r)}this._replaceWith(e);this.type=e.type;this.setScope();this.requeue();return[t?this.get(t):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){l.validate(this.parent,this.key,[e])}else{l.validate(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=a.path.get(this.parent))==null?void 0:t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){this.resync();const t=l.toSequenceExpression(e,this.scope);if(t){return this.replaceWith(t)[0].get("expressions")}const r=this.getFunctionParent();const n=r==null?void 0:r.is("async");const s=r==null?void 0:r.is("generator");const a=l.arrowFunctionExpression([],l.blockStatement(e));this.replaceWith(l.callExpression(a,[]));const o=this.get("callee");(0,u.default)(o.get("body"),e=>{this.scope.push({id:e})},"var");const p=this.get("callee").getCompletionRecords();for(const e of p){if(!e.isExpressionStatement())continue;const t=e.findParent(e=>e.isLoop());if(t){let r=t.getData("expressionReplacementReturnUid");if(!r){r=o.scope.generateDeclaredUidIdentifier("ret");o.get("body").pushContainer("body",l.returnStatement(l.cloneNode(r)));t.setData("expressionReplacementReturnUid",r)}else{r=l.identifier(r.name)}e.get("expression").replaceWith(l.assignmentExpression("=",l.cloneNode(r),e.node.expression))}else{e.replaceWith(l.returnStatement(e.node.expression))}}o.arrowFunctionToExpression();const c=o;const f=n&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",l.FUNCTION_TYPES);const d=s&&i.default.hasType(this.get("callee.body").node,"YieldExpression",l.FUNCTION_TYPES);if(f){c.set("async",true);if(!d){this.replaceWith(l.awaitExpression(this.node))}}if(d){c.set("generator",true);this.replaceWith(l.yieldExpression(this.node,true))}return c.get("body.body")}function replaceInline(e){this.resync();if(Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},27187:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Binding{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0;this.scope=void 0;this.path=void 0;this.kind=void 0;this.constantViolations=[];this.constant=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=r;this.kind=n;this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.indexOf(e)!==-1){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.indexOf(e)!==-1){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t.default=Binding},96042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(67761);var i=r(14126);var s=r(27187);var a=r(41389);var o=r(30315);var l=r(66375);function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(o.isModuleDeclaration(e)){if((o.isExportAllDeclaration(e)||o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.source){gatherNodeParts(e.source,t)}else if((o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.specifiers&&e.specifiers.length){for(const r of e.specifiers)gatherNodeParts(r,t)}else if((o.isExportDefaultDeclaration(e)||o.isExportNamedDeclaration(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(o.isModuleSpecifier(e)){gatherNodeParts(e.local,t)}else if(o.isLiteral(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const r of e.properties){gatherNodeParts(r,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":t.push(e.name);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}const u={For(e){for(const t of o.FOR_INIT_KEYS){const r=e.get(t);if(r.isVar()){const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerBinding("var",r)}}},Declaration(e){if(e.isBlockScoped())return;if(e.isImportDeclaration())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ImportDeclaration(e){const t=e.scope.getBlockParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier()){t.constantViolations.push(e)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(o.isExportAllDeclaration(t))return;const n=t.declaration;if(o.isClassDeclaration(n)||o.isFunctionDeclaration(n)){const t=n.id;if(!t)return;const i=r.getBinding(t.name);if(i)i.reference(e)}else if(o.isVariableDeclaration(n)){for(const t of n.declarations){for(const n of Object.keys(o.getBindingIdentifiers(t))){const t=r.getBinding(n);if(t)t.reference(e)}}}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const r=t.getBlockParent();r.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){if(e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e.get("id"),e)}const t=e.get("params");for(const r of t){e.scope.registerBinding("param",r)}},ClassExpression(e){if(e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e)}}};let p=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.labels=void 0;this.inited=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const r=l.scope.get(t);if((r==null?void 0:r.path)===e){return r}l.scope.set(t,this);this.uid=p++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,r=this.path;do{const e=r.key==="key";r=r.parentPath;if(e&&r.isMethod())r=r.parentPath;if(r&&r.isScope())t=r}while(r&&!t);return(e=t)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,i.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return o.cloneNode(t)}generateUidIdentifier(e){return o.identifier(this.generateUid(e))}generateUid(e="temp"){e=o.toIdentifier(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let t;let r=1;do{t=this._generateUid(e,r);r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();n.references[t]=true;n.uids[t]=true;return t}_generateUid(e,t){let r=e;if(t>1)r+=t;return`_${r}`}generateUidBasedOnNode(e,t){const r=[];gatherNodeParts(e,r);let n=r.join("$");n=n.replace(/^_/,"")||t||"ref";return this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return o.identifier(this.generateUidBasedOnNode(e,t))}isStatic(e){if(o.isThisExpression(e)||o.isSuper(e)){return true}if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const r=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:r});return o.cloneNode(r)}return r}}checkBlockScopedCollisions(e,t,r,n){if(t==="param")return;if(e.kind==="local")return;const i=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&(t==="let"||t==="const");if(i){throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}}rename(e,t,r){const i=this.getBinding(e);if(i){t=t||this.generateUidIdentifier(e).name;return new n.default(i,e,t).rename(r)}}_renameFromMap(e,t,r,n){if(e[t]){e[r]=n;e[t]=null}}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,r){if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(o.isArrayExpression(e)){return e}if(o.isIdentifier(e,{name:"arguments"})){return o.callExpression(o.memberExpression(o.memberExpression(o.memberExpression(o.identifier("Array"),o.identifier("prototype")),o.identifier("slice")),o.identifier("call")),[e])}let n;const i=[e];if(t===true){n="toConsumableArray"}else if(t){i.push(o.numericLiteral(t));n="slicedToArray"}else{n="toArray"}if(r){i.unshift(this.hub.addHelper(n));n="maybeArrayLike"}return o.callExpression(this.hub.addHelper(n),i)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement()){this.registerLabel(e)}else if(e.isFunctionDeclaration()){this.registerBinding("hoisted",e.get("id"),e)}else if(e.isVariableDeclaration()){const t=e.get("declarations");for(const r of t){this.registerBinding(e.node.kind,r)}}else if(e.isClassDeclaration()){this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.get("specifiers");for(const e of t){this.registerBinding("module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return o.unaryExpression("void",o.numericLiteral(0),true)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const t=this.getBinding(r);if(t)t.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r){this.registerBinding(e,t)}return}const n=this.getProgramParent();const i=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(i)){n.references[t]=true;for(const n of i[t]){const i=this.getOwnBinding(t);if(i){if(i.identifier===n)continue;this.checkBlockScopedCollisions(i,e,t,n)}if(i){this.registerConstantViolation(r)}else{this.bindings[t]=new s.default({identifier:n,scope:this,path:r,kind:e})}}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(o.isIdentifier(e)){const r=this.getBinding(e.name);if(!r)return false;if(t)return r.constant;return true}else if(o.isClass(e)){if(e.superClass&&!this.isPure(e.superClass,t)){return false}return this.isPure(e.body,t)}else if(o.isClassBody(e)){for(const r of e.body){if(!this.isPure(r,t))return false}return true}else if(o.isBinary(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(o.isArrayExpression(e)){for(const r of e.elements){if(!this.isPure(r,t))return false}return true}else if(o.isObjectExpression(e)){for(const r of e.properties){if(!this.isPure(r,t))return false}return true}else if(o.isMethod(e)){if(e.computed&&!this.isPure(e.key,t))return false;if(e.kind==="get"||e.kind==="set")return false;return true}else if(o.isProperty(e)){if(e.computed&&!this.isPure(e.key,t))return false;return this.isPure(e.value,t)}else if(o.isUnaryExpression(e)){return this.isPure(e.argument,t)}else if(o.isTaggedTemplateExpression(e)){return o.matchesPattern(e.tag,"String.raw")&&!this.hasBinding("String",true)&&this.isPure(e.quasi,t)}else if(o.isTemplateLiteral(e)){for(const r of e.expressions){if(!this.isPure(r,t))return false}return true}else{return o.isPureish(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(r!=null)return r}while(t=t.parent)}removeData(e){let t=this;do{const r=t.data[e];if(r!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;this.references=Object.create(null);this.bindings=Object.create(null);this.globals=Object.create(null);this.uids=Object.create(null);this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const r={references:[],constantViolations:[],assignments:[]};this.crawling=true;if(e.type!=="Program"&&u._exploded){for(const t of u.enter){t(e,r)}const t=u[e.type];if(t){for(const n of t.enter){n(e,r)}}}e.traverse(u,r);this.crawling=false;for(const e of r.assignments){const r=e.getBindingIdentifiers();for(const n of Object.keys(r)){if(e.scope.getBinding(n))continue;t.addGlobal(r[n])}e.scope.registerConstantViolation(e)}for(const e of r.references){const r=e.scope.getBinding(e.node.name);if(r){r.reference(e)}else{t.addGlobal(e.node)}}for(const e of r.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const r=e.unique;const n=e.kind||"var";const i=e._blockHoist==null?2:e._blockHoist;const s=`declaration:${n}:${i}`;let a=!r&&t.getData(s);if(!a){const e=o.variableDeclaration(n,[]);e._blockHoist=i;[a]=t.unshiftContainer("body",[e]);if(!r)t.setData(s,a)}const l=o.variableDeclarator(e.id,e.init);a.node.declarations.push(l);this.registerBinding(n,a.get("declarations").pop())}getProgramParent(){let e=this;do{if(e.path.isProgram()){return e}}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent()){return e}}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent()){return e}}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const r of Object.keys(t.bindings)){if(r in e===false){e[r]=t.bindings[r]}}t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const i=e.bindings[n];if(i.kind===r)t[n]=i}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let r;do{const i=t.getOwnBinding(e);if(i){var n;if((n=r)!=null&&n.isPattern()&&i.kind!=="param"){}else{return i}}r=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return false;if(this.hasOwnBinding(e))return true;if(this.parentHasBinding(e,t))return true;if(this.hasUid(e))return true;if(!t&&Scope.globals.includes(e))return true;if(!t&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);if(r){r.scope.removeOwnBinding(e);r.scope=t;t.bindings[e]=r}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null?void 0:t.scope.removeOwnBinding(e);let r=this;do{if(r.uids[e]){r.uids[e]=false}}while(r=r.parent)}}t.default=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},67761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(27187);var i=r(76729);var s=r(30315);const a={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){skipAllButComputedMethodKey(e)}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.getOuterBindingIdentifiers();for(const e in r){if(e===t.oldName)r[e].name=t.newName}}};class Renamer{constructor(e,t,r){this.newName=r;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()&&!t.get("declaration").node.id){return}(0,i.default)(t)}maybeConvertFromClassFunctionDeclaration(e){return;if(!e.isFunctionDeclaration()&&!e.isClassDeclaration())return;if(this.binding.kind!=="hoisted")return;e.node.id=s.identifier(this.oldName);e.node._blockHoist=3;e.replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.identifier(this.newName),s.toExpression(e.node))]))}maybeConvertFromClassFunctionExpression(e){return;if(!e.isFunctionExpression()&&!e.isClassExpression())return;if(this.binding.kind!=="local")return;e.node.id=s.identifier(this.oldName);this.binding.scope.parent.push({id:s.identifier(this.newName)});e.replaceWith(s.assignmentExpression("=",s.identifier(this.newName),e.node))}rename(e){const{binding:t,oldName:r,newName:n}=this;const{scope:i,path:s}=t;const o=s.find(e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression());if(o){const e=o.getOuterBindingIdentifiers();if(e[r]===t.identifier){this.maybeConvertFromExportDeclaration(o)}}const l=e||i.block;if((l==null?void 0:l.type)==="SwitchStatement"){l.cases.forEach(e=>{i.traverse(e,a,this)})}else{i.traverse(l,a,this)}if(!e){i.removeOwnBinding(r);i.bindings[n]=t;this.binding.identifier.name=n}if(o){this.maybeConvertFromClassFunctionDeclaration(o);this.maybeConvertFromClassFunctionExpression(o)}}}t.default=Renamer;function skipAllButComputedMethodKey(e){if(!e.isMethod()||!e.node.computed){e.skip();return}const t=s.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}},1861:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.explode=explode;t.verify=verify;t.merge=merge;var n=r(39550);var i=r(30315);function explode(e){if(e._exploded)return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=t.split("|");if(r.length===1)continue;const n=e[t];delete e[t];for(const t of r){e[t]=n}}verify(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=n[t];if(!r)continue;const i=e[t];for(const e of Object.keys(i)){i[e]=wrapCheck(r,i[e])}delete e[t];if(r.types){for(const t of r.types){if(e[t]){mergePair(e[t],i)}else{e[t]=i}}}else{mergePair(e,i)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];let n=i.FLIPPED_ALIAS_KEYS[t];const s=i.DEPRECATED_KEYS[t];if(s){console.trace(`Visitor defined for ${t} but it has been renamed to ${s}`);n=[s]}if(!n)continue;delete e[t];for(const t of n){const n=e[t];if(n){mergePair(n,r)}else{e[t]=Object.assign({},r)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify(e){if(e._verified)return;if(typeof e==="function"){throw new Error("You passed `traverse()` a function when it expected a visitor object, "+"are you sure you didn't mean `{ enter: Function }`?")}for(const t of Object.keys(e)){if(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(i.TYPES.indexOf(t)<0){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`)}const r=e[t];if(typeof r==="object"){for(const e of Object.keys(r)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,r[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const r=[].concat(t);for(const t of r){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],r){const n={};for(let i=0;ie.toString())}return n});n[i]=s}return n}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];if(typeof r==="function"){e[t]={enter:r}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const r=function(r){if(e.checkPath(r)){return t.apply(this,arguments)}};r.toString=(()=>t.toString());return r}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"){return true}return false}function mergePair(e,t){for(const r of Object.keys(t)){e[r]=[].concat(e[r]||[],t[r])}}},66932:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(49339);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},84210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertClassProperty=assertClassProperty;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertPrivateName=assertPrivateName;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTopicReference=assertTopicReference;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertPrivate=assertPrivate;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(20761);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTopicReference(e,t){assert("TopicReference",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},84734:()=>{},59013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(21309);var i=r(81261);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(97392);var i=r(75083);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},6239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(97392);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},97392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.classProperty=classProperty;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.privateName=privateName;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.topicReference=topicReference;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(59013);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function topicReference(){return(0,n.default)("TopicReference",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},75975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TopicReference",{enumerable:true,get:function(){return n.topicReference}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(97392)},7964:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(97307);var i=r(96768);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(97392);var i=r(75387);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},6753:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(75320);function clone(e){return(0,n.default)(e,false)}},37775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(75320);function cloneDeep(e){return(0,n.default)(e)}},58735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(75320);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},75320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(21309);var i=r(97307);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},90200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(75320);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},12385:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(5350);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},5350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},5428:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(58149);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},76125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(58149);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},64431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(58149);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},34359:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(64431);var i=r(76125);var s=r(5428);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},60049:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(2925);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},75237:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_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.PRIVATE_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(21309);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},2925:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},72149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(78249);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},38541:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(63316);var i=r(97307);var s=r(97392);var a=r(75320);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},16148:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(24729);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},78249:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(97307);var i=r(97392);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},59771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(97307);var i=r(97392);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},19733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(97307);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},24729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(69040);var i=r(91186);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},72019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(97307);var i=r(75320);var s=r(66035);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},16754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(38541);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},77625:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(97307);var i=r(97392);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},49945:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(69040);var i=r(97392);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},98710:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(20761);var i=r(69040);var s=r(91186);var a=r(2925);var o=r(25201);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("value"))}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},f,{value:{validate:(0,o.assertNodeType)("Expression"),optional:true},definite:{validate:(0,o.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,o.assertValueType)("boolean"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},variance:{validate:(0,o.assertNodeType)("Variance"),optional:true}})});(0,o.default)("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,o.assertNodeType)("PrivateName")},value:{validate:(0,o.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,o.assertValueType)("boolean"),optional:true},definite:{validate:(0,o.assertValueType)("boolean"),optional:true},variance:{validate:(0,o.assertNodeType)("Variance"),optional:true}}});(0,o.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({},d,u,{key:{validate:(0,o.assertNodeType)("PrivateName")},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")}}})},47387:(e,t,r)=>{"use strict";var n=r(25201);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]});(0,n.default)("TopicReference",{aliases:["Expression"]});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},54254:(e,t,r)=>{"use strict";var n=r(25201);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"),impltype:(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:false},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"))}})},21309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(98710);r(54254);r(86411);r(89586);r(47387);r(45238);var i=r(25201);var s=r(31162);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},86411:(e,t,r)=>{"use strict";var n=r(25201);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},89586:(e,t,r)=>{"use strict";var n=r(25201);var i=r(31162);{(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")}}})},31162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(25201);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},45238:(e,t,r)=>{"use strict";var n=r(25201);var i=r(98710);var s=r(20761);const a=(0,n.assertValueType)("boolean");const o={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,n.assertValueType)("boolean"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,o)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,o)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const l={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const u={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:l};(0,n.default)("TSCallSignatureDeclaration",u);(0,n.default)("TSConstructSignatureDeclaration",u);const p={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(a),optional:(0,n.validateOptional)(a)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},p,{readonly:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression"),kind:{validate:(0,n.assertOneOf)("get","set")}})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},l,p,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(a),static:(0,n.validateOptional)(a),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 f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:l}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},l,{abstract:(0,n.validateOptional)(a)})}));(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)(a)}});(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:a,default:false},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)(a),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const e=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral");const t=(0,n.assertOneOf)("-");const r=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral");function validator(n,i,a){if((0,s.default)("UnaryExpression",a)){t(a,"operator",a.operator);e(a,"argument",a.argument)}else{r(n,i,a)}}validator.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","UnaryExpression"];return validator}()}}});(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)(a),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)(a),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)(a),const:(0,n.validateOptional)(a),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)(a),global:(0,n.validateOptional)(a),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)(a),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:true}}});(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},25201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(20761);var i=r(81261);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},30315:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(36394);var s=r(22930);var a=r(7964);var o=r(66932);var l=r(84210);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(6239);var p=r(94194);var c=r(4511);var f=r(97392);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(75975);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(75320);var h=r(6753);var m=r(37775);var T=r(58735);var S=r(90200);var b=r(12385);var E=r(5350);var g=r(5428);var x=r(76125);var P=r(34359);var A=r(64431);var v=r(60049);var O=r(75237);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(2925);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(72149);var D=r(16148);var N=r(78249);var C=r(59771);var j=r(19733);var _=r(24729);var L=r(72019);var k=r(16754);var B=r(77625);var M=r(49945);var F=r(21309);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(26254);var K=r(24316);var V=r(48462);var U=r(82695);var X=r(66035);var J=r(75083);var Y=r(63316);var W=r(23174);var q=r(31582);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(44935);var H=r(95028);var G=r(20761);var $=r(74579);var Q=r(87306);var Z=r(86706);var ee=r(82811);var te=r(49339);var re=r(51114);var ne=r(17067);var ie=r(20578);var se=r(75119);var ae=r(35609);var oe=r(7095);var le=r(62894);var ue=r(69040);var pe=r(55063);var ce=r(63897);var fe=r(81261);var de=r(55730);var ye=r(97307);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(84734);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},26254:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(97392);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},75083:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(97307);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},24316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(2925);var i=r(34359);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},48462:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(97392);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},82695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(2925);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},66035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(44935);var i=r(82695);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},75387:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(97307);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},63316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(97307);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(63316);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},31582:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(21309);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(21309);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},58149:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},96768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(97392);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},55730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(63897);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},97307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isClassProperty=isClassProperty;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isPrivateName=isPrivateName;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTopicReference=isTopicReference;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isPrivate=isPrivate;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(95028);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="TopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TopicReference"===r||"PipelineTopicExpression"===r||"PipelineBareFunction"===r||"PipelinePrimaryTopicReference"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},20761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(95028);var i=r(7095);var s=r(17067);var a=r(21309);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},74579:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(63316);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},87306:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(97307);var i=r(82811);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},86706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(7095);var i=r(97307);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},82811:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(97307);var i=r(2925);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},49339:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(21309);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},51114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(21309);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(21309);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},20578:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},75119:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(97307);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},35609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(97307);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},7095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(21309);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},62894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(69040);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},69040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(91186);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},55063:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(97307);var i=r(2925);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},63897:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(97307);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},36394:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(55730);const i=(0,n.default)("React.Component");var s=i;t.default=s},81261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(21309);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},82565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getExportSpecifierName=getExportSpecifierName;t.default=void 0;var n=r(32092);var i=r(28497);var s=r(85850);var a=r(42604);var o=r(29444);var l=r(8978);const u=(0,s.template)(`\n SYSTEM_REGISTER(MODULE_NAME, SOURCES, function (EXPORT_IDENTIFIER, CONTEXT_IDENTIFIER) {\n "use strict";\n BEFORE_BODY;\n return {\n setters: SETTERS,\n execute: EXECUTE,\n };\n });\n`);const p=(0,s.template)(`\n for (var KEY in TARGET) {\n if (KEY !== "default" && KEY !== "__esModule") EXPORT_OBJ[KEY] = TARGET[KEY];\n }\n`);const c=`WARNING: Dynamic import() transformation must be enabled using the\n @babel/plugin-proposal-dynamic-import plugin. Babel 8 will\n no longer transform import() without using that plugin.\n`;const f=null&&`ERROR: Dynamic import() transformation must be enabled using the\n @babel/plugin-proposal-dynamic-import plugin. Babel 8\n no longer transforms import() without using that plugin.\n`;function getExportSpecifierName(e,t){if(e.type==="Identifier"){return e.name}else if(e.type==="StringLiteral"){const r=e.value;if(!(0,l.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.type}`)}}function constructExportCall(e,t,r,n,i,a){const o=[];if(!i){if(r.length===1){o.push(s.types.expressionStatement(s.types.callExpression(t,[s.types.stringLiteral(r[0]),n[0]])))}else{const e=[];for(let t=0;t{e.assertVersion(7);const{systemGlobal:r="System",allowTopLevelThis:n=false}=t;const l=Symbol();const p={"AssignmentExpression|UpdateExpression"(e){if(e.node[l])return;e.node[l]=true;const t=e.get(e.isAssignmentExpression()?"left":"argument");if(t.isObjectPattern()||t.isArrayPattern()){const r=[e.node];for(const n of Object.keys(t.getBindingIdentifiers())){if(this.scope.getBinding(n)!==e.scope.getBinding(n)){return}const t=this.exports[n];if(!t)return;for(const e of t){r.push(this.buildCall(e,s.types.identifier(n)).expression)}}e.replaceWith(s.types.sequenceExpression(r));return}if(!t.isIdentifier())return;const r=t.node.name;if(this.scope.getBinding(r)!==e.scope.getBinding(r))return;const n=this.exports[r];if(!n)return;let i=e.node;const a=e.isUpdateExpression({prefix:false});if(a){i=s.types.binaryExpression(i.operator[0],s.types.unaryExpression("+",s.types.cloneNode(i.argument)),s.types.numericLiteral(1))}for(const e of n){i=this.buildCall(e,i).expression}if(a){i=s.types.sequenceExpression([i,e.node])}e.replaceWith(i)}};return{name:"transform-modules-systemjs",pre(){this.file.set("@babel/plugin-transform-modules-*","systemjs")},visitor:{CallExpression(e,t){if(s.types.isImport(e.node.callee)){if(!this.file.has("@babel/plugin-proposal-dynamic-import")){{console.warn(c)}}e.replaceWith(s.types.callExpression(s.types.memberExpression(s.types.identifier(t.contextIdent),s.types.identifier("import")),[(0,a.getImportSource)(s.types,e.node)]))}},MetaProperty(e,t){if(e.node.meta.name==="import"&&e.node.property.name==="meta"){e.replaceWith(s.types.memberExpression(s.types.identifier(t.contextIdent),s.types.identifier("meta")))}},ReferencedIdentifier(e,t){if(e.node.name==="__moduleName"&&!e.scope.hasBinding("__moduleName")){e.replaceWith(s.types.memberExpression(s.types.identifier(t.contextIdent),s.types.identifier("id")))}},Program:{enter(e,t){t.contextIdent=e.scope.generateUid("context");t.stringSpecifiers=new Set;if(!n){(0,o.rewriteThis)(e)}},exit(e,n){const a=e.scope;const l=a.generateUid("export");const{contextIdent:c,stringSpecifiers:f}=n;const d=Object.create(null);const y=[];let h=[];const m=[];const T=[];const S=[];const b=[];function addExportName(e,t){d[e]=d[e]||[];d[e].push(t)}function pushModule(e,t,r){let n;y.forEach(function(t){if(t.key===e){n=t}});if(!n){y.push(n={key:e,imports:[],exports:[]})}n[t]=n[t].concat(r)}function buildExportCall(e,t){return s.types.expressionStatement(s.types.callExpression(s.types.identifier(l),[s.types.stringLiteral(e),t]))}const E=[];const g=[];const x=e.get("body");for(const e of x){if(e.isFunctionDeclaration()){h.push(e.node);b.push(e)}else if(e.isClassDeclaration()){S.push(s.types.cloneNode(e.node.id));e.replaceWith(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(e.node.id),s.types.toExpression(e.node))))}else if(e.isImportDeclaration()){const t=e.node.source.value;pushModule(t,"imports",e.node.specifiers);for(const t of Object.keys(e.getBindingIdentifiers())){a.removeBinding(t);S.push(s.types.identifier(t))}e.remove()}else if(e.isExportAllDeclaration()){pushModule(e.node.source.value,"exports",e.node);e.remove()}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");const r=t.node.id;if(t.isClassDeclaration()){if(r){E.push("default");g.push(a.buildUndefinedNode());S.push(s.types.cloneNode(r));addExportName(r.name,"default");e.replaceWith(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(r),s.types.toExpression(t.node))))}else{E.push("default");g.push(s.types.toExpression(t.node));b.push(e)}}else if(t.isFunctionDeclaration()){if(r){h.push(t.node);E.push("default");g.push(s.types.cloneNode(r));addExportName(r.name,"default")}else{E.push("default");g.push(s.types.toExpression(t.node))}b.push(e)}else{e.replaceWith(buildExportCall("default",t.node))}}else if(e.isExportNamedDeclaration()){const t=e.get("declaration");if(t.node){e.replaceWith(t);if(e.isFunction()){const r=t.node;const n=r.id.name;addExportName(n,n);h.push(r);E.push(n);g.push(s.types.cloneNode(r.id));b.push(e)}else if(e.isClass()){const r=t.node.id.name;E.push(r);g.push(a.buildUndefinedNode());S.push(s.types.cloneNode(t.node.id));e.replaceWith(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(t.node.id),s.types.toExpression(t.node))));addExportName(r,r)}else{for(const e of Object.keys(t.getBindingIdentifiers())){addExportName(e,e)}}}else{const t=e.node.specifiers;if(t!=null&&t.length){if(e.node.source){pushModule(e.node.source.value,"exports",t);e.remove()}else{const r=[];for(const e of t){const{local:t,exported:n}=e;const i=a.getBinding(t.name);const o=getExportSpecifierName(n,f);if(i&&s.types.isFunctionDeclaration(i.path.node)){E.push(o);g.push(s.types.cloneNode(t))}else if(!i){r.push(buildExportCall(o,t))}addExportName(t.name,o)}e.replaceWithMultiple(r)}}else{e.remove()}}}}y.forEach(function(t){let r=[];const n=a.generateUid(t.key);for(let e of t.imports){if(s.types.isImportNamespaceSpecifier(e)){r.push(s.types.expressionStatement(s.types.assignmentExpression("=",e.local,s.types.identifier(n))))}else if(s.types.isImportDefaultSpecifier(e)){e=s.types.importSpecifier(e.local,s.types.identifier("default"))}if(s.types.isImportSpecifier(e)){const{imported:t}=e;r.push(s.types.expressionStatement(s.types.assignmentExpression("=",e.local,s.types.memberExpression(s.types.identifier(n),e.imported,t.type==="StringLiteral"))))}}if(t.exports.length){const i=[];const a=[];let o=false;for(const e of t.exports){if(s.types.isExportAllDeclaration(e)){o=true}else if(s.types.isExportSpecifier(e)){const t=getExportSpecifierName(e.exported,f);i.push(t);a.push(s.types.memberExpression(s.types.identifier(n),e.local,s.types.isStringLiteral(e.local)))}else{}}r=r.concat(constructExportCall(e,s.types.identifier(l),i,a,o?s.types.identifier(n):null,f))}T.push(s.types.stringLiteral(t.key));m.push(s.types.functionExpression(null,[s.types.identifier(n)],s.types.blockStatement(r)))});let P=(0,o.getModuleName)(this.file.opts,t);if(P)P=s.types.stringLiteral(P);(0,i.default)(e,(e,t,r)=>{S.push(e);if(!r&&t in d){for(const e of d[t]){E.push(e);g.push(a.buildUndefinedNode())}}},null);if(S.length){h.unshift(s.types.variableDeclaration("var",S.map(e=>s.types.variableDeclarator(e))))}if(E.length){h=h.concat(constructExportCall(e,s.types.identifier(l),E,g,null,f))}e.traverse(p,{exports:d,buildCall:buildExportCall,scope:a});for(const e of b){e.remove()}let A=false;e.traverse({AwaitExpression(e){A=true;e.stop()},Function(e){e.skip()},noScope:true});e.node.body=[u({SYSTEM_REGISTER:s.types.memberExpression(s.types.identifier(r),s.types.identifier("register")),BEFORE_BODY:h,MODULE_NAME:P,SETTERS:s.types.arrayExpression(m),EXECUTE:s.types.functionExpression(null,[],s.types.blockStatement(e.node.body),false,A),SOURCES:s.types.arrayExpression(T),EXPORT_IDENTIFIER:s.types.identifier(l),CONTEXT_IDENTIFIER:s.types.identifier(c)})]}}}}});t.default=d},5200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(1534);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const s=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},n,e.end);const{linesAbove:s=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=i.line;const p=i.column;let c=Math.max(o-(s+1),0);let f=Math.min(t.length,u+a);if(o===-1){c=0}if(u===-1){f=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:c,end:f,markerLines:y}}function codeFrameColumns(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const u=e.split(s);const{start:p,end:c,markerLines:f}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(c).length;const h=i?(0,n.default)(e,r):e;let m=h.split(s).slice(p,c).map((e,t)=>{const n=p+1+t;const i=` ${n}`.slice(-y);const s=` ${i} |`;const a=f[n];const u=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,s.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(i)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,s),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,s)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){m=`${" ".repeat(y+1)}${r.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}},62615:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;const r=/^[ \t]+$/;class Buffer{constructor(e){this._map=null;this._buf=[];this._last="";this._queue=[];this._position={line:1,column:0};this._sourcePosition={identifierName:null,line:null,column:null,filename:null};this._disallowedPop=null;this._map=e}get(){this._flush();const e=this._map;const t={code:this._buf.join("").trimRight(),map:null,rawMappings:e==null?void 0:e.getRawMappings()};if(e){Object.defineProperty(t,"map",{configurable:true,enumerable:true,get(){return this.map=e.get()},set(e){Object.defineProperty(this,"map",{value:e,writable:true})}})}return t}append(e){this._flush();const{line:t,column:r,filename:n,identifierName:i,force:s}=this._sourcePosition;this._append(e,t,r,i,n,s)}queue(e){if(e==="\n"){while(this._queue.length>0&&r.test(this._queue[0][0])){this._queue.shift()}}const{line:t,column:n,filename:i,identifierName:s,force:a}=this._sourcePosition;this._queue.unshift([e,t,n,s,i,a])}_flush(){let e;while(e=this._queue.pop()){this._append(...e)}}_append(e,t,r,n,i,s){this._buf.push(e);this._last=e[e.length-1];let a=e.indexOf("\n");let o=0;if(a!==0){this._mark(t,r,n,i,s)}while(a!==-1){this._position.line++;this._position.column=0;o=a+1;if(o0&&this._queue[0][0]==="\n"){this._queue.shift()}}removeLastSemicolon(){if(this._queue.length>0&&this._queue[0][0]===";"){this._queue.shift()}}endsWith(e){if(e.length===1){let t;if(this._queue.length>0){const e=this._queue[0][0];t=e[e.length-1]}else{t=this._last}return t===e}const t=this._last+this._queue.reduce((e,t)=>t[0]+e,"");if(e.length<=t.length){return t.slice(-e.length)===e}return false}hasContent(){return this._queue.length>0||!!this._last}exactSource(e,t){this.source("start",e,true);t();this.source("end",e);this._disallowPop("start",e)}source(e,t,r){if(e&&!t)return;this._normalizePosition(e,t,this._sourcePosition,r)}withSource(e,t,r){if(!this._map)return r();const n=this._sourcePosition.line;const i=this._sourcePosition.column;const s=this._sourcePosition.filename;const a=this._sourcePosition.identifierName;this.source(e,t);r();if((!this._sourcePosition.force||this._sourcePosition.line!==n||this._sourcePosition.column!==i||this._sourcePosition.filename!==s)&&(!this._disallowedPop||this._disallowedPop.line!==n||this._disallowedPop.column!==i||this._disallowedPop.filename!==s)){this._sourcePosition.line=n;this._sourcePosition.column=i;this._sourcePosition.filename=s;this._sourcePosition.identifierName=a;this._sourcePosition.force=false;this._disallowedPop=null}}_disallowPop(e,t){if(e&&!t)return;this._disallowedPop=this._normalizePosition(e,t)}_normalizePosition(e,t,r,n){const i=t?t[e]:null;if(r===undefined){r={identifierName:null,line:null,column:null,filename:null,force:false}}const s=r.line;const a=r.column;const o=r.filename;r.identifierName=e==="start"&&(t==null?void 0:t.identifierName)||null;r.line=i==null?void 0:i.line;r.column=i==null?void 0:i.column;r.filename=t==null?void 0:t.filename;if(n||r.line!==s||r.column!==a||r.filename!==o){r.force=n}return r}getCurrentColumn(){const e=this._queue.reduce((e,t)=>t[0]+e,"");const t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t}getCurrentLine(){const e=this._queue.reduce((e,t)=>t[0]+e,"");let t=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.File=File;t.Program=Program;t.BlockStatement=BlockStatement;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;var n=r(61127);function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){this.printInnerComments(e,false);this.printSequence(e.directives,e);if(e.directives&&e.directives.length)this.newline();this.printSequence(e.body,e)}function BlockStatement(e){var t;this.token("{");this.printInnerComments(e);const r=(t=e.directives)==null?void 0:t.length;if(e.body.length||r){this.newline();this.printSequence(e.directives,e,{indent:true});if(r)this.newline();this.printSequence(e.body,e,{indent:true});this.removeTrailingNewline();this.source("end",e.loc);if(!this.endsWith("\n"))this.newline();this.rightBrace()}else{this.source("end",e.loc);this.token("}")}}function Directive(e){this.print(e.value,e);this.semicolon()}const i=/(?:^|[^\\])(?:\\\\)*'/;const s=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t);return}const{value:r}=e;if(!s.test(r)){this.token(`"${r}"`)}else if(!i.test(r)){this.token(`'${r}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}\n`)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},52806:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassBody=ClassBody;t.ClassProperty=ClassProperty;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t._classMethodHead=_classMethodHead;t.StaticBlock=StaticBlock;var n=r(61127);function ClassDeclaration(e,t){if(!this.format.decoratorsBeforeExport||!n.isExportDefaultDeclaration(t)&&!n.isExportNamedDeclaration(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.token("{");this.printInnerComments(e);if(e.body.length===0){this.token("}")}else{this.newline();this.indent();this.printSequence(e.body,e);this.dedent();if(!this.endsWith("\n"))this.newline();this.rightBrace()}}function ClassProperty(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,true);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.token("?")}if(e.definite){this.token("!")}this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,false);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.token("{");if(e.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace()}}},2342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UnaryExpression=UnaryExpression;t.DoExpression=DoExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.UpdateExpression=UpdateExpression;t.ConditionalExpression=ConditionalExpression;t.NewExpression=NewExpression;t.SequenceExpression=SequenceExpression;t.ThisExpression=ThisExpression;t.Super=Super;t.Decorator=Decorator;t.OptionalMemberExpression=OptionalMemberExpression;t.OptionalCallExpression=OptionalCallExpression;t.CallExpression=CallExpression;t.Import=Import;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.AssignmentPattern=AssignmentPattern;t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.BindExpression=BindExpression;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.PrivateName=PrivateName;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.ModuleExpression=ModuleExpression;t.AwaitExpression=t.YieldExpression=void 0;var n=r(61127);var i=r(89667);function UnaryExpression(e){if(e.operator==="void"||e.operator==="delete"||e.operator==="typeof"||e.operator==="throw"){this.word(e.operator);this.space()}else{this.token(e.operator)}this.print(e.argument,e)}function DoExpression(e){if(e.async){this.word("async");this.space()}this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.token("(");this.print(e.expression,e);this.token(")")}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.startTerminatorless(true);this.print(e.argument,e);this.endTerminatorless();this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.token("?");this.space();this.print(e.consequent,e);this.space();this.token(":");this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!n.isCallExpression(t,{callee:e})&&!n.isMemberExpression(t)&&!n.isNewExpression(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function Decorator(e){this.token("@");this.print(e.expression,e);this.newline()}function OptionalMemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(e.optional){this.token("?.")}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{if(!e.optional){this.token(".")}this.print(e.property,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.token("(");this.printList(e.arguments,e);this.token(")")}function Import(){this.word("import")}function buildYieldAwait(e){return function(t){this.word(e);if(t.delegate){this.token("*")}if(t.argument){this.space();const e=this.startTerminatorless();this.print(t.argument,t);this.endTerminatorless(e)}}}const s=buildYieldAwait("yield");t.YieldExpression=s;const a=buildYieldAwait("await");t.AwaitExpression=a;function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.token("?");this.print(e.left.typeAnnotation,e);this.space();this.token("=");this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!i.needsParens(e,t);if(r){this.token("(")}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.token(")")}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{this.token(".");this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.token(".");this.print(e.property,e)}function PrivateName(e){this.token("#");this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.token("%");this.word(e.name)}function ModuleExpression(e){this.word("module");this.space();this.token("{");if(e.body.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body.body,e,{indent:true});this.rightBrace()}}},36218:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareFunction=DeclareFunction;t.InferredPredicate=InferredPredicate;t.DeclaredPredicate=DeclaredPredicate;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareVariable=DeclareVariable;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.EnumDeclaration=EnumDeclaration;t.EnumBooleanBody=EnumBooleanBody;t.EnumNumberBody=EnumNumberBody;t.EnumStringBody=EnumStringBody;t.EnumSymbolBody=EnumSymbolBody;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumBooleanMember=EnumBooleanMember;t.EnumNumberMember=EnumNumberMember;t.EnumStringMember=EnumStringMember;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t._interfaceish=_interfaceish;t._variance=_variance;t.InterfaceDeclaration=InterfaceDeclaration;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;t.NumberTypeAnnotation=NumberTypeAnnotation;t.StringTypeAnnotation=StringTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeParameter=TypeParameter;t.OpaqueType=OpaqueType;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;t.IndexedAccessType=IndexedAccessType;t.OptionalIndexedAccessType=OptionalIndexedAccessType;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return s.NumericLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return s.StringLiteral}});var n=r(61127);var i=r(15913);var s=r(61675);function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e);this.token("[");this.token("]")}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.token("%");this.word("checks")}function DeclaredPredicate(e){this.token("%");this.word("checks");this.token("(");this.print(e.value,e);this.token(")")}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.token(".");this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.apply(this,arguments)}function DeclareExportAllDeclaration(){this.word("declare");this.space();i.ExportAllDeclaration.apply(this,arguments)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}if(t.hasUnknownMembers){e.token("...");e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.token(",")}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{this.token("{");if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.token("}");if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.token("*")}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.token("(");if(e.this){this.word("this");this.token(":");this.space();this.print(e.this.typeAnnotation,e);if(e.params.length||e.rest){this.token(",");this.space()}}this.printList(e.params,e);if(e.rest){if(e.params.length){this.token(",");this.space()}this.token("...");this.print(e.rest,e)}this.token(")");if(t.type==="ObjectTypeCallProperty"||t.type==="DeclareFunction"||t.type==="ObjectTypeProperty"&&t.method){this.token(":")}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.token("?");if(e.name){this.token(":");this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e)}function _interfaceish(e){var t;this.print(e.id,e);this.print(e.typeParameters,e);if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.mixins&&e.mixins.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if(e.implements&&e.implements.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function _variance(e){if(e.variance){if(e.variance.kind==="plus"){this.token("+")}else if(e.variance.kind==="minus"){this.token("-")}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.token("&");this.space()}function InterfaceTypeAnnotation(e){this.word("interface");if(e.extends&&e.extends.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.token("?");this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.token("[");this.printList(e.types,e);this.token("]")}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.token("=");this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.token(":");this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.token("=");this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.token("{")}const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];if(t.length){this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.token(",");this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.token("}")}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.token("[");this.token("[");this.print(e.id,e);this.token("]");this.token("]");if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.token("[");if(e.id){this.print(e.id,e);this.token(":");this.space()}this.print(e.key,e);this.token("]");this.token(":");this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.token(".");this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.token("|");this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.token("(");this.print(e.expression,e);this.print(e.typeAnnotation,e);this.token(")")}function Variance(e){if(e.kind==="plus"){this.token("+")}else{this.token("-")}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function OptionalIndexedAccessType(e){this.print(e.objectType,e);if(e.optional){this.token("?.")}this.token("[");this.print(e.indexType,e);this.token("]")}},88268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(18545);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})});var i=r(2342);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})});var s=r(31012);Object.keys(s).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})});var a=r(52806);Object.keys(a).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})});var o=r(27675);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})});var l=r(15913);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(61675);Object.keys(u).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})});var p=r(36218);Object.keys(p).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})});var c=r(6707);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var f=r(56869);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(53930);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})})},56869:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXIdentifier=JSXIdentifier;t.JSXNamespacedName=JSXNamespacedName;t.JSXMemberExpression=JSXMemberExpression;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;t.JSXElement=JSXElement;t.JSXOpeningElement=JSXOpeningElement;t.JSXClosingElement=JSXClosingElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXFragment=JSXFragment;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXClosingFragment=JSXClosingFragment;var n=r(61127);function JSXAttribute(e){this.print(e.name,e);if(e.value){this.token("=");this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.token(":");this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.token(".");this.print(e.property,e)}function JSXSpreadAttribute(e){this.token("{");this.token("...");this.print(e.argument,e);this.token("}")}function JSXExpressionContainer(e){this.token("{");this.print(e.expression,e);this.token("}")}function JSXSpreadChild(e){this.token("{");this.token("...");this.print(e.expression,e);this.token("}")}function JSXText(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t)}else{this.token(e.value)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.token("<");this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.token(">")}}function JSXClosingElement(e){this.token("")}function JSXEmptyExpression(e){this.printInnerComments(e)}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.token("<");this.token(">")}function JSXClosingFragment(){this.token("")}},27675:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._params=_params;t._parameters=_parameters;t._param=_param;t._methodHead=_methodHead;t._predicate=_predicate;t._functionHead=_functionHead;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;var n=r(61127);function _params(e){this.print(e.typeParameters,e);this.token("(");this._parameters(e.params,e);this.token(")");this.print(e.returnType,e)}function _parameters(e,t){for(let r=0;r");this.space();this.print(e.body,e)}function hasTypesOrComments(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}},15913:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImportSpecifier=ImportSpecifier;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportSpecifier=ExportSpecifier;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportAllDeclaration=ExportAllDeclaration;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ImportDeclaration=ImportDeclaration;t.ImportAttribute=ImportAttribute;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;var n=r(61127);function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.exported,e)}function ExportAllDeclaration(e){this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.token("*");this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e);this.semicolon()}function ExportNamedDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();this.word("default");this.space();ExportDeclaration.apply(this,arguments)}function ExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const t=e.specifiers.slice(0);let r=false;for(;;){const i=t[0];if(n.isExportDefaultSpecifier(i)||n.isExportNamespaceSpecifier(i)){r=true;this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length||!t.length&&!r){this.token("{");if(t.length){this.space();this.printList(t,e);this.space()}this.token("}")}if(e.source){this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e)}this.semicolon()}}function ImportDeclaration(e){this.word("import");this.space();if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}const t=e.specifiers.slice(0);if(t!=null&&t.length){for(;;){const r=t[0];if(n.isImportDefaultSpecifier(r)||n.isImportNamespaceSpecifier(r)){this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length){this.token("{");this.space();this.printList(t,e);this.space();this.token("}")}this.space();this.word("from");this.space()}this.print(e.source,e);this.printAssertions(e);{var r;if((r=e.attributes)!=null&&r.length){this.space();this.word("with");this.space();this.printList(e.attributes,e)}}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.token(":");this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.local,e)}},31012:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WithStatement=WithStatement;t.IfStatement=IfStatement;t.ForStatement=ForStatement;t.WhileStatement=WhileStatement;t.DoWhileStatement=DoWhileStatement;t.LabeledStatement=LabeledStatement;t.TryStatement=TryStatement;t.CatchClause=CatchClause;t.SwitchStatement=SwitchStatement;t.SwitchCase=SwitchCase;t.DebuggerStatement=DebuggerStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForOfStatement=t.ForInStatement=void 0;var n=r(61127);function WithStatement(e){this.word("with");this.space();this.token("(");this.print(e.object,e);this.token(")");this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.token("(");this.print(e.test,e);this.token(")");this.space();const t=e.alternate&&n.isIfStatement(getLastStatement(e.consequent));if(t){this.token("{");this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.token("}")}if(e.alternate){if(this.endsWith("}"))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){if(!n.isStatement(e.body))return e;return getLastStatement(e.body)}function ForStatement(e){this.word("for");this.space();this.token("(");this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.token(";");if(e.test){this.space();this.print(e.test,e)}this.token(";");if(e.update){this.space();this.print(e.update,e)}this.token(")");this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.printBlock(e)}const i=function(e){return function(t){this.word("for");this.space();if(e==="of"&&t.await){this.word("await");this.space()}this.token("(");this.print(t.left,t);this.space();this.word(e);this.space();this.print(t.right,t);this.token(")");this.printBlock(t)}};const s=i("in");t.ForInStatement=s;const a=i("of");t.ForOfStatement=a;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.semicolon()}function buildLabelStatement(e,t="label"){return function(r){this.word(e);const n=r[t];if(n){this.space();const e=t=="label";const i=this.startTerminatorless(e);this.print(n,r);this.endTerminatorless(i)}this.semicolon()}}const o=buildLabelStatement("continue");t.ContinueStatement=o;const l=buildLabelStatement("return","argument");t.ReturnStatement=l;const u=buildLabelStatement("break");t.BreakStatement=u;const p=buildLabelStatement("throw","argument");t.ThrowStatement=p;function LabeledStatement(e){this.print(e.label,e);this.token(":");this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.token("(");this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.token(")");this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.token("(");this.print(e.discriminant,e);this.token(")");this.space();this.token("{");this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.token("}")}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.token(":")}else{this.word("default");this.token(":")}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function variableDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<4;e++)this.space(true)}function constDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<6;e++)this.space(true)}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}this.word(e.kind);this.space();let r=false;if(!n.isFor(t)){for(const t of e.declarations){if(t.init){r=true}}}let i;if(r){i=e.kind==="const"?constDeclarationIndent:variableDeclarationIndent}this.printList(e.declarations,e,{separator:i});if(n.isFor(t)){if(n.isForStatement(t)){if(t.init===e)return}else{if(t.left===e)return}}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.token("!");this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.token("=");this.space();this.print(e.init,e)}}},18545:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;var n=r(61127);function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const i=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(i)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Identifier=Identifier;t.ArgumentPlaceholder=ArgumentPlaceholder;t.SpreadElement=t.RestElement=RestElement;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.RecordExpression=RecordExpression;t.TupleExpression=TupleExpression;t.RegExpLiteral=RegExpLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.StringLiteral=StringLiteral;t.BigIntLiteral=BigIntLiteral;t.DecimalLiteral=DecimalLiteral;t.PipelineTopicExpression=PipelineTopicExpression;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;var n=r(61127);var i=r(87504);function Identifier(e){this.exactSource(e.loc,()=>{this.word(e.name)})}function ArgumentPlaceholder(){this.token("?")}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.token("{");this.printInnerComments(e);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token("}")}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{if(n.isAssignmentPattern(e.value)&&n.isIdentifier(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&n.isIdentifier(e.key)&&n.isIdentifier(e.value)&&e.key.name===e.value.name){return}}this.token(":");this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.token("[");this.printInnerComments(e);for(let n=0;n0)this.space();this.print(i,e);if(n0)this.space();this.print(i,e);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypeParameter=TSTypeParameter;t.TSParameterProperty=TSParameterProperty;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSQualifiedName=TSQualifiedName;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSPropertySignature=TSPropertySignature;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.TSMethodSignature=TSMethodSignature;t.TSIndexSignature=TSIndexSignature;t.TSAnyKeyword=TSAnyKeyword;t.TSBigIntKeyword=TSBigIntKeyword;t.TSUnknownKeyword=TSUnknownKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSVoidKeyword=TSVoidKeyword;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSNullKeyword=TSNullKeyword;t.TSNeverKeyword=TSNeverKeyword;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSThisType=TSThisType;t.TSFunctionType=TSFunctionType;t.TSConstructorType=TSConstructorType;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.TSTypeReference=TSTypeReference;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeLiteral=TSTypeLiteral;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;t.tsPrintBraced=tsPrintBraced;t.TSArrayType=TSArrayType;t.TSTupleType=TSTupleType;t.TSOptionalType=TSOptionalType;t.TSRestType=TSRestType;t.TSNamedTupleMember=TSNamedTupleMember;t.TSUnionType=TSUnionType;t.TSIntersectionType=TSIntersectionType;t.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;t.TSConditionalType=TSConditionalType;t.TSInferType=TSInferType;t.TSParenthesizedType=TSParenthesizedType;t.TSTypeOperator=TSTypeOperator;t.TSIndexedAccessType=TSIndexedAccessType;t.TSMappedType=TSMappedType;t.TSLiteralType=TSLiteralType;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSInterfaceBody=TSInterfaceBody;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSModuleDeclaration=TSModuleDeclaration;t.TSModuleBlock=TSModuleBlock;t.TSImportType=TSImportType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSExternalModuleReference=TSExternalModuleReference;t.TSNonNullExpression=TSNonNullExpression;t.TSExportAssignment=TSExportAssignment;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;var n=r(61127);function TSTypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TSTypeParameter(e){this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e){if(e.declare){this.word("declare");this.space()}this._functionHead(e);this.token(";")}function TSDeclareMethod(e){this._classMethodHead(e);this.token(";")}function TSQualifiedName(e){this.print(e.left,e);this.token(".");this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(";")}function tsPrintPropertyOrMethodName(e){if(e.computed){this.token("[")}this.print(e.key,e);if(e.computed){this.token("]")}if(e.optional){this.token("?")}}function TSMethodSignature(e){const{kind:t}=e;if(t==="set"||t==="get"){this.word(t);this.space()}this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSIndexSignature(e){const{readonly:t,static:r}=e;if(r){this.word("static");this.space()}if(t){this.word("readonly");this.space()}this.token("[");this._parameters(e.parameters,e);this.token("]");this.print(e.typeAnnotation,e);this.token(";")}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){if(e.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.space();this.token("=>");this.space();this.print(e.typeAnnotation.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e);this.print(e.typeParameters,e)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName)}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){this.tsPrintBraced(e,t)}function tsPrintBraced(e,t){this.token("{");if(e.length){this.indent();this.newline();for(const r of e){this.print(r,t);this.newline()}this.dedent();this.rightBrace()}else{this.token("}")}}function TSArrayType(e){this.print(e.elementType,e);this.token("[]")}function TSTupleType(e){this.token("[");this.printList(e.elementTypes,e);this.token("]")}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.token("?")}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.token("?");this.token(":");this.space();this.print(e.elementType,e)}function TSUnionType(e){this.tsPrintUnionOrIntersectionType(e,"|")}function TSIntersectionType(e){this.tsPrintUnionOrIntersectionType(e,"&")}function tsPrintUnionOrIntersectionType(e,t){this.printJoin(e.types,e,{separator(){this.space();this.token(t);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.token("?");this.space();this.print(e.trueType);this.space();this.token(":");this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.token("(");this.print(e.typeAnnotation,e);this.token(")")}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:i}=e;this.token("{");this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.token("[");this.word(i.name);this.space();this.word("in");this.space();this.print(i.constraint,i);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.token("]");if(r){tokenIfPlusMinus(this,r);this.token("?")}this.token(":");this.space();this.print(e.typeAnnotation,e);this.space();this.token("}")}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:i,body:s}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(i!=null&&i.length){this.space();this.word("extends");this.space();this.printList(i,e)}this.space();this.print(s,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:i}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.token("=");this.space();this.print(i,e);this.token(";")}function TSAsExpression(e){const{expression:t,typeAnnotation:r}=e;this.print(t,e);this.space();this.word("as");this.space();this.print(r,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.token("<");this.print(t,e);this.token(">");this.space();this.print(r,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:i}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();this.tsPrintBraced(i,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(",")}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.token(";");return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.token(".");this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){this.tsPrintBraced(e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.token("(");this.print(t,e);this.token(")");if(r){this.token(".");this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.token("=");this.space();this.print(n,e);this.token(";")}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.token(")")}function TSNonNullExpression(e){this.print(e.expression,e);this.token("!")}function TSExportAssignment(e){this.word("export");this.space();this.token("=");this.space();this.print(e.expression,e);this.token(";")}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.print(e.typeAnnotation,e)}function tsPrintClassMemberModifiers(e,t){if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.override){this.word("override");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},37628:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generate;t.CodeGenerator=void 0;var n=r(67882);var i=r(11751);class Generator extends i.default{constructor(e,t={},r){const i=normalizeOptions(r,t);const s=t.sourceMaps?new n.default(t,r):null;super(i,s);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:true,minimal:false},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType};{r.jsonCompatibleStrings=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0)}if(r.compact==="auto"){r.compact=e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}return r}class CodeGenerator{constructor(e,t,r){this._generator=void 0;this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function generate(e,t,r){const n=new Generator(e,t,r);return n.generate()}},89667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsWhitespace=needsWhitespace;t.needsWhitespaceBefore=needsWhitespaceBefore;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsParens=needsParens;var n=r(43552);var i=r(45779);var s=r(61127);function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,i){const s=n(e,t,i);return s==null?r(e,t,i):s}:r}for(const t of Object.keys(e)){const r=s.FLIPPED_ALIAS_KEYS[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const a=expandAliases(i);const o=expandAliases(n.nodes);const l=expandAliases(n.list);function find(e,t,r,n){const i=e[t.type];return i?i(t,r,n):null}function isOrHasCallExpression(e){if(s.isCallExpression(e)){return true}return s.isMemberExpression(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return 0;if(s.isExpressionStatement(e)){e=e.expression}let n=find(o,e,t);if(!n){const i=find(l,e,t);if(i){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NullableTypeAnnotation=NullableTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.ObjectExpression=ObjectExpression;t.DoExpression=DoExpression;t.Binary=Binary;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.TSInferType=TSInferType;t.BinaryExpression=BinaryExpression;t.SequenceExpression=SequenceExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;t.ClassExpression=ClassExpression;t.UnaryLike=UnaryLike;t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;t.ConditionalExpression=ConditionalExpression;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.AssignmentExpression=AssignmentExpression;t.LogicalExpression=LogicalExpression;t.Identifier=Identifier;var n=r(61127);const i={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};const s=(e,t)=>(n.isClassDeclaration(t)||n.isClassExpression(t))&&t.superClass===e;const a=(e,t)=>(n.isMemberExpression(t)||n.isOptionalMemberExpression(t))&&t.object===e||(n.isCallExpression(t)||n.isOptionalCallExpression(t)||n.isNewExpression(t))&&t.callee===e||n.isTaggedTemplateExpression(t)&&t.tag===e||n.isTSNonNullExpression(t);function NullableTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)}function FunctionTypeAnnotation(e,t,r){return n.isUnionTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isArrayTypeAnnotation(t)||n.isTypeAnnotation(t)&&n.isArrowFunctionExpression(r[r.length-3])}function UpdateExpression(e,t){return a(e,t)||s(e,t)}function ObjectExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,arrowBody:true})}function DoExpression(e,t,r){return!e.async&&isFirstInContext(r,{expressionStatement:true})}function Binary(e,t){if(e.operator==="**"&&n.isBinaryExpression(t,{operator:"**"})){return t.left===e}if(s(e,t)){return true}if(a(e,t)||n.isUnaryLike(t)||n.isAwaitExpression(t)){return true}if(n.isBinary(t)){const r=t.operator;const s=i[r];const a=e.operator;const o=i[a];if(s===o&&t.right===e&&!n.isLogicalExpression(t)||s>o){return true}}}function UnionTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)||n.isNullableTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isUnionTypeAnnotation(t)}function OptionalIndexedAccessType(e,t){return n.isIndexedAccessType(t,{objectType:e})}function TSAsExpression(){return true}function TSTypeAssertion(){return true}function TSUnionType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)||n.isTSIntersectionType(t)||n.isTSUnionType(t)||n.isTSRestType(t)}function TSInferType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)}function BinaryExpression(e,t){return e.operator==="in"&&(n.isVariableDeclarator(t)||n.isFor(t))}function SequenceExpression(e,t){if(n.isForStatement(t)||n.isThrowStatement(t)||n.isReturnStatement(t)||n.isIfStatement(t)&&t.test===e||n.isWhileStatement(t)&&t.test===e||n.isForInStatement(t)&&t.right===e||n.isSwitchStatement(t)&&t.discriminant===e||n.isExpressionStatement(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return n.isBinary(t)||n.isUnaryLike(t)||a(e,t)||n.isAwaitExpression(t)&&n.isYieldExpression(e)||n.isConditionalExpression(t)&&e===t.test||s(e,t)}function ClassExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function UnaryLike(e,t){return a(e,t)||n.isBinaryExpression(t,{operator:"**",left:e})||s(e,t)}function FunctionExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function ArrowFunctionExpression(e,t){return n.isExportDeclaration(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(n.isUnaryLike(t)||n.isBinary(t)||n.isConditionalExpression(t,{test:e})||n.isAwaitExpression(t)||n.isTSTypeAssertion(t)||n.isTSAsExpression(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return n.isCallExpression(t,{callee:e})||n.isMemberExpression(t,{object:e})}function AssignmentExpression(e,t){if(n.isObjectPattern(e.left)){return true}else{return ConditionalExpression(e,t)}}function LogicalExpression(e,t){switch(e.operator){case"||":if(!n.isLogicalExpression(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return n.isLogicalExpression(t,{operator:"??"});case"??":return n.isLogicalExpression(t)&&t.operator!=="??"}}function Identifier(e,t,r){if(e.name==="let"){const i=n.isMemberExpression(t,{object:e,computed:true})||n.isOptionalMemberExpression(t,{object:e,computed:true,optional:false});return isFirstInContext(r,{expressionStatement:i,forHead:i,forInHead:i,forOfHead:true})}return e.name==="async"&&n.isForOfStatement(t)&&e===t.left}function isFirstInContext(e,{expressionStatement:t=false,arrowBody:r=false,exportDefault:i=false,forHead:s=false,forInHead:o=false,forOfHead:l=false}){let u=e.length-1;let p=e[u];u--;let c=e[u];while(u>=0){if(t&&n.isExpressionStatement(c,{expression:p})||i&&n.isExportDefaultDeclaration(c,{declaration:p})||r&&n.isArrowFunctionExpression(c,{body:p})||s&&n.isForStatement(c,{init:p})||o&&n.isForInStatement(c,{left:p})||l&&n.isForOfStatement(c,{left:p})){return true}if(a(p,c)&&!n.isNewExpression(c)||n.isSequenceExpression(c)&&c.expressions[0]===p||n.isConditional(c,{test:p})||n.isBinary(c,{left:p})||n.isAssignmentExpression(c,{left:p})){p=c;u--;c=e[u]}else{return false}}return false}},43552:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.list=t.nodes=void 0;var n=r(61127);function crawl(e,t={}){if(n.isMemberExpression(e)||n.isOptionalMemberExpression(e)){crawl(e.object,t);if(e.computed)crawl(e.property,t)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){crawl(e.left,t);crawl(e.right,t)}else if(n.isCallExpression(e)||n.isOptionalCallExpression(e)){t.hasCall=true;crawl(e.callee,t)}else if(n.isFunction(e)){t.hasFunction=true}else if(n.isIdentifier(e)){t.hasHelper=t.hasHelper||isHelper(e.callee)}return t}function isHelper(e){if(n.isMemberExpression(e)){return isHelper(e.object)||isHelper(e.property)}else if(n.isIdentifier(e)){return e.name==="require"||e.name[0]==="_"}else if(n.isCallExpression(e)){return isHelper(e.callee)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){return n.isIdentifier(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return n.isLiteral(e)||n.isObjectExpression(e)||n.isArrayExpression(e)||n.isIdentifier(e)||n.isMemberExpression(e)}const i={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return{before:t.hasFunction,after:true}}},SwitchCase(e,t){return{before:!!e.consequent.length||t.cases[0]===e,after:!e.consequent.length&&t.cases[t.cases.length-1]===e}},LogicalExpression(e){if(n.isFunction(e.left)||n.isFunction(e.right)){return{after:true}}},Literal(e){if(n.isStringLiteral(e)&&e.value==="use strict"){return{after:true}}},CallExpression(e){if(n.isFunction(e.callee)||isHelper(e)){return{before:true,after:true}}},OptionalCallExpression(e){if(n.isFunction(e.callee)){return{before:true,after:true}}},VariableDeclaration(e){for(let t=0;te.init)},ArrayExpression(e){return e.elements},ObjectExpression(e){return e.properties}};t.list=s;[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach(function([e,t]){if(typeof t==="boolean"){t={after:t,before:t}}[e].concat(n.FLIPPED_ALIAS_KEYS[e]||[]).forEach(function(e){i[e]=function(){return t}})})},11751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(62615);var i=r(89667);var s=r(61127);var a=r(88268);const o=/e/i;const l=/\.0+$/;const u=/^0[box]/;const p=/^\s*[@#]__PURE__\s*$/;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._insideAux=false;this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new WeakSet;this._endsWithInteger=false;this._endsWithWord=false;this.format=e;this._buf=new n.default(t)}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();this._append(";",!e)}rightBrace(){if(this.format.minified){this._buf.removeLastSemicolon()}this.token("}")}space(e=false){if(this.format.compact)return;if(this._buf.hasContent()&&!this.endsWith(" ")&&!this.endsWith("\n")||e){this._space()}}word(e){if(this._endsWithWord||this.endsWith("/")&&e.indexOf("/")===0){this._space()}this._maybeAddAuxComment();this._append(e);this._endsWithWord=true}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!u.test(e)&&!o.test(e)&&!l.test(e)&&e[e.length-1]!=="."}token(e){if(e==="--"&&this.endsWith("!")||e[0]==="+"&&this.endsWith("+")||e[0]==="-"&&this.endsWith("-")||e[0]==="."&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e)}newline(e){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}if(this.endsWith("\n\n"))return;if(typeof e!=="number")e=1;e=Math.min(2,e);if(this.endsWith("{\n")||this.endsWith(":\n"))e--;if(e<=0)return;for(let t=0;t{n.call(this,e,t)});this._printTrailingComments(e);if(o)this.token(")");this._printStack.pop();this.format.concise=r;this._insideAux=a}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e})}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e})}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e!=null&&e.length))return;if(r.indent)this.indent();const n={addNewlines:r.addNewlines};for(let i=0;i0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(!s.isEmptyStatement(t)){this.space()}this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(false,e))}_printLeadingComments(e){this._printComments(this._getComments(true,e),true)}printInnerComments(e,t=true){var r;if(!((r=e.innerComments)!=null&&r.length))return;if(t)this.indent();this._printComments(e.innerComments);if(t)this.dedent()}printSequence(e,t,r={}){r.statement=true;return this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}return this.printJoin(e,t,r)}_printNewline(e,t,r,n){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}let s=0;if(this._buf.hasContent()){if(!e)s++;if(n.addNewlines)s+=n.addNewlines(e,t)||0;const a=e?i.needsWhitespaceBefore:i.needsWhitespaceAfter;if(a(t,r))s++}this.newline(s)}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e,t){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;this._printedComments.add(e);const r=e.type==="CommentBlock";const n=r&&!t&&!this._noLineTerminator;if(n&&this._buf.hasContent())this.newline(1);if(!this.endsWith("[")&&!this.endsWith("{"))this.space();let i=!r&&!this._noLineTerminator?`//${e.value}\n`:`/*${e.value}*/`;if(r&&this.format.indent.adjustMultilineComment){var s;const t=(s=e.loc)==null?void 0:s.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");i=i.replace(e,"\n")}const r=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());i=i.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}if(this.endsWith("/"))this._space();this.withSource("start",e.loc,()=>{this._append(i)});if(n)this.newline(1)}_printComments(e,t){if(!(e!=null&&e.length))return;if(t&&e.length===1&&p.test(e[0].value)){this._printComment(e[0],this._buf.hasContent()&&!this.endsWith("\n"))}else{for(const t of e){this._printComment(t)}}}printAssertions(e){var t;if((t=e.assertions)!=null&&t.length){this.space();this.word("assert");this.space();this.token("{");this.space();this.printList(e.assertions,e);this.space();this.token("}")}}}Object.assign(Printer.prototype,a);{Printer.prototype.Noop=function Noop(){}}var c=Printer;t.default=c;function commaSeparator(){this.token(",");this.space()}},67882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(96241);class SourceMap{constructor(e,t){this._cachedMap=void 0;this._code=void 0;this._opts=void 0;this._rawMappings=void 0;this._lastGenLine=void 0;this._lastSourceLine=void 0;this._lastSourceColumn=void 0;this._cachedMap=null;this._code=t;this._opts=e;this._rawMappings=[]}get(){if(!this._cachedMap){const e=this._cachedMap=new n.SourceMapGenerator({sourceRoot:this._opts.sourceRoot});const t=this._code;if(typeof t==="string"){e.setSourceContent(this._opts.sourceFileName.replace(/\\/g,"/"),t)}else if(typeof t==="object"){Object.keys(t).forEach(r=>{e.setSourceContent(r.replace(/\\/g,"/"),t[r])})}this._rawMappings.forEach(t=>e.addMapping(t),e)}return this._cachedMap.toJSON()}getRawMappings(){return this._rawMappings.slice()}mark(e,t,r,n,i,s,a){if(this._lastGenLine!==e&&r===null)return;if(!a&&this._lastGenLine===e&&this._lastSourceLine===r&&this._lastSourceColumn===n){return}this._cachedMap=null;this._lastGenLine=e;this._lastSourceLine=r;this._lastSourceColumn=n;this._rawMappings.push({name:i||undefined,generated:{line:e,column:t},source:r==null?undefined:(s||this._opts.sourceFileName).replace(/\\/g,"/"),original:r==null?undefined:{line:r,column:n}})}}t.default=SourceMap},86996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(61127);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},3620:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(61127);var s=r(86996);var a=r(91997);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{n(!t,"Unexpected secondary arguments.");i.push(e)}const s=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(s).forEach(t=>{if(e[t]!==undefined)s[t]=e[t]});if(!r){if(e.nameHint!==undefined)s.nameHint=e.nameHint;if(e.blockHoist!==undefined)s.blockHoist=e.blockHoist}}return s}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:c,ensureLiveReference:f,ensureNoContext:d,nameHint:y,importPosition:h,blockHoist:m}=e;let T=y||t;const S=(0,a.default)(this._programPath);const b=S&&c==="node";const E=S&&c==="babel";if(h==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new s.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(T,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){T=T!=="default"?T:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(T||l).wildcardInterop()}else if(r){if(f){g.default(e).var(T||l).defaultInterop().read("default")}else{g.default(e).var(T).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l).wildcardInterop()}else if((r||n)&&f){if(r){T=T!=="default"?T:l;g.var(T).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(T).defaultInterop().prop(t)}else if(n){g.var(T).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(T||l)}else if(r||n){g.default(l).read(T)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r||n){if(f){g.var(l).read(T)}else{g.prop(t).var(T)}}}}else if(p==="uncompiled"){if(r&&f){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.default(l).read(T)}}else if(E){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r){g.var(T)}else if(n){if(f){g.var(l).read(T)}else{g.var(T).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:x,resultName:P}=g.done();this._insertStatements(x,h,m);if((r||n)&&d&&P.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),P])}return P}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},68346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var n=r(3620);var i=r(91997);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,i){return new n.default(e).addNamed(t,r,i)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},91997:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},12500:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,i,s,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(i=r.moduleIds)!=null?i:t.moduleIds,getModuleId:(s=r.getModuleId)!=null?s:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:i=t.moduleRoot}=e;const{moduleId:s,moduleIds:a=!!s,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(s!=null&&!o){return s}let u=l!=null?l+"/":"";if(n){const e=i!=null?new RegExp("^"+i+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},29444:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var i=r(61127);var s=r(36900);var a=r(68346);var o=r(30567);var l=r(65316);var u=r(5706);var p=r(12500);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:s,allowTopLevelThis:p,strictMode:c,noInterop:f,importInterop:d=(f?"none":"babel"),lazy:y,esNamespaceOnly:h,constantReexports:m=t,enumerableModuleMeta:T=t}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const S=(0,u.default)(e,r,{importInterop:d,initializeReexports:m,lazy:y,esNamespaceOnly:h});if(!p){(0,o.default)(e)}(0,l.default)(e,S);if(c!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const b=[];if((0,u.hasExports)(S)&&!s){b.push(buildESModuleHeader(S,T))}const E=buildExportNameListDeclaration(e,S);if(E){S.exportNameListName=E.name;b.push(E.statement)}b.push(...buildExportInitializationStatements(e,S,m));return{meta:S,headers:b}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return i.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(s.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(r){n.push(...f(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?s.default.statement` + Object.defineProperty(EXPORTS, "NAME", { + enumerable: true, + get: function() { + return NAMESPACE; + } + }); + `:s.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const s=buildNamespaceReexport(e,i.cloneNode(a),r);s.loc=t.reexportAll.loc;n.push(s)}return n}const c={constant:s.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:s.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,s.default)` + Object.defineProperty(EXPORTS, "EXPORT_NAME", { + enumerable: true, + get: function() { + return NAMESPACE_IMPORT; + }, + }); + `};const f=(e,t,r)=>{const n=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:s}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(s.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||i.isIdentifier(l)){if(s.has(a)){return c.constantComputed(u)}else{return c.constant(u)}}else{return c.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?s.default.statement` + EXPORTS.__esModule = true; + `:s.default.statement` + Object.defineProperty(EXPORTS, "__esModule", { + value: true, + }); + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?s.default.statement` + Object.keys(NAMESPACE).forEach(function(key) { + if (key === "default" || key === "__esModule") return; + VERIFY_NAME_LIST; + if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; - BabelRegExp.prototype.exec = function(str) { - var result = _super.exec.call(this, str); - if (result) result.groups = buildGroups(result, this); - return result; - }; - BabelRegExp.prototype[Symbol.replace] = function(str, substitution) { - if (typeof substitution === "string") { - var groups = _groups.get(this); - return _super[Symbol.replace].call( - this, - str, - substitution.replace(/\\$<([^>]+)>/g, function(_, name) { - return "$" + groups[name]; - }) - ); - } else if (typeof substitution === "function") { - var _this = this; - return _super[Symbol.replace].call( - this, - str, - function() { - var args = []; - args.push.apply(args, arguments); - if (typeof args[args.length - 1] !== "object") { - // Modern engines already pass result.groups as the last arg. - args.push(buildGroups(args, _this)); - } - return substitution.apply(this, args); - } - ); - } else { - return _super[Symbol.replace].call(this, str, substitution); - } - } + EXPORTS[key] = NAMESPACE[key]; + }); + `:s.default.statement` + Object.keys(NAMESPACE).forEach(function(key) { + if (key === "default" || key === "__esModule") return; + VERIFY_NAME_LIST; + if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; - function buildGroups(result, re) { - // NOTE: This function should return undefined if there are no groups, - // but in that case Babel doesn't add the wrapper anyway. + Object.defineProperty(EXPORTS, key, { + enumerable: true, + get: function() { + return NAMESPACE[key]; + }, + }); + }); + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,s.default)` + if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const s=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:s.name,statement:i.variableDeclaration("var",[i.variableDeclarator(s,i.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false){const n=[];const s=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){n.push(buildInitStatement(t,r.names,i.identifier(e)))}else{s.push(...r.names)}}for(const e of t.source.values()){if(!r){n.push(...f(t,e,false))}for(const t of e.reexportNamespace){s.push(t)}}n.push(...chunk(s,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}));return n}const d={computed:s.default.expression`EXPORTS["NAME"] = VALUE`,default:s.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:s}=e;return i.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:s,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var i=r(8978);var s=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:i=false,esNamespaceOnly:s=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(s&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,i.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},i){const s=getLocalExportMetadata(e,r,i);const a=new Map;const o=t=>{const r=t.value;let i=a.get(r);if(!i){i={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=s.get(r);if(n){s.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=s.get(r);if(n){s.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),i);const n=e.get("local").node.name;t.imports.set(n,r);const a=s.get(n);if(a){s.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),i);const n=getExportSpecifierName(e.get("exported"),i);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:s,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const i=new Map;const s=e=>{const t=e.node.name;let r=i.get(t);if(!r){const s=n.get(t);if(s===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:s};i.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}s(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const i=s(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){s(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,s.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},65316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var i=r(61127);var s=r(36900);var a=r(67050);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const s=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,i]of n.imports){r.set(t,[e,i,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:s,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:s,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],s)=>{const a=t.source.get(e);if(n){if(a.lazy)s=i.callExpression(s,[]);return s}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return i.memberExpression(o,l?i.stringLiteral(r):i.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:s}=e.node;if(!s)throw new Error("Expected class to have a name");const a=s.name;const o=r.get(a)||[];if(o.length>0){const r=i.expressionStatement(l(n,o,i.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(s=>{const a=r.get(s)||[];if(a.length>0){const r=i.expressionStatement(l(n,a,i.identifier(s)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const s=n.has(r);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),s?i.stringLiteral(r):i.identifier(r),s),t)},r)};const u=e=>{return s.default.expression.ast` + (function() { + throw new Error('"' + '${e}' + '" is read-only.'); + })() + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:s,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=s.get(o);if(l){const t=e.scope.getBinding(o);const s=n.getBinding(o);if(s!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(u)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:s,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const c=e.get("left");if(c.isMemberExpression())return;if(c.isIdentifier()){const r=c.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const f=a.get(r);const d=s.get(r);if((f==null?void 0:f.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=i.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,f,t));o(e)}}else{const r=c.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>s.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,u(p)])}const f=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){f.push(l(this.metadata,t,i.identifier(e)))}});if(f.length>0){let t=i.sequenceExpression(f);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:s,scope:a}=this;if(!i.isVariableDeclaration(n)){let r=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(n))){if(s.get(e)&&a.getBinding(e)===t.getBinding(e)){r=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!r){return}const u=t.generateUidIdentifierBasedOnNode(n);o.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",n,u)));e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(u))]));t.registerDeclaration(e.get("left"))}}}},30567:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(846);var i=r(1125);var s=r(61127);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(s.unaryExpression("void",s.numericLiteral(0),true))}}])},32092:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},67050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(61127);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const i=e.get("argument");if(!i.isIdentifier())return;const s=i.node.name;if(!r.has(s))return;if(t.getBinding(s)!==e.scope.getBinding(s)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,i.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(s),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",i.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const r=t.name;e.scope.push({id:t});const s=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",i.node)),n.assignmentExpression("=",n.cloneNode(i.node),s),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:i}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const s=e.get("left");if(!s.isIdentifier())return;const a=s.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=n.binaryExpression(e.node.operator.slice(0,-1),n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},84928:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(84928);var i=r(53324)},53324:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},1534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var i=r(8978);var s=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=i}}return r}function shouldHighlight(e){return!!s.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new s.constructor({enabled:true,level:1}):s}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},33357:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const i=true;const s=true;const a=true;const o=true;class TokenType{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=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:s}),assign:new TokenType("_=",{beforeExpr:r,isAssign:s}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:s}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:i,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const c=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const f=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(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 true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{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}}function getLineInfo(e,t){let r=1;let n=0;let i;c.lastIndex=0;while((i=c.exec(e))&&i.index0){n=t[--i]}if(n===null){return}for(let e=0;e0){n.trailingComments=s}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,i,s,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){i=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){i=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(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(last(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){break}}const t=this.state.leadingComments.slice(0,s);if(t.length){e.leadingComments=t}i=this.state.leadingComments.slice(s);if(i.length===0){i=null}}}this.state.commentPreviousNode=e;if(i){if(i.length&&i[0].start>=e.start&&last(i).end<=e.end){e.innerComments=i}else{const t=i.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=i.slice(0,t);e.trailingComments=i.slice(t)}else{e.trailingComments=i}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const y=makeErrorTemplates({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."},d.SyntaxError);const h=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...i){return this.raiseWithData(e,{code:t,reasonCode:r},n,...i)}raiseOverwrite(e,{code:t,template:r},...n){const i=this.getLocationForPosition(e);const s=r.replace(/%(\d+)/g,(e,t)=>n[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})}else 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);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);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);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return 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",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,i,s,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,i,s,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(s==="ClassPrivateMethod"){e.computed=false}s="MethodDefinition";return this.finishNode(e,s)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,i){const s=super.parseObjectMethod(e,t,r,n,i);if(s){s.type="Property";if(s.kind==="method")s.kind="init";s.shorthand=false}return s}parseObjectProperty(e,t,r,n,i){const s=super.parseObjectProperty(e,t,r,n,i);if(s){s.kind="init";s.type="Property"}return s}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,y.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,y.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,i){const s=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if(s.type==="OptionalMemberExpression"||s.type==="OptionalCallExpression"){s.type=s.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(s);e.expression=s;return this.finishNode(e,"ChainExpression")}}else if(s.type==="MemberExpression"||s.type==="CallExpression"){s.optional=false}return s}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const T={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(T.brace)});u.dollarBraceL.updateContext=(e=>{e.push(T.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===T.template){e.pop()}else{e.push(T.template)}});let S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const E=new RegExp("["+S+"]");const g=new RegExp("["+S+b+"]");S=b=null;const x=[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];const P=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,x)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&g.test(String.fromCharCode(e))}return isInAstralSet(e,x)||isInAstralSet(e,P)}const A={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const v=new Set(A.keyword);const O=new Set(A.strict);const I=new Set(A.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||O.has(e)}function isStrictBindOnlyReservedWord(e){return I.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return v.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const w=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return w.has(e)}const D=0,N=1,C=2,j=4,_=8,L=16,k=32,B=64,M=128,F=256,R=N|C|F;const K=1,V=2,U=4,X=8,J=16,Y=64,W=128,q=256,z=512,H=1024,G=2048;const $=K|V|X|W,Q=K|0|X|0,Z=K|0|U|0,ee=K|0|J|0,te=0|V|0|W,re=0|V|0|0,ne=K|V|X|q,ie=0|0|0|H,se=0|0|0|Y,ae=K|0|0|Y,oe=ne|z,le=0|0|0|H,ue=G;const pe=4,ce=2,fe=1,de=ce|fe;const ye=ce|pe,he=fe|pe,me=ce,Te=fe,Se=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&C)>0}get allowSuper(){return(this.currentThisScopeFlags()&L)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&k)>0}get inClass(){return(this.currentThisScopeFlags()&B)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&B)>0&&(e&C)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&M)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&C)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&C||!this.inModule&&e.flags&N)}declareName(e,t,r){let n=this.currentScope();if(t&X||t&J){this.checkRedeclarationInScope(n,e,t,r);if(t&J){n.functions.add(e)}else{n.lexical.add(e)}if(t&X){this.maybeExportDefined(n,e)}}else if(t&U){for(let i=this.scopeStack.length-1;i>=0;--i){n=this.scopeStack[i];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&R)break}}if(this.inModule&&n.flags&N){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&N){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,y.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&K))return false;if(r&X){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&J){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&_&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(R|B)&&!(t&j)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&G){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&G){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const be=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const Ee=makeErrorTemplates({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."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const ge={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=xe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Ee.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const i=this.flowParseFunctionTypeParams();r.params=i.params;r.rest=i.rest;r.this=i._this;this.expect(u.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,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Ee.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(D);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Ee.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Ee.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let i=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,Ee.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="CommonJS";i=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=ge[e];throw this.raise(this.state.start,Ee.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Ee.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!be.has(e))return;this.raise(t,r?Ee.AssignReservedType:Ee.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();r.name=i.name;r.variance=n;r.bound=i.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Ee.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:i}){const s=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let s=null;let o=null;const c=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();s=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const f=this.flowParseVariance();if(this.eat(u.bracketL)){if(s!=null){this.unexpected(s)}if(this.eat(u.bracketL)){if(f){this.unexpected(f.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(c,t,f))}}else if(this.match(u.parenL)||this.isRelational("<")){if(s!=null){this.unexpected(s)}if(f){this.unexpected(f.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(c,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(c,t,s,f,e,r,i!=null?i:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Ee.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const c=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=s;return c}flowParseObjectTypeProperty(e,t,r,n,i,s,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!s){this.raise(this.state.lastTokStart,Ee.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Ee.InexactInsideExact)}if(n){this.raise(n.start,Ee.InexactVariance)}return null}if(!s){this.raise(this.state.lastTokStart,Ee.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Ee.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!s&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Ee.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Ee.GetterMayNotHaveThisParam:Ee.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,y.BadGetterArity)}else{this.raise(r,y.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,y.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.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(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}this.expect(u.question);const i=this.state.clone();const s=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,c]=this.getArrowLikeExpressions(o);if(l||c.length>0){const e=[...s];if(c.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,Ee.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=s;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(C|j);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(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=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Ee.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Ee.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,y.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&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 false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,Ee.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const i=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,s){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,i,s);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Ee.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Ee.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,i,s,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,i,s,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Ee.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Ee.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),i);if(!s.error)return s.node;const{context:n}=this.state;if(n[n.length-1]===T.j_oTag){n.length-=2}else if(n[n.length-1]===T.j_expr){n.length-=1}}if((n=s)!=null&&n.error||this.isRelational("<")){var a,o;i=i||this.state.clone();let n;const l=this.tryParse(i=>{var s;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const i=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(i,n);return i});if(a.type!=="ArrowFunctionExpression"&&(s=a.extra)!=null&&s.parenthesized){i()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},i);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,Ee.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=s)!=null&&a.node){this.state=s.failState;return s.node}if(u){this.state=l.failState;return u}if((o=s)!=null&&o.thrown)throw s.error;if(l.thrown)throw l.error;throw this.raise(n.start,Ee.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(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(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Ee.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const 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){this.state=s.failState;return s.node}if(a.node){this.state=a.failState;return a.node}throw s.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(n){i.stop=true;return e}this.next();const s=this.startNodeAt(t,r);s.callee=e;s.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);s.arguments=this.parseCallExpressionArguments(u.parenR,false);s.optional=true;return this.finishCallExpression(s,true)}else 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(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(i.optionalChainMember)n.optional=false;return this.finishCallExpression(n,i.optionalChainMember)});if(s.node){if(s.error)this.state=s.failState;return s.node}}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){let t=null;if(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);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Ee.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Ee.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,y.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,y.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Ee.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Ee.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Ee.EnumInvalidExplicitTypeUnknownSupplied:Ee.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let i=null;switch(r){case"boolean":case"number":case"string":i=Ee.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=Ee.EnumInvalidMemberInitializerSymbolType;break;default:i=Ee.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Ee.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){i=true;break}const s=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};s.id=a;switch(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"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:i,hasUnknownMembers:s}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=s;switch(n){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const s=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!s&&!a&&!o&&!l){return n()}else if(!s&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&s>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!s&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ae={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:"♦"};class State{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=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[T.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,i=r.length;n.",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 <>...?"},d.SyntaxError);T.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(T.j_expr);e.push(T.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var we=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ie.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&Ne)>0}get hasReturn(){return(this.currentFlags()&je)>0}get hasIn(){return(this.currentFlags()&_e)>0}}function functionFlags(e,t){return(e?Ce:0)|(t?Ne:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const Le=makeErrorTemplates({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."},d.SyntaxError);function keywordTypeFromName(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 undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var ke=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const i=(t,r,n,i)=>{if(r===n&&e[i]){this.raise(t,Le.InvalidModifiersOrder,n,i)}};const s=(t,r,n,i)=>{if(e[n]&&r===i||e[i]&&r===n){this.raise(t,Le.IncompatibleModifiers,n,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Le.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Le.DuplicateModifier,o)}else{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]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}n.push(i);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Le.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.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();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Le.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Le.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Le.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,Le.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,y.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,y.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Le.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Le.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,Le.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Le.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Le.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const s=i==="TSNamedTupleMember";r=(n=r)!=null?n:s;if(r!==s){this.raise(e.start,Le.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const i=this.eat(u.question);const s=this.eat(u.colon);if(s){const e=this.startNodeAtNode(n);e.optional=i;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Le.InvalidTupleMemberLabel);e.label=n}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();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Le.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return 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();const i=this.eat(r);const s=[];do{s.push(t())}while(this.eat(r));if(s.length===1&&!i){return s[0]}n.types=s;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsParseTypeAnnotation(false);r.parameterName=i;r.typeAnnotation=s;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Le.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return 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=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(D);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,Le.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Le.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let i;let s=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;s=t.readonly;if(e===false&&(i||s||a)){this.raise(r,Le.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||s||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(s)e.readonly=s;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Le.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Le.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ie)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Le.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return 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(u.parenL)){s.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(s.arguments);s.typeParameters=a;if(i.optionalChainMember){s.optional=false}return this.finishCallExpression(s,i.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,i);n.typeParameters=a;return 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();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,r);i.expression=e;const s=this.tsTryNextParseConstantContext();if(s){i.typeAnnotation=s}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Le.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!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;if(i&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,Le.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,r,n){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,Le.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Le.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Le.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Le.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Le.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,Le.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Le.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(u.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(i&&n){this.resetStartLocation(i,t,r);i.declare=true}return i}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?ie:$);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,Le.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Le.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Le.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,s){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,Le.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Le.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,i,s,a,o;let l;let p;let c;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===T.j_oTag){t.length-=2}else if(t[t.length-1]===T.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let f;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;f=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(r=i.extra)!=null&&r.parenthesized){t()}if(((n=f)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(i,f)}i.typeParameters=f;return i},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));c=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!c.error)return c.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=c)!=null&&n.node){this.state=c.failState;return c.node}if((i=p)!=null&&i.thrown)throw p.error;if(d.thrown)throw d.error;if((s=c)!=null&&s.thrown)throw c.error;throw((a=p)==null?void 0:a.error)||d.error||((o=c)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Le.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const i=n&&this.isThisParam(n);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;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(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Le.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Le.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Be=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Me=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return 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;const s=this.parsePlaceholder("Identifier");if(s){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=s}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(s,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Be.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Fe=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Re=["minimal","smart","fsharp"];const Ke=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){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'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Re.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Re.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ke.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ve={estree:m,jsx:we,flow:Pe,typescript:ke,v8intrinsic:Fe,placeholders:Me};const Ue=Object.keys(Ve);const Xe={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Xe)){t[r]=e&&e[r]!=null?e[r]:Xe[r]}return t}var Je=function isDigit(e){return e>=48&&e<=57};const Ye=new Set([103,109,115,105,121,117,100]);const We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const qe={};qe.bin=[48,49];qe.oct=[...qe.bin,50,51,52,53,54,55];qe.dec=[...qe.oct,56,57];qe.hex=[...qe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(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){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){f.lastIndex=e;const t=f.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===T.template){this.readTmplToken()}else{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 SourceLocation(i,s)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,y.UnterminatedComment);this.state.pos=r+2;c.lastIndex=t;let n;while((n=c.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,y.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.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,y.UnterminatedRegExp)}const i=this.input.charCodeAt(n);if(isNewLine(i)){throw this.raise(e,y.UnterminatedRegExp)}if(t){t=false}else{if(i===91){r=true}else if(i===93&&r){r=false}else if(i===47&&!r){break}t=i===92}}const i=this.input.slice(e,n);++n;let s="";while(n-1||s.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,y.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Je(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+i+2,y.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,y.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;r=true}else if(i===109){throw this.raise(t,y.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let i=false;let s=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,y.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,y.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,y.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,y.InvalidOrMissingExponent)}r=true;s=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,y.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(s||o){this.raise(t,y.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(i){this.finishToken(u.decimal,p);return}const c=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,c)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,y.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,y.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++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}else{this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let i=parseInt(n,8);if(i>255){n=n.slice(0,-1);i=parseInt(n,8)}this.state.pos+=n.length-1;const s=this.input.charCodeAt(this.state.pos);if(n!=="0"||s===56||s===57){if(e){return null}else{this.recordStrictModeErrors(t,y.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(r){this.raise(n,y.InvalidEscapeSequence)}else{this.state.pos=n-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let i=e[n];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(r);i=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope($e)}function newArrowHeadScope(){return new ArrowHeadParsingScope(He)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Ge)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,y.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?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)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,y.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const i=this.scope;const s=this.getScopeHandler();this.scope=new s(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=De;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ce}this.scope.enter(N);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{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 SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let i=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){i=Qe(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,y.InvalidParenthesizedAssignment)}}else{this.raise(e.start,y.InvalidParenthesizedAssignment)}}switch(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))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const i=this.startNodeAt(t,r);i.expressions=[n];while(this.eat(u.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return 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;const i=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,i)}return e}}let s;if(e){s=false}else{e=new ExpressionErrors;s=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,i)}if(this.state.type.isAssign){const t=this.startNodeAt(n,i);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(s){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.state.potentialArrowAt;const s=this.parseExprOps(e);if(this.shouldExitDescending(s,i)){return s}return this.parseConditional(s,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,n)){return i}return this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(i>n){const s=this.state.type;if(s===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=s===u.logicalOR||s===u.logicalAND;const l=s===u.nullishCoalescing;if(l){i=u.logicalAND.binop}this.next();if(s===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(s,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,y.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const s=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,y.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,y.DeletePrivateField)}}if(!s){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,s,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?y.AwaitNotInAsyncContext:y.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const i=this.state.startLoc;let s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return s;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,i);e.operator=this.state.value;e.prefix=false;e.argument=s;this.checkLVal(s,"postfix operation");this.next();s=this.finishNode(e,"UpdateExpression")}return s}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,n)){return i}return this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,r,n,i){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,i)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,i)}let s=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=s=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,i,s)}else if(s||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,i,s)}else{i.stop=true;return e}}parseMember(e,t,r,n,i){const s=this.startNodeAt(t,r);const a=this.eat(u.bracketL);s.object=e;s.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(s.object.type==="Super"){this.raise(t,y.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}s.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){s.optional=i;return this.finishNode(s,"OptionalMemberExpression")}else{return this.finishNode(s,"MemberExpression")}}parseBind(e,t,r,n,i){const s=this.startNodeAt(t,r);s.object=e;s.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(s,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){const s=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=s;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const i=this.startNodeAt(t,r);i.tag=e;i.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,y.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,y.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){const s=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}s.push(this.parseExprListItem(false,i,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return s}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,y.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,y.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,y.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,y.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,y.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,y.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Ce);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,y.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,y.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,h.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const c={start:0};let f=true;let d;let y;while(!this.match(u.parenR)){if(f){f=false}else{this.expect(u.comma,c.start||null);if(this.match(u.parenR)){y=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,c))}}const h=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=s;let T=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(T=this.parseArrow(T))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(T,l,false);return T}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(y)this.unexpected(y);if(d)this.unexpected(d);this.checkExpressionErrors(p,true);if(c.start)this.unexpected(c.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",h,m)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const S=this.startNodeAt(t,r);S.expression=n;this.finishNode(S,"ParenthesizedExpression");return S}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,y.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,y.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,y.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,y.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(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(i,r,s,n)}if(r&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,y.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,y.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let i=false;let s=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(u.star)}const p=this.state.containsEsc;const c=this.parsePropertyName(n,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=c.name;if(e==="async"&&!this.hasPrecedingLineBreak()){s=true;i=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){i=true;this.raise(this.state.pos,y.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,i,s,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const i=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(i,y.BadGetterArity)}else{this.raise(i,y.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,y.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,i){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return 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);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,i,s,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(C|L|(a?B:0)|(i?k:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,s,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=this.startNode();this.next();s.elements=this.parseExprList(e,!r,n,s);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(C|j);let i=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){i|=_e}this.prodParam.enter(i);this.initFunction(e,r);const s=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=s;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|je);e.body=this.parseBlock(true,false,i=>{const s=!this.isSimpleParamList(e.params);if(i&&s){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,y.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!s,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,y.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,y.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,y.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,y.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,y.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,y.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,y.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,y.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,y.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,y.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const i=this.isSimpleReference(e);if(i){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,y.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,i?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&~t;if(r){this.prodParam.enter(t|_e);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&t;if(r){this.prodParam.enter(t&~_e);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,it=4;const st=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(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,y.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const i=this.input.slice(t.start,t.end);const s=r.value=i.slice(1,-1);this.addExtra(r,"raw",i);this.addExtra(r,"rawValue",s);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let i;if(this.isLet(e)){r=u._var;i="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,y.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,y.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,y.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,i);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,y.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const s=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,s,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,h.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;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(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(D);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const i=n?"let":this.state.value;this.next();this.parseVar(r,true,i);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const i=this.match(u.name)&&!this.state.containsEsc;const s=new ExpressionErrors;const a=this.parseExpression(true,s);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,y.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,y.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,y.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(D);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,y.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,y.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?_:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(D)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,y.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,y.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,y.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(u._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){r.statementStart=this.state.start;r.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(D)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){const s=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?a:undefined,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){const s=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(i){i.call(this,a)}if(!s){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,y.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const i=t&nt;const s=!!n&&!(t&it);this.initFunction(e,r);if(this.match(u.star)&&i){this.raise(this.state.start,y.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(s)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(C);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const i=this.startNode();i.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(i,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,y.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,y.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const i=t;const s=t;const a=t;const o=t;const l=i;const p=i;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,s,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const c=this.state.containsEsc;const f=this.match(u.privateName);const d=this.parseClassElementName(t);const h=d.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(f){this.pushClassPrivateMethod(e,s,false,false);return}const n=this.isNonstaticConstructor(i);let a=false;if(n){i.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,y.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,y.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,i,false,false,n,a)}else if(this.isClassProperty()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(h&&d.name==="async"&&!c&&!this.isLineTerminator()){const t=this.eat(u.star);if(p.optional){this.unexpected(m)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,s,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(h&&(d.name==="get"||d.name==="set")&&!c&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,s,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,y.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,y.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(B|M|L);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(De);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,y.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,y.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),Se,r.key.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const i=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(i);const s=i.kind==="get"?i.static?ye:me:i.kind==="set"?i.static?he:Te:Se;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),s,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(B|L);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(De);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=$){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,y.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const i=n&&this.maybeParseExportNamespaceSpecifier(e);const s=r&&(!i||this.eat(u.comma));const a=t||n;if(n&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||i&&s&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|it,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,y.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,y.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,y.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const s=this.state.decoratorStack[this.state.decoratorStack.length-1];if(s.length){throw this.raise(e.start,y.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?y.DuplicateDefaultExport:y.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.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(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(st);if(t){this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,y.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,y.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Ue.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=Ve[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},68273:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.scope=t.path=void 0;let r=new WeakMap;t.path=r;let n=new WeakMap;t.scope=n;function clear(){clearPath();clearScope()}function clearPath(){t.path=r=new WeakMap}function clearScope(){t.scope=n=new WeakMap}},6450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(60875);var i=r(61127);const s=process.env.NODE_ENV==="test";class TraversalContext{constructor(e,t,r,n){this.queue=null;this.priorityQueue=null;this.parentPath=n;this.scope=e;this.state=r;this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return true;if(t[e.type])return true;const r=i.VISITOR_KEYS[e.type];if(!(r!=null&&r.length))return false;for(const t of r){if(e[t])return true}return false}create(e,t,r,i){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:i})}maybeQueue(e,t){if(this.trap){throw new Error("Infinite cycle detected")}if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,r){if(e.length===0)return false;const n=[];for(let i=0;i=1e4){this.trap=true}const{node:i}=n;if(t.has(i))continue;if(i)t.add(i);if(n.visit()){r=true;break}if(this.priorityQueue.length){r=this.visitQueue(this.priorityQueue);this.priorityQueue=[];this.queue=e;if(r)break}}for(const t of e){t.popContext()}this.queue=null;return r}visit(e,t){const r=e[t];if(!r)return false;if(Array.isArray(r)){return this.visitMultiple(r,e,t)}else{return this.visitSingle(e,t)}}}t.default=TraversalContext},11949:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}t.default=Hub},1125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"Hub",{enumerable:true,get:function(){return u.default}});t.visitors=t.default=void 0;var n=r(6450);var i=r(36363);t.visitors=i;var s=r(61127);var a=r(68273);var o=r(60875);var l=r(21667);var u=r(11949);function traverse(e,t={},r,n,a){if(!e)return;if(!t.noScope&&!r){if(e.type!=="Program"&&e.type!=="File"){throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+"passing scope and parentPath.")}}if(!s.VISITOR_KEYS[e.type]){return}i.explode(t);traverse.node(e,t,r,n,a)}var p=traverse;t.default=p;traverse.visitors=i;traverse.verify=i.verify;traverse.explode=i.explode;traverse.cheap=function(e,t){return s.traverseFast(e,t)};traverse.node=function(e,t,r,i,a,o){const l=s.VISITOR_KEYS[e.type];if(!l)return;const u=new n.default(r,t,i,a);for(const t of l){if(o&&o[t])continue;if(u.visit(e,t))return}};traverse.clearNode=function(e,t){s.removeProperties(e,t);a.path.delete(e)};traverse.removeProperties=function(e,t){s.traverseFast(e,traverse.clearNode,t);return e};function hasDenylistedType(e,t){if(e.node.type===t.type){t.has=true;e.stop()}}traverse.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return false;if(e.type===t)return true;const n={has:false,type:t};traverse(e,{noScope:true,denylist:r,enter:hasDenylistedType},null,n);return n.has};traverse.cache=a},64247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findParent=findParent;t.find=find;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getAncestry=getAncestry;t.isAncestor=isAncestor;t.isDescendant=isDescendant;t.inType=inType;var n=r(61127);var i=r(60875);function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent(e=>e.isFunction())}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{e=e.parentPath}}while(e);if(e&&(e.isProgram()||e.isFile())){throw new Error("File/Program node, we can't possibly find a statement parent to this")}return e}function getEarliestCommonAncestorFrom(e){return this.getDeepestCommonAncestorFrom(e,function(e,t,r){let i;const s=n.VISITOR_KEYS[e.type];for(const e of r){const r=e[t+1];if(!i){i=r;continue}if(r.listKey&&i.listKey===r.listKey){if(r.keya){i=r}}return i})}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let r=Infinity;let n,i;const s=e.map(e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.lengtht===e)}function inType(...e){let t=this;while(t){for(const r of e){if(t.node.type===r)return true}t=t.parentPath}return false}},73477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shareCommentsWithSiblings=shareCommentsWithSiblings;t.addComment=addComment;t.addComments=addComments;var n=r(61127);function shareCommentsWithSiblings(){if(typeof this.key==="string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1);const i=this.getSibling(this.key+1);const s=Boolean(n.node);const a=Boolean(i.node);if(s&&!a){n.addComments("trailing",t)}else if(a&&!s){i.addComments("leading",r)}}function addComment(e,t,r){n.addComment(this.node,e,t,r)}function addComments(e,t){n.addComments(this.node,e,t)}},77838:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.call=call;t._call=_call;t.isBlacklisted=t.isDenylisted=isDenylisted;t.visit=visit;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.setScope=setScope;t.setContext=setContext;t.resync=resync;t._resyncParent=_resyncParent;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncRemoved=_resyncRemoved;t.popContext=popContext;t.pushContext=pushContext;t.setup=setup;t.setKey=setKey;t.requeue=requeue;t._getQueueContexts=_getQueueContexts;var n=r(1125);var i=r(60875);function call(e){const t=this.opts;this.debug(e);if(this.node){if(this._call(t[e]))return true}if(this.node){return this._call(t[this.node.type]&&t[this.node.type][e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const r=t.call(this.state,this,this.state);if(r&&typeof r==="object"&&typeof r.then==="function"){throw new Error(`You appear to be using a plugin with an async traversal visitor, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}if(r){throw new Error(`Unexpected return value from visitor method ${t}`)}if(this.node!==e)return true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function visit(){if(!this.node){return false}if(this.isDenylisted()){return false}if(this.opts.shouldSkip&&this.opts.shouldSkip(this)){return false}if(this.shouldSkip||this.call("enter")||this.shouldSkip){this.debug("Skip...");return this.shouldStop}this.debug("Recursing into...");n.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys);this.call("exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=i.SHOULD_SKIP|i.SHOULD_STOP}function setScope(){if(this.opts&&this.opts.noScope)return;let e=this.parentPath;if(this.key==="key"&&e.isMethod())e=e.parentPath;let t;while(e&&!t){if(e.opts&&e.opts.noScope)return;t=e.scope;e=e.parentPath}this.scope=this.getScope(t);if(this.scope)this.scope.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}this.setScope();return this}function resync(){if(this.removed)return;this._resyncParent();this._resyncList();this._resyncKey()}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let e=0;e0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,r,n){this.listKey=r;this.container=t;this.parentPath=e||this.parentPath;this.setKey(n)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const r of t){r.maybeQueue(e)}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},90486:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toComputedKey=toComputedKey;t.ensureBlock=ensureBlock;t.arrowFunctionToShadowed=arrowFunctionToShadowed;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;t.arrowFunctionToExpression=arrowFunctionToExpression;var n=r(61127);var i=r(98733);function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(n.isIdentifier(e))e=n.stringLiteral(e.name)}return e}function ensureBlock(){const e=this.get("body");const t=e.node;if(Array.isArray(e)){throw new Error("Can't convert array path to a block statement")}if(!t){throw new Error("Can't convert node without a body")}if(e.isBlockStatement()){return t}const r=[];let i="body";let s;let a;if(e.isStatement()){a="body";s=0;r.push(e.node)}else{i+=".body.0";if(this.isFunction()){s="argument";r.push(n.returnStatement(e.node))}else{s="expression";r.push(n.expressionStatement(e.node))}}this.node.body=n.blockStatement(r);const o=this.get(i);e.setup(o,a?o.node[a]:o.node,a,s);return this.node}function arrowFunctionToShadowed(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function arrowFunctionToExpression({allowInsertArrow:e=true,specCompliant:t=false,noNewArrows:r=!t}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}const s=hoistFunctionEnvironment(this,r,e);this.ensureBlock();this.node.type="FunctionExpression";if(!r){const e=s?null:this.parentPath.scope.generateUidIdentifier("arrowCheckId");if(e){this.parentPath.scope.push({id:e,init:n.objectExpression([])})}this.get("body").unshiftContainer("body",n.expressionStatement(n.callExpression(this.hub.addHelper("newArrowCheck"),[n.thisExpression(),e?n.identifier(e.name):n.identifier(s)])));this.replaceWith(n.callExpression(n.memberExpression((0,i.default)(this,true)||this.node,n.identifier("bind")),[e?n.identifier(e.name):n.thisExpression()]))}}function hoistFunctionEnvironment(e,t=true,r=true){const i=e.findParent(e=>{return e.isFunction()&&!e.isArrowFunctionExpression()||e.isProgram()||e.isClassProperty({static:false})});const s=(i==null?void 0:i.node.kind)==="constructor";if(i.isClassProperty()){throw e.buildCodeFrameError("Unable to transform arrow inside class property")}const{thisPaths:a,argumentsPaths:o,newTargetPaths:l,superProps:u,superCalls:p}=getScopeInformation(e);if(s&&p.length>0){if(!r){throw p[0].buildCodeFrameError("Unable to handle nested super() usage in arrow")}const e=[];i.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(t){if(!t.get("callee").isSuper())return;e.push(t)}});const t=getSuperBinding(i);e.forEach(e=>{const r=n.identifier(t);r.loc=e.node.callee.loc;e.get("callee").replaceWith(r)})}if(o.length>0){const e=getBinding(i,"arguments",()=>n.identifier("arguments"));o.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(l.length>0){const e=getBinding(i,"newtarget",()=>n.metaProperty(n.identifier("new"),n.identifier("target")));l.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(u.length>0){if(!r){throw u[0].buildCodeFrameError("Unable to handle nested super.prop usage")}const e=u.reduce((e,t)=>e.concat(standardizeSuperProperty(t)),[]);e.forEach(e=>{const t=e.node.computed?"":e.get("property").node.name;const r=e.parentPath.isAssignmentExpression({left:e.node});const s=e.parentPath.isCallExpression({callee:e.node});const o=getSuperPropBinding(i,r,t);const l=[];if(e.node.computed){l.push(e.get("property").node)}if(r){const t=e.parentPath.node.right;l.push(t)}const u=n.callExpression(n.identifier(o),l);if(s){e.parentPath.unshiftContainer("arguments",n.thisExpression());e.replaceWith(n.memberExpression(u,n.identifier("call")));a.push(e.parentPath.get("arguments.0"))}else if(r){e.parentPath.replaceWith(u)}else{e.replaceWith(u)}})}let c;if(a.length>0||!t){c=getThisBinding(i,s);if(t||s&&hasSuperClass(i)){a.forEach(e=>{const t=e.isJSX()?n.jsxIdentifier(c):n.identifier(c);t.loc=e.node.loc;e.replaceWith(t)});if(!t)c=null}}return c}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){const t=e.parentPath;const r=t.node.operator.slice(0,-1);const i=t.node.right;t.node.operator="=";if(e.node.computed){const s=e.scope.generateDeclaredUidIdentifier("tmp");t.get("left").replaceWith(n.memberExpression(e.node.object,n.assignmentExpression("=",s,e.node.property),true));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(s.name),true),i))}else{t.get("left").replaceWith(n.memberExpression(e.node.object,e.node.property));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(e.node.property.name)),i))}return[t.get("left"),t.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const r=e.scope.generateDeclaredUidIdentifier("tmp");const i=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null;const s=[n.assignmentExpression("=",r,n.memberExpression(e.node.object,i?n.assignmentExpression("=",i,e.node.property):e.node.property,e.node.computed)),n.assignmentExpression("=",n.memberExpression(e.node.object,i?n.identifier(i.name):e.node.property,e.node.computed),n.binaryExpression("+",n.identifier(r.name),n.numericLiteral(1)))];if(!e.parentPath.node.prefix){s.push(n.identifier(r.name))}t.replaceWith(n.sequenceExpression(s));const a=t.get("expressions.0.right");const o=t.get("expressions.1.left");return[a,o]}return[e]}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}function getThisBinding(e,t){return getBinding(e,"this",r=>{if(!t||!hasSuperClass(e))return n.thisExpression();const i=new WeakSet;e.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(e){if(!e.get("callee").isSuper())return;if(i.has(e.node))return;i.add(e.node);e.replaceWithMultiple([e.node,n.assignmentExpression("=",n.identifier(r),n.identifier("this"))])}})})}function getSuperBinding(e){return getBinding(e,"supercall",()=>{const t=e.scope.generateUidIdentifier("args");return n.arrowFunctionExpression([n.restElement(t)],n.callExpression(n.super(),[n.spreadElement(n.identifier(t.name))]))})}function getSuperPropBinding(e,t,r){const i=t?"set":"get";return getBinding(e,`superprop_${i}:${r||""}`,()=>{const i=[];let s;if(r){s=n.memberExpression(n.super(),n.identifier(r))}else{const t=e.scope.generateUidIdentifier("prop");i.unshift(t);s=n.memberExpression(n.super(),n.identifier(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("value");i.push(t);s=n.assignmentExpression("=",s,n.identifier(t.name))}return n.arrowFunctionExpression(i,s)})}function getBinding(e,t,r){const n="binding:"+t;let i=e.getData(n);if(!i){const s=e.scope.generateUidIdentifier(t);i=s.name;e.setData(n,i);e.scope.push({id:s,init:r(i)})}return i}function getScopeInformation(e){const t=[];const r=[];const n=[];const i=[];const s=[];e.traverse({ClassProperty(e){e.skip()},Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ThisExpression(e){t.push(e)},JSXIdentifier(e){if(e.node.name!=="this")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e){if(e.get("callee").isSuper())s.push(e)},MemberExpression(e){if(e.get("object").isSuper())i.push(e)},ReferencedIdentifier(e){if(e.node.name!=="arguments")return;r.push(e)},MetaProperty(e){if(!e.get("meta").isIdentifier({name:"new"}))return;if(!e.get("property").isIdentifier({name:"target"}))return;n.push(e)}});return{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:s}}},65763:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluateTruthy=evaluateTruthy;t.evaluate=evaluate;const r=["String","Number","Math"];const n=["random"];function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}function evaluateCached(e,t){const{node:r}=e;const{seen:n}=t;if(n.has(r)){const i=n.get(r);if(i.resolved){return i.value}else{deopt(e,t);return}}else{const i={resolved:false};n.set(r,i);const s=_evaluate(e,t);if(t.confident){i.resolved=true;i.value=s}return s}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const r=e.get("expressions");return evaluateCached(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral()){return e.node.value}if(e.isNullLiteral()){return null}if(e.isTemplateLiteral()){return evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const r=e.get("tag.object");const{node:{name:n}}=r;const i=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&i.isIdentifier()&&i.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const r=evaluateCached(e.get("test"),t);if(!t.confident)return;if(r){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const t=e.get("property");const r=e.get("object");if(r.isLiteral()&&t.isIdentifier()){const e=r.node.value;const n=typeof e;if(n==="number"||n==="string"){return e[t.node.name]}}}if(e.isReferencedIdentifier()){const r=e.scope.getBinding(e.node.name);if(r&&r.constantViolations.length>0){return deopt(r.path,t)}if(r&&e.node.start":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){const i=e.get("callee");let s;let a;if(i.isIdentifier()&&!e.scope.getBinding(i.node.name)&&r.indexOf(i.node.name)>=0){a=global[i.node.name]}if(i.isMemberExpression()){const e=i.get("object");const t=i.get("property");if(e.isIdentifier()&&t.isIdentifier()&&r.indexOf(e.node.name)>=0&&n.indexOf(t.node.name)<0){s=global[e.node.name];a=s[t.node.name]}if(e.isLiteral()&&t.isIdentifier()){const r=typeof e.node.value;if(r==="string"||r==="number"){s=e.node.value;a=s[t.node.name]}}}if(a){const r=e.get("arguments").map(e=>evaluateCached(e,t));if(!t.confident)return;return a.apply(s,r)}}deopt(e,t)}function evaluateQuasis(e,t,r,n=false){let i="";let s=0;const a=e.get("expressions");for(const e of t){if(!r.confident)break;i+=n?e.value.raw:e.value.cooked;const t=a[s++];if(t)i+=String(evaluateCached(t,r))}if(!r.confident)return;return i}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},52660:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOpposite=getOpposite;t.getCompletionRecords=getCompletionRecords;t.getSibling=getSibling;t.getPrevSibling=getPrevSibling;t.getNextSibling=getNextSibling;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.get=get;t._getKey=_getKey;t._getPattern=_getPattern;t.getBindingIdentifiers=getBindingIdentifiers;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;var n=r(60875);var i=r(61127);const s=0;const a=1;function NormalCompletion(e){return{type:s,path:e}}function BreakCompletion(e){return{type:a,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,r){if(e)return t.concat(_getCompletionRecords(e,r));return t}function completionRecordForSwitch(e,t,r){let n=[];for(let i=0;i{e.type=a})}function replaceBreakStatementInBreakCompletion(e,t){e.forEach(e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(i.unaryExpression("void",i.numericLiteral(0)))}else{e.path.remove()}}})}function getStatementListCompletion(e,t){let r=[];if(t.canHaveBreak){let n=[];for(let i=0;i0&&u.every(e=>e.type===a)){if(n.length>0&&u.every(e=>e.path.isBreakStatement({label:null}))){normalCompletionToBreak(n);r=r.concat(n);if(n.some(e=>e.path.isDeclaration())){r=r.concat(u);replaceBreakStatementInBreakCompletion(u,true)}replaceBreakStatementInBreakCompletion(u,false)}else{r=r.concat(u);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(u,true)}}break}if(i===e.length-1){r=r.concat(u)}else{r=r.concat(u.filter(e=>e.type===a));n=u.filter(e=>e.type===s)}}}else if(e.length){r=r.concat(_getCompletionRecords(e[e.length-1],t))}return r}function _getCompletionRecords(e,t){let r=[];if(e.isIfStatement()){r=addCompletionRecords(e.get("consequent"),r,t);r=addCompletionRecords(e.get("alternate"),r,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isProgram()||e.isBlockStatement()){r=r.concat(getStatementListCompletion(e.get("body"),t))}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){r=addCompletionRecords(e.get("block"),r,t);r=addCompletionRecords(e.get("handler"),r,t)}else if(e.isCatchClause()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isSwitchStatement()){r=completionRecordForSwitch(e.get("cases"),r,t)}else if(e.isSwitchCase()){r=r.concat(getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true}))}else if(e.isBreakStatement()){r.push(BreakCompletion(e))}else{r.push(NormalCompletion(e))}return r}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map(e=>e.path)}function getSibling(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const r=[];while(t.node){r.push(t);t=this.getSibling(++e)}return r}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const r=[];while(t.node){r.push(t);t=this.getSibling(--e)}return r}function get(e,t=true){if(t===true)t=this.context;const r=e.split(".");if(r.length===1){return this._getKey(e,t)}else{return this._getPattern(r,t)}}function _getKey(e,t){const r=this.node;const i=r[e];if(Array.isArray(i)){return i.map((s,a)=>{return n.default.get({listKey:e,parentPath:this,parent:r,container:i,key:a}).setContext(t)})}else{return n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}}function _getPattern(e,t){let r=this;for(const n of e){if(n==="."){r=r.parentPath}else{if(Array.isArray(r)){r=r[n]}else{r=r.get(n,t)}}}return r}function getBindingIdentifiers(e){return i.getBindingIdentifiers(this.node,e)}function getOuterBindingIdentifiers(e){return i.getOuterBindingIdentifiers(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const r=this;let n=[].concat(r);const s=Object.create(null);while(n.length){const r=n.shift();if(!r)continue;if(!r.node)continue;const a=i.getBindingIdentifiers.keys[r.node.type];if(r.isIdentifier()){if(e){const e=s[r.node.name]=s[r.node.name]||[];e.push(r)}else{s[r.node.name]=r}continue}if(r.isExportDeclaration()){const e=r.get("declaration");if(e.isDeclaration()){n.push(e)}continue}if(t){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression()){continue}}if(a){for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.SHOULD_SKIP=t.SHOULD_STOP=t.REMOVED=void 0;var n=r(68601);var i=r(31185);var s=r(1125);var a=r(21667);var o=r(61127);var l=r(68273);var u=r(37628);var p=r(64247);var c=r(98386);var f=r(16783);var d=r(65763);var y=r(90486);var h=r(99702);var m=r(77838);var T=r(29070);var S=r(82646);var b=r(52660);var E=r(73477);const g=i("babel");const x=1<<0;t.REMOVED=x;const P=1<<1;t.SHOULD_STOP=P;const A=1<<2;t.SHOULD_SKIP=A;class NodePath{constructor(e,t){this.contexts=[];this.state=null;this.opts=null;this._traverseFlags=0;this.skipKeys=null;this.parentPath=null;this.container=null;this.listKey=null;this.key=null;this.node=null;this.type=null;this.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:i,key:s}){if(!e&&t){e=t.hub}if(!r){throw new Error("To get a node path the parent needs to exist")}const a=n[s];let o=l.path.get(r);if(!o){o=new Map;l.path.set(r,o)}let u=o.get(a);if(!u){u=new NodePath(e,r);if(a)o.set(a,u)}u.setup(t,n,i,s);return u}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let r=this.data[e];if(r===undefined&&t!==undefined)r=this.data[e]=t;return r}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,s.default)(this.node,e,this.scope,t,this)}set(e,t){o.validate(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;if(t.inList)r=`${t.listKey}[${r}]`;e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){if(!g.enabled)return;g(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&A)}set shouldSkip(e){if(e){this._traverseFlags|=A}else{this._traverseFlags&=~A}}get shouldStop(){return!!(this._traverseFlags&P)}set shouldStop(e){if(e){this._traverseFlags|=P}else{this._traverseFlags&=~P}}get removed(){return!!(this._traverseFlags&x)}set removed(e){if(e){this._traverseFlags|=x}else{this._traverseFlags&=~x}}}Object.assign(NodePath.prototype,p,c,f,d,y,h,m,T,S,b,E);for(const e of o.TYPES){const t=`is${e}`;const r=o[t];NodePath.prototype[t]=function(e){return r(this.node,e)};NodePath.prototype[`assert${e}`]=function(t){if(!r(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}for(const e of Object.keys(n)){if(e[0]==="_")continue;if(o.TYPES.indexOf(e)<0)o.TYPES.push(e);const t=n[e];NodePath.prototype[`is${e}`]=function(e){return t.checkPath(this,e)}}var v=NodePath;t.default=v},98386:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getTypeAnnotation=getTypeAnnotation;t._getTypeAnnotation=_getTypeAnnotation;t.isBaseType=isBaseType;t.couldBeBaseType=couldBeBaseType;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.isGenericType=isGenericType;var n=r(28311);var i=r(61127);function getTypeAnnotation(){if(this.typeAnnotation)return this.typeAnnotation;let e=this._getTypeAnnotation()||i.anyTypeAnnotation();if(i.isTypeAnnotation(e))e=e.typeAnnotation;return this.typeAnnotation=e}const s=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return i.stringTypeAnnotation()}if(e.key==="left"&&t.isForOfStatement()){return i.anyTypeAnnotation()}return i.voidTypeAnnotation()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(s.has(e)){return}s.add(e);try{var t;let r=n[e.type];if(r){return r.call(this,e)}r=n[this.parentPath.type];if((t=r)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{s.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,r){if(e==="string"){return i.isStringTypeAnnotation(t)}else if(e==="number"){return i.isNumberTypeAnnotation(t)}else if(e==="boolean"){return i.isBooleanTypeAnnotation(t)}else if(e==="any"){return i.isAnyTypeAnnotation(t)}else if(e==="mixed"){return i.isMixedTypeAnnotation(t)}else if(e==="empty"){return i.isEmptyTypeAnnotation(t)}else if(e==="void"){return i.isVoidTypeAnnotation(t)}else{if(r){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(i.isAnyTypeAnnotation(t))return true;if(i.isUnionTypeAnnotation(t)){for(const r of t.types){if(i.isAnyTypeAnnotation(r)||_isBaseType(e,r,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const r=e.getTypeAnnotation();if(!i.isAnyTypeAnnotation(t)&&i.isFlowBaseAnnotation(t)){return r.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();return i.isGenericTypeAnnotation(t)&&i.isIdentifier(t.id,{name:e})}},80503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(61127);function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return n.voidTypeAnnotation()}else if(e.name==="NaN"||e.name==="Infinity"){return n.numberTypeAnnotation()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,r){const i=[];const s=[];let a=getConstantViolationsBefore(e,t,s);const o=getConditionalAnnotation(e,t,r);if(o){const t=getConstantViolationsBefore(e,o.ifStatement);a=a.filter(e=>t.indexOf(e)<0);i.push(o.typeAnnotation)}if(a.length){a=a.concat(s);for(const e of a){i.push(e.getTypeAnnotation())}}if(!i.length){return}if(n.isTSTypeAnnotation(i[0])&&n.createTSUnionType){return n.createTSUnionType(i)}if(n.createFlowUnionType){return n.createFlowUnionType(i)}return n.createUnionTypeAnnotation(i)}function getConstantViolationsBefore(e,t,r){const n=e.constantViolations.slice();n.unshift(e.path);return n.filter(e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);if(r&&n==="unknown")r.push(e);return n==="before"})}function inferAnnotationFromBinaryExpression(e,t){const r=t.node.operator;const i=t.get("right").resolve();const s=t.get("left").resolve();let a;if(s.isIdentifier({name:e})){a=i}else if(i.isIdentifier({name:e})){a=s}if(a){if(r==="==="){return a.getTypeAnnotation()}if(n.BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(r)>=0){return n.numberTypeAnnotation()}return}if(r!=="==="&&r!=="==")return;let o;let l;if(s.isUnaryExpression({operator:"typeof"})){o=s;l=i}else if(i.isUnaryExpression({operator:"typeof"})){o=i;l=s}if(!o)return;if(!o.get("argument").isIdentifier({name:e}))return;l=l.resolve();if(!l.isLiteral())return;const u=l.node.value;if(typeof u!=="string")return;return n.createTypeAnnotationBasedOnTypeof(u)}function getParentConditionalPath(e,t,r){let n;while(n=t.parentPath){if(n.isIfStatement()||n.isConditionalExpression()){if(t.key==="test"){return}return n}if(n.isFunction()){if(n.parentPath.scope.getBinding(r)!==e)return}t=n}}function getConditionalAnnotation(e,t,r){const i=getParentConditionalPath(e,t,r);if(!i)return;const s=i.get("test");const a=[s];const o=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VariableDeclarator=VariableDeclarator;t.TypeCastExpression=TypeCastExpression;t.NewExpression=NewExpression;t.TemplateLiteral=TemplateLiteral;t.UnaryExpression=UnaryExpression;t.BinaryExpression=BinaryExpression;t.LogicalExpression=LogicalExpression;t.ConditionalExpression=ConditionalExpression;t.SequenceExpression=SequenceExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.AssignmentExpression=AssignmentExpression;t.UpdateExpression=UpdateExpression;t.StringLiteral=StringLiteral;t.NumericLiteral=NumericLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.RegExpLiteral=RegExpLiteral;t.ObjectExpression=ObjectExpression;t.ArrayExpression=ArrayExpression;t.RestElement=RestElement;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;t.CallExpression=CallExpression;t.TaggedTemplateExpression=TaggedTemplateExpression;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return i.default}});var n=r(61127);var i=r(80503);function VariableDeclarator(){var e;const t=this.get("id");if(!t.isIdentifier())return;const r=this.get("init");let n=r.getTypeAnnotation();if(((e=n)==null?void 0:e.type)==="AnyTypeAnnotation"){if(r.isCallExpression()&&r.get("callee").isIdentifier({name:"Array"})&&!r.scope.hasBinding("Array",true)){n=ArrayExpression()}}return n}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function NewExpression(e){if(this.get("callee").isIdentifier()){return n.genericTypeAnnotation(e.callee)}}function TemplateLiteral(){return n.stringTypeAnnotation()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return n.voidTypeAnnotation()}else if(n.NUMBER_UNARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.STRING_UNARY_OPERATORS.indexOf(t)>=0){return n.stringTypeAnnotation()}else if(n.BOOLEAN_UNARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}}function BinaryExpression(e){const t=e.operator;if(n.NUMBER_BINARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.BOOLEAN_BINARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return n.numberTypeAnnotation()}else if(t.isBaseType("string")||e.isBaseType("string")){return n.stringTypeAnnotation()}return n.unionTypeAnnotation([n.stringTypeAnnotation(),n.numberTypeAnnotation()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return n.numberTypeAnnotation()}}function StringLiteral(){return n.stringTypeAnnotation()}function NumericLiteral(){return n.numberTypeAnnotation()}function BooleanLiteral(){return n.booleanTypeAnnotation()}function NullLiteral(){return n.nullLiteralTypeAnnotation()}function RegExpLiteral(){return n.genericTypeAnnotation(n.identifier("RegExp"))}function ObjectExpression(){return n.genericTypeAnnotation(n.identifier("Object"))}function ArrayExpression(){return n.genericTypeAnnotation(n.identifier("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return n.genericTypeAnnotation(n.identifier("Function"))}const s=n.buildMatchMemberExpression("Array.from");const a=n.buildMatchMemberExpression("Object.keys");const o=n.buildMatchMemberExpression("Object.values");const l=n.buildMatchMemberExpression("Object.entries");function CallExpression(){const{callee:e}=this.node;if(a(e)){return n.arrayTypeAnnotation(n.stringTypeAnnotation())}else if(s(e)||o(e)){return n.arrayTypeAnnotation(n.anyTypeAnnotation())}else if(l(e)){return n.arrayTypeAnnotation(n.tupleTypeAnnotation([n.stringTypeAnnotation(),n.anyTypeAnnotation()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){if(e.is("async")){if(e.is("generator")){return n.genericTypeAnnotation(n.identifier("AsyncIterator"))}else{return n.genericTypeAnnotation(n.identifier("Promise"))}}else{if(e.node.returnType){return e.node.returnType}else{}}}}},99702:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.matchesPattern=matchesPattern;t.has=has;t.isStatic=isStatic;t.isnt=isnt;t.equals=equals;t.isNodeType=isNodeType;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.isCompletionRecord=isCompletionRecord;t.isStatementOrBlock=isStatementOrBlock;t.referencesImport=referencesImport;t.getSource=getSource;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._guessExecutionStatusRelativeToDifferentFunctions=_guessExecutionStatusRelativeToDifferentFunctions;t.resolve=resolve;t._resolve=_resolve;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.is=void 0;var n=r(61127);function matchesPattern(e,t){return n.matchesPattern(this.node,e,t)}function has(e){const t=this.node&&this.node[e];if(t&&Array.isArray(t)){return!!t.length}else{return!!t}}function isStatic(){return this.scope.isStatic(this.node)}const i=has;t.is=i;function isnt(e){return!this.has(e)}function equals(e,t){return this.node[e]===t}function isNodeType(e){return n.isType(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return n.isBlockStatement(e)}else if(this.isBlockStatement()){return n.isExpression(e)}return false}function isCompletionRecord(e){let t=this;let r=true;do{const n=t.container;if(t.isFunction()&&!r){return!!e}r=false;if(Array.isArray(n)&&t.key!==n.length-1){return false}}while((t=t.parentPath)&&!t.isProgram());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||n.isBlockStatement(this.container)){return false}else{return n.STATEMENT_OR_BLOCK_KEYS.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if((this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?n.isStringLiteral(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return false;const i=r.path;const s=i.parentPath;if(!s.isImportDeclaration())return false;if(s.node.source.value===e){if(!t)return true}else{return false}if(i.isImportDefaultSpecifier()&&t==="default"){return true}if(i.isImportNamespaceSpecifier()&&t==="*"){return true}if(i.isImportSpecifier()&&n.isIdentifier(i.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return(e.scope.getFunctionParent()||e.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let r=0;r=0)return"after";if(r.this.indexOf(e)>=0)return"before";let i;const s={target:0,this:0};while(!i&&s.this=0){i=e}else{s.this++}}if(!i){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(r.this,s.this-1)||isExecutionUncertainInList(r.target,s.target-1)){return"unknown"}const a={this:r.this[s.this-1],target:r.target[s.target-1]};if(a.target.listKey&&a.this.listKey&&a.target.container===a.this.container){return a.target.key>a.this.key?"before":"after"}const o=n.VISITOR_KEYS[i.type];const l={this:o.indexOf(a.this.parentKey),target:o.indexOf(a.target.parentKey)};return l.target>l.this?"before":"after"}const s=new WeakSet;function _guessExecutionStatusRelativeToDifferentFunctions(e){if(!e.isFunctionDeclaration()||e.parentPath.isExportDeclaration()){return"unknown"}const t=e.scope.getBinding(e.node.id.name);if(!t.references)return"before";const r=t.referencePaths;let n;for(const t of r){const r=!!t.find(t=>t.node===e.node);if(r)continue;if(t.key!=="callee"||!t.parentPath.isCallExpression()){return"unknown"}if(s.has(t.node))continue;s.add(t.node);const i=this._guessExecutionStatusRelativeTo(t);s.delete(t.node);if(n&&n!==i){return"unknown"}else{n=i}}return n}function resolve(e,t){return this._resolve(e,t)||this}function _resolve(e,t){if(t&&t.indexOf(this)>=0)return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if(r.kind==="module")return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find(e=>e.node===n.node))return;return n}}else if(this.isTypeCastExpression()){return this.get("expression").resolve(e,t)}else if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!n.isLiteral(r))return;const i=r.value;const s=this.get("object").resolve(e,t);if(s.isObjectExpression()){const r=s.get("properties");for(const n of r){if(!n.isProperty())continue;const r=n.get("key");let s=n.isnt("computed")&&r.isIdentifier({name:i});s=s||r.isLiteral({value:i});if(s)return n.get("value").resolve(e,t)}}else if(s.isArrayExpression()&&!isNaN(+i)){const r=s.get("elements");const n=r[i];if(n)return n.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every(e=>e.isConstantExpression())}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find(e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(!e.isProgram()&&!e.isFunction())return false;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}const t=e.isFunction()?e.node.body:e.node;for(const e of t.directives){if(e.value.value==="use strict"){return true}}});return!!t}},44881:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(61127);const i={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&n.react.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);if(r)t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);if(!r)return;for(const n of r.constantViolations){if(n.scope!==r.path.scope){t.mutableBinding=true;e.stop();return}}if(r!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=r}};class PathHoister{constructor(e,t){this.breakOnScopePaths=void 0;this.bindings=void 0;this.mutableBinding=void 0;this.scopes=void 0;this.scope=void 0;this.path=void 0;this.attachAfter=void 0;this.breakOnScopePaths=[];this.bindings={};this.mutableBinding=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.indexOf(e.path)>=0){break}}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e){t=e.scope.parent}if(t.path.isProgram()||t.path.isFunction()){for(const r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if(n.kind==="param"||n.path.parentKey==="params"){continue}const i=this.getAttachmentParentForPath(n.path);if(i.key>=e.key){this.attachAfter=true;e=n.path;for(const t of n.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const r=[function(e,t){const r=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(r){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&(e.key==="consequent"||e.key==="alternate")||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}];t.hooks=r},68601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ForAwaitStatement=t.NumericLiteralTypeAnnotation=t.ExistentialTypeParam=t.SpreadProperty=t.RestProperty=t.Flow=t.Pure=t.Generated=t.User=t.Var=t.BlockScoped=t.Referenced=t.Scope=t.Expression=t.Statement=t.BindingIdentifier=t.ReferencedMemberExpression=t.ReferencedIdentifier=void 0;var n=r(61127);const i={types:["Identifier","JSXIdentifier"],checkPath(e,t){const{node:r,parent:i}=e;if(!n.isIdentifier(r,t)&&!n.isJSXMemberExpression(i,t)){if(n.isJSXIdentifier(r,t)){if(n.react.isCompatTag(r.name))return false}else{return false}}return n.isReferenced(r,i,e.parentPath.parent)}};t.ReferencedIdentifier=i;const s={types:["MemberExpression"],checkPath({node:e,parent:t}){return n.isMemberExpression(e)&&n.isReferenced(e,t)}};t.ReferencedMemberExpression=s;const a={types:["Identifier"],checkPath(e){const{node:t,parent:r}=e;const i=e.parentPath.parent;return n.isIdentifier(t)&&n.isBinding(t,r,i)}};t.BindingIdentifier=a;const o={types:["Statement"],checkPath({node:e,parent:t}){if(n.isStatement(e)){if(n.isVariableDeclaration(e)){if(n.isForXStatement(t,{left:e}))return false;if(n.isForStatement(t,{init:e}))return false}return true}else{return false}}};t.Statement=o;const l={types:["Expression"],checkPath(e){if(e.isIdentifier()){return e.isReferencedIdentifier()}else{return n.isExpression(e.node)}}};t.Expression=l;const u={types:["Scopable","Pattern"],checkPath(e){return n.isScope(e.node,e.parent)}};t.Scope=u;const p={checkPath(e){return n.isReferenced(e.node,e.parent)}};t.Referenced=p;const c={checkPath(e){return n.isBlockScoped(e.node)}};t.BlockScoped=c;const f={types:["VariableDeclaration"],checkPath(e){return n.isVar(e.node)}};t.Var=f;const d={checkPath(e){return e.node&&!!e.node.loc}};t.User=d;const y={checkPath(e){return!e.isUser()}};t.Generated=y;const h={checkPath(e,t){return e.scope.isPure(e.node,t)}};t.Pure=h;const m={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath({node:e}){if(n.isFlow(e)){return true}else if(n.isImportDeclaration(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(n.isExportDeclaration(e)){return e.exportKind==="type"}else if(n.isImportSpecifier(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}};t.Flow=m;const T={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectPattern()}};t.RestProperty=T;const S={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectExpression()}};t.SpreadProperty=S;const b={types:["ExistsTypeAnnotation"]};t.ExistentialTypeParam=b;const E={types:["NumberLiteralTypeAnnotation"]};t.NumericLiteralTypeAnnotation=E;const g={types:["ForOfStatement"],checkPath({node:e}){return e.await===true}};t.ForAwaitStatement=g},82646:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.insertBefore=insertBefore;t._containerInsert=_containerInsert;t._containerInsertBefore=_containerInsertBefore;t._containerInsertAfter=_containerInsertAfter;t.insertAfter=insertAfter;t.updateSiblingKeys=updateSiblingKeys;t._verifyNodeList=_verifyNodeList;t.unshiftContainer=unshiftContainer;t.pushContainer=pushContainer;t.hoist=hoist;var n=r(68273);var i=r(44881);var s=r(60875);var a=r(61127);function insertBefore(e){this._assertUnremoved();const t=this._verifyNodeList(e);const{parentPath:r}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||r.isExportNamedDeclaration()||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertBefore(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.unshiftContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function _containerInsert(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let n=0;n{return a.isExpression(e)?a.expressionStatement(e):e}))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){const e=this.node;let{scope:n}=this;if(n.path.isPattern()){a.assertExpression(e);this.replaceWith(a.callExpression(a.arrowFunctionExpression([],e),[]));this.get("callee.body").insertAfter(t);return[this]}if(r.isMethod({computed:true,key:e})){n=n.parent}const i=n.generateDeclaredUidIdentifier();t.unshift(a.expressionStatement(a.assignmentExpression("=",a.cloneNode(i),e)));t.push(a.expressionStatement(a.cloneNode(i)))}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertAfter(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.pushContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(const[,n]of r){if(n.key>=e){n.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.remove=remove;t._removeFromScope=_removeFromScope;t._callRemovalHooks=_callRemovalHooks;t._remove=_remove;t._markRemoved=_markRemoved;t._assertUnremoved=_assertUnremoved;var n=r(16547);var i=r(68273);var s=r(60875);function remove(){var e;this._assertUnremoved();this.resync();if(!((e=this.opts)!=null&&e.noScope)){this._removeFromScope()}if(this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings();this._remove();this._markRemoved()}function _removeFromScope(){const e=this.getBindingIdentifiers();Object.keys(e).forEach(e=>this.scope.removeBinding(e))}function _callRemovalHooks(){for(const e of n.hooks){if(e(this,this.parentPath))return true}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);this.updateSiblingKeys(this.key,-1)}else{this._replaceWith(null)}}function _markRemoved(){this._traverseFlags|=s.SHOULD_SKIP|s.REMOVED;if(this.parent)i.path.get(this.parent).delete(this.node);this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},16783:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;t.replaceWith=replaceWith;t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;var n=r(5200);var i=r(1125);var s=r(60875);var a=r(68273);var o=r(33357);var l=r(61127);var u=r(28497);function replaceWithMultiple(e){var t;this.resync();e=this._verifyNodeList(e);l.inheritLeadingComments(e[0],this.node);l.inheritTrailingComments(e[e.length-1],this.node);(t=a.path.get(this.parent))==null?void 0:t.delete(this.node);this.node=this.container[this.key]=null;const r=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return r}function replaceWithSourceString(e){this.resync();try{e=`(${e})`;e=(0,o.parse)(e)}catch(t){const r=t.loc;if(r){t.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}});t.code="BABEL_REPLACE_SOURCE_ERROR"}throw t}e=e.program.body[0].expression;i.default.removeProperties(e);return this.replaceWith(e)}function replaceWith(e){this.resync();if(this.removed){throw new Error("You can't replace this node, we've already removed it")}if(e instanceof s.default){e=e.node}if(!e){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===e){return[this]}if(this.isProgram()&&!l.isProgram(e)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(e)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof e==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let t="";if(this.isNodeType("Statement")&&l.isExpression(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)&&!this.parentPath.isExportDefaultDeclaration()){e=l.expressionStatement(e);t="expression"}}if(this.isNodeType("Expression")&&l.isStatement(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)){return this.replaceExpressionWithStatements([e])}}const r=this.node;if(r){l.inheritsComments(e,r);l.removeComments(r)}this._replaceWith(e);this.type=e.type;this.setScope();this.requeue();return[t?this.get(t):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){l.validate(this.parent,this.key,[e])}else{l.validate(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=a.path.get(this.parent))==null?void 0:t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){this.resync();const t=l.toSequenceExpression(e,this.scope);if(t){return this.replaceWith(t)[0].get("expressions")}const r=this.getFunctionParent();const n=r==null?void 0:r.is("async");const s=r==null?void 0:r.is("generator");const a=l.arrowFunctionExpression([],l.blockStatement(e));this.replaceWith(l.callExpression(a,[]));const o=this.get("callee");(0,u.default)(o.get("body"),e=>{this.scope.push({id:e})},"var");const p=this.get("callee").getCompletionRecords();for(const e of p){if(!e.isExpressionStatement())continue;const t=e.findParent(e=>e.isLoop());if(t){let r=t.getData("expressionReplacementReturnUid");if(!r){r=o.scope.generateDeclaredUidIdentifier("ret");o.get("body").pushContainer("body",l.returnStatement(l.cloneNode(r)));t.setData("expressionReplacementReturnUid",r)}else{r=l.identifier(r.name)}e.get("expression").replaceWith(l.assignmentExpression("=",l.cloneNode(r),e.node.expression))}else{e.replaceWith(l.returnStatement(e.node.expression))}}o.arrowFunctionToExpression();const c=o;const f=n&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",l.FUNCTION_TYPES);const d=s&&i.default.hasType(this.get("callee.body").node,"YieldExpression",l.FUNCTION_TYPES);if(f){c.set("async",true);if(!d){this.replaceWith(l.awaitExpression(this.node))}}if(d){c.set("generator",true);this.replaceWith(l.yieldExpression(this.node,true))}return c.get("body.body")}function replaceInline(e){this.resync();if(Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},27959:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Binding{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0;this.scope=void 0;this.path=void 0;this.kind=void 0;this.constantViolations=[];this.constant=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=r;this.kind=n;this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.indexOf(e)!==-1){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.indexOf(e)!==-1){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t.default=Binding},21667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(77358);var i=r(1125);var s=r(27959);var a=r(41389);var o=r(61127);var l=r(68273);function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(o.isModuleDeclaration(e)){if((o.isExportAllDeclaration(e)||o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.source){gatherNodeParts(e.source,t)}else if((o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.specifiers&&e.specifiers.length){for(const r of e.specifiers)gatherNodeParts(r,t)}else if((o.isExportDefaultDeclaration(e)||o.isExportNamedDeclaration(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(o.isModuleSpecifier(e)){gatherNodeParts(e.local,t)}else if(o.isLiteral(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const r of e.properties){gatherNodeParts(r,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":t.push(e.name);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}const u={For(e){for(const t of o.FOR_INIT_KEYS){const r=e.get(t);if(r.isVar()){const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerBinding("var",r)}}},Declaration(e){if(e.isBlockScoped())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier()){t.constantViolations.push(e)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(o.isExportAllDeclaration(t))return;const n=t.declaration;if(o.isClassDeclaration(n)||o.isFunctionDeclaration(n)){const t=n.id;if(!t)return;const i=r.getBinding(t.name);if(i)i.reference(e)}else if(o.isVariableDeclaration(n)){for(const t of n.declarations){for(const n of Object.keys(o.getBindingIdentifiers(t))){const t=r.getBinding(n);if(t)t.reference(e)}}}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const r=t.getBlockParent();r.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){if(e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e.get("id"),e)}const t=e.get("params");for(const r of t){e.scope.registerBinding("param",r)}},ClassExpression(e){if(e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e)}}};let p=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.labels=void 0;this.inited=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const r=l.scope.get(t);if((r==null?void 0:r.path)===e){return r}l.scope.set(t,this);this.uid=p++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,r=this.path;do{const e=r.key==="key";r=r.parentPath;if(e&&r.isMethod())r=r.parentPath;if(r&&r.isScope())t=r}while(r&&!t);return(e=t)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,i.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return o.cloneNode(t)}generateUidIdentifier(e){return o.identifier(this.generateUid(e))}generateUid(e="temp"){e=o.toIdentifier(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let t;let r=1;do{t=this._generateUid(e,r);r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();n.references[t]=true;n.uids[t]=true;return t}_generateUid(e,t){let r=e;if(t>1)r+=t;return`_${r}`}generateUidBasedOnNode(e,t){const r=[];gatherNodeParts(e,r);let n=r.join("$");n=n.replace(/^_/,"")||t||"ref";return this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return o.identifier(this.generateUidBasedOnNode(e,t))}isStatic(e){if(o.isThisExpression(e)||o.isSuper(e)){return true}if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const r=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:r});return o.cloneNode(r)}return r}}checkBlockScopedCollisions(e,t,r,n){if(t==="param")return;if(e.kind==="local")return;const i=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&(t==="let"||t==="const");if(i){throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}}rename(e,t,r){const i=this.getBinding(e);if(i){t=t||this.generateUidIdentifier(e).name;return new n.default(i,e,t).rename(r)}}_renameFromMap(e,t,r,n){if(e[t]){e[r]=n;e[t]=null}}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,r){if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(o.isArrayExpression(e)){return e}if(o.isIdentifier(e,{name:"arguments"})){return o.callExpression(o.memberExpression(o.memberExpression(o.memberExpression(o.identifier("Array"),o.identifier("prototype")),o.identifier("slice")),o.identifier("call")),[e])}let n;const i=[e];if(t===true){n="toConsumableArray"}else if(t){i.push(o.numericLiteral(t));n="slicedToArray"}else{n="toArray"}if(r){i.unshift(this.hub.addHelper(n));n="maybeArrayLike"}return o.callExpression(this.hub.addHelper(n),i)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement()){this.registerLabel(e)}else if(e.isFunctionDeclaration()){this.registerBinding("hoisted",e.get("id"),e)}else if(e.isVariableDeclaration()){const t=e.get("declarations");for(const r of t){this.registerBinding(e.node.kind,r)}}else if(e.isClassDeclaration()){this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.get("specifiers");for(const e of t){this.registerBinding("module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return o.unaryExpression("void",o.numericLiteral(0),true)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const t=this.getBinding(r);if(t)t.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r){this.registerBinding(e,t)}return}const n=this.getProgramParent();const i=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(i)){n.references[t]=true;for(const n of i[t]){const i=this.getOwnBinding(t);if(i){if(i.identifier===n)continue;this.checkBlockScopedCollisions(i,e,t,n)}if(i){this.registerConstantViolation(r)}else{this.bindings[t]=new s.default({identifier:n,scope:this,path:r,kind:e})}}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(o.isIdentifier(e)){const r=this.getBinding(e.name);if(!r)return false;if(t)return r.constant;return true}else if(o.isClass(e)){if(e.superClass&&!this.isPure(e.superClass,t)){return false}return this.isPure(e.body,t)}else if(o.isClassBody(e)){for(const r of e.body){if(!this.isPure(r,t))return false}return true}else if(o.isBinary(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(o.isArrayExpression(e)){for(const r of e.elements){if(!this.isPure(r,t))return false}return true}else if(o.isObjectExpression(e)){for(const r of e.properties){if(!this.isPure(r,t))return false}return true}else if(o.isMethod(e)){if(e.computed&&!this.isPure(e.key,t))return false;if(e.kind==="get"||e.kind==="set")return false;return true}else if(o.isProperty(e)){if(e.computed&&!this.isPure(e.key,t))return false;return this.isPure(e.value,t)}else if(o.isUnaryExpression(e)){return this.isPure(e.argument,t)}else if(o.isTaggedTemplateExpression(e)){return o.matchesPattern(e.tag,"String.raw")&&!this.hasBinding("String",true)&&this.isPure(e.quasi,t)}else if(o.isTemplateLiteral(e)){for(const r of e.expressions){if(!this.isPure(r,t))return false}return true}else{return o.isPureish(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(r!=null)return r}while(t=t.parent)}removeData(e){let t=this;do{const r=t.data[e];if(r!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;this.references=Object.create(null);this.bindings=Object.create(null);this.globals=Object.create(null);this.uids=Object.create(null);this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const r={references:[],constantViolations:[],assignments:[]};this.crawling=true;if(e.type!=="Program"&&u._exploded){for(const t of u.enter){t(e,r)}const t=u[e.type];if(t){for(const n of t.enter){n(e,r)}}}e.traverse(u,r);this.crawling=false;for(const e of r.assignments){const r=e.getBindingIdentifiers();for(const n of Object.keys(r)){if(e.scope.getBinding(n))continue;t.addGlobal(r[n])}e.scope.registerConstantViolation(e)}for(const e of r.references){const r=e.scope.getBinding(e.node.name);if(r){r.reference(e)}else{t.addGlobal(e.node)}}for(const e of r.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const r=e.unique;const n=e.kind||"var";const i=e._blockHoist==null?2:e._blockHoist;const s=`declaration:${n}:${i}`;let a=!r&&t.getData(s);if(!a){const e=o.variableDeclaration(n,[]);e._blockHoist=i;[a]=t.unshiftContainer("body",[e]);if(!r)t.setData(s,a)}const l=o.variableDeclarator(e.id,e.init);a.node.declarations.push(l);this.registerBinding(n,a.get("declarations").pop())}getProgramParent(){let e=this;do{if(e.path.isProgram()){return e}}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent()){return e}}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent()){return e}}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const r of Object.keys(t.bindings)){if(r in e===false){e[r]=t.bindings[r]}}t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const i=e.bindings[n];if(i.kind===r)t[n]=i}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let r;do{const i=t.getOwnBinding(e);if(i){var n;if((n=r)!=null&&n.isPattern()&&i.kind!=="param"){}else{return i}}r=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return false;if(this.hasOwnBinding(e))return true;if(this.parentHasBinding(e,t))return true;if(this.hasUid(e))return true;if(!t&&Scope.globals.includes(e))return true;if(!t&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);if(r){r.scope.removeOwnBinding(e);r.scope=t;t.bindings[e]=r}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null?void 0:t.scope.removeOwnBinding(e);let r=this;do{if(r.uids[e]){r.uids[e]=false}}while(r=r.parent)}}t.default=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},77358:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(27959);var i=r(76729);var s=r(61127);const a={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){skipAllButComputedMethodKey(e)}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.getOuterBindingIdentifiers();for(const e in r){if(e===t.oldName)r[e].name=t.newName}}};class Renamer{constructor(e,t,r){this.newName=r;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()&&!t.get("declaration").node.id){return}(0,i.default)(t)}maybeConvertFromClassFunctionDeclaration(e){return;if(!e.isFunctionDeclaration()&&!e.isClassDeclaration())return;if(this.binding.kind!=="hoisted")return;e.node.id=s.identifier(this.oldName);e.node._blockHoist=3;e.replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.identifier(this.newName),s.toExpression(e.node))]))}maybeConvertFromClassFunctionExpression(e){return;if(!e.isFunctionExpression()&&!e.isClassExpression())return;if(this.binding.kind!=="local")return;e.node.id=s.identifier(this.oldName);this.binding.scope.parent.push({id:s.identifier(this.newName)});e.replaceWith(s.assignmentExpression("=",s.identifier(this.newName),e.node))}rename(e){const{binding:t,oldName:r,newName:n}=this;const{scope:i,path:s}=t;const o=s.find(e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression());if(o){const e=o.getOuterBindingIdentifiers();if(e[r]===t.identifier){this.maybeConvertFromExportDeclaration(o)}}const l=e||i.block;if((l==null?void 0:l.type)==="SwitchStatement"){l.cases.forEach(e=>{i.traverse(e,a,this)})}else{i.traverse(l,a,this)}if(!e){i.removeOwnBinding(r);i.bindings[n]=t;this.binding.identifier.name=n}if(o){this.maybeConvertFromClassFunctionDeclaration(o);this.maybeConvertFromClassFunctionExpression(o)}}}t.default=Renamer;function skipAllButComputedMethodKey(e){if(!e.isMethod()||!e.node.computed){e.skip();return}const t=s.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}},36363:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.explode=explode;t.verify=verify;t.merge=merge;var n=r(68601);var i=r(61127);function explode(e){if(e._exploded)return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=t.split("|");if(r.length===1)continue;const n=e[t];delete e[t];for(const t of r){e[t]=n}}verify(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=n[t];if(!r)continue;const i=e[t];for(const e of Object.keys(i)){i[e]=wrapCheck(r,i[e])}delete e[t];if(r.types){for(const t of r.types){if(e[t]){mergePair(e[t],i)}else{e[t]=i}}}else{mergePair(e,i)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];let n=i.FLIPPED_ALIAS_KEYS[t];const s=i.DEPRECATED_KEYS[t];if(s){console.trace(`Visitor defined for ${t} but it has been renamed to ${s}`);n=[s]}if(!n)continue;delete e[t];for(const t of n){const n=e[t];if(n){mergePair(n,r)}else{e[t]=Object.assign({},r)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify(e){if(e._verified)return;if(typeof e==="function"){throw new Error("You passed `traverse()` a function when it expected a visitor object, "+"are you sure you didn't mean `{ enter: Function }`?")}for(const t of Object.keys(e)){if(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(i.TYPES.indexOf(t)<0){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`)}const r=e[t];if(typeof r==="object"){for(const e of Object.keys(r)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,r[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const r=[].concat(t);for(const t of r){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],r){const n={};for(let i=0;ie.toString())}return n});n[i]=s}return n}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];if(typeof r==="function"){e[t]={enter:r}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const r=function(r){if(e.checkPath(r)){return t.apply(this,arguments)}};r.toString=(()=>t.toString());return r}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"){return true}return false}function mergePair(e,t){for(const r of Object.keys(t)){e[r]=[].concat(e[r]||[],t[r])}}},5945:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(92744);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},15793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(34785);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},7005:()=>{},33344:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(93761);var i=r(47531);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(35722);var i=r(16574);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},12291:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(35722);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},35722:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(33344);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},6717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(35722)},95349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(64190);var i=r(3878);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(35722);var i=r(45210);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},99568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(84269);function clone(e){return(0,n.default)(e,false)}},70265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(84269);function cloneDeep(e){return(0,n.default)(e)}},75080:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(84269);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},84269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(93761);var i=r(64190);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},61545:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(84269);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},66628:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(88629);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},88629:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},99582:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(67082);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},81178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(67082);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},94805:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(67082);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},54112:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(94805);var i=r(81178);var s=r(99582);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},16919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(64596);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},88210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(93761);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},64596:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},73363:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(83691);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},43508:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(8004);var i=r(64190);var s=r(35722);var a=r(84269);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},51779:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(84004);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},83691:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(64190);var i=r(35722);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},15521:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(64190);var i=r(35722);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},41661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64190);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},84004:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(774);var i=r(8978);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},57675:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(64190);var i=r(84269);var s=r(1712);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},80589:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(43508);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},43643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64190);var i=r(35722);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},74284:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(774);var i=r(35722);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},22485:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(34785);var i=r(774);var s=r(8978);var a=r(64596);var o=r(98033);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},18885:(e,t,r)=>{"use strict";var n=r(98033);var i=r(22485);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},95006:(e,t,r)=>{"use strict";var n=r(98033);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:false},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"))}})},93761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(22485);r(95006);r(7710);r(16026);r(18885);r(2484);var i=r(98033);var s=r(96091);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},7710:(e,t,r)=>{"use strict";var n=r(98033);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},16026:(e,t,r)=>{"use strict";var n=r(98033);var i=r(96091);{(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")}}})},96091:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(98033);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},2484:(e,t,r)=>{"use strict";var n=r(98033);var i=r(22485);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},98033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(34785);var i=r(47531);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},61127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(90560);var s=r(42323);var a=r(95349);var o=r(5945);var l=r(15793);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(12291);var p=r(82542);var c=r(98090);var f=r(35722);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(6717);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(84269);var h=r(99568);var m=r(70265);var T=r(75080);var S=r(61545);var b=r(66628);var E=r(88629);var g=r(99582);var x=r(81178);var P=r(54112);var A=r(94805);var v=r(16919);var O=r(88210);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(64596);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(73363);var D=r(51779);var N=r(83691);var C=r(15521);var j=r(41661);var _=r(84004);var L=r(57675);var k=r(80589);var B=r(43643);var M=r(74284);var F=r(93761);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(27338);var K=r(87073);var V=r(4451);var U=r(52584);var X=r(1712);var J=r(16574);var Y=r(8004);var W=r(65725);var q=r(60404);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(2843);var H=r(44260);var G=r(34785);var $=r(23021);var Q=r(44332);var Z=r(64348);var ee=r(66944);var te=r(92744);var re=r(72263);var ne=r(33674);var ie=r(94482);var se=r(30733);var ae=r(36064);var oe=r(61977);var le=r(57111);var ue=r(774);var pe=r(97128);var ce=r(31724);var fe=r(47531);var de=r(43248);var ye=r(64190);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(7005);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},27338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(35722);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},16574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(64190);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},87073:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(64596);var i=r(54112);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},4451:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(35722);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},52584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(64596);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},1712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(2843);var i=r(52584);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},45210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(64190);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},8004:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(64190);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8004);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},60404:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(93761);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(93761);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},67082:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},3878:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(35722);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},43248:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(31724);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},64190:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(44260);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},34785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(44260);var i=r(61977);var s=r(33674);var a=r(93761);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},23021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(8004);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},44332:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(64190);var i=r(66944);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},64348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(61977);var i=r(64190);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},66944:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(64190);var i=r(64596);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},92744:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(93761);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},72263:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(93761);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(93761);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},94482:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},30733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(64190);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},36064:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(64190);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},61977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(93761);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},57111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(774);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(8978);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},97128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(64190);var i=r(64596);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},31724:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(64190);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},90560:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(43248);const i=(0,n.default)("React.Component");var s=i;t.default=s},47531:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(93761);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},79874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(53284);var i=r(85622);var s=r(83431);var a=r(85850);const o=(0,a.template)(`\n GLOBAL_REFERENCE = GLOBAL_REFERENCE || {}\n`);const l=(0,a.template)(`\n (function (global, factory) {\n if (typeof define === "function" && define.amd) {\n define(MODULE_NAME, AMD_ARGUMENTS, factory);\n } else if (typeof exports !== "undefined") {\n factory(COMMONJS_ARGUMENTS);\n } else {\n var mod = { exports: {} };\n factory(BROWSER_ARGUMENTS);\n\n GLOBAL_TO_ASSIGN;\n }\n })(\n typeof globalThis !== "undefined" ? globalThis\n : typeof self !== "undefined" ? self\n : this,\n function(IMPORT_NAMES) {\n })\n`);var u=(0,n.declare)((e,t)=>{var r,n;e.assertVersion(7);const{globals:u,exactGlobals:p,allowTopLevelThis:c,strict:f,strictMode:d,noInterop:y,importInterop:h}=t;const m=(r=e.assumption("constantReexports"))!=null?r:t.loose;const T=(n=e.assumption("enumerableModuleMeta"))!=null?n:t.loose;function buildBrowserInit(e,t,r,n){const s=n?n.value:(0,i.basename)(r,(0,i.extname)(r));let l=a.types.memberExpression(a.types.identifier("global"),a.types.identifier(a.types.toIdentifier(s)));let u=[];if(t){const t=e[s];if(t){u=[];const e=t.split(".");l=e.slice(1).reduce((e,t)=>{u.push(o({GLOBAL_REFERENCE:a.types.cloneNode(e)}));return a.types.memberExpression(e,a.types.identifier(t))},a.types.memberExpression(a.types.identifier("global"),a.types.identifier(e[0])))}}u.push(a.types.expressionStatement(a.types.assignmentExpression("=",l,a.types.memberExpression(a.types.identifier("mod"),a.types.identifier("exports")))));return u}function buildBrowserArg(e,t,r){let n;if(t){const t=e[r];if(t){n=t.split(".").reduce((e,t)=>a.types.memberExpression(e,a.types.identifier(t)),a.types.identifier("global"))}else{n=a.types.memberExpression(a.types.identifier("global"),a.types.identifier(a.types.toIdentifier(r)))}}else{const t=(0,i.basename)(r,(0,i.extname)(r));const s=e[t]||t;n=a.types.memberExpression(a.types.identifier("global"),a.types.identifier(a.types.toIdentifier(s)))}return n}return{name:"transform-modules-umd",visitor:{Program:{exit(e){if(!(0,s.isModule)(e))return;const r=u||{};let n=(0,s.getModuleName)(this.file.opts,t);if(n)n=a.types.stringLiteral(n);const{meta:i,headers:o}=(0,s.rewriteModuleStatementsAndPrepareHeader)(e,{constantReexports:m,enumerableModuleMeta:T,strict:f,strictMode:d,allowTopLevelThis:c,noInterop:y,importInterop:h});const S=[];const b=[];const E=[];const g=[];if((0,s.hasExports)(i)){S.push(a.types.stringLiteral("exports"));b.push(a.types.identifier("exports"));E.push(a.types.memberExpression(a.types.identifier("mod"),a.types.identifier("exports")));g.push(a.types.identifier(i.exportName))}for(const[t,n]of i.source){S.push(a.types.stringLiteral(t));b.push(a.types.callExpression(a.types.identifier("require"),[a.types.stringLiteral(t)]));E.push(buildBrowserArg(r,p,t));g.push(a.types.identifier(n.name));if(!(0,s.isSideEffectImport)(n)){const t=(0,s.wrapInterop)(e,a.types.identifier(n.name),n.interop);if(t){const e=a.types.expressionStatement(a.types.assignmentExpression("=",a.types.identifier(n.name),t));e.loc=i.loc;o.push(e)}}o.push(...(0,s.buildNamespaceInitStatements)(i,n,m))}(0,s.ensureStatementsHoisted)(o);e.unshiftContainer("body",o);const{body:x,directives:P}=e.node;e.node.directives=[];e.node.body=[];const A=e.pushContainer("body",[l({MODULE_NAME:n,AMD_ARGUMENTS:a.types.arrayExpression(S),COMMONJS_ARGUMENTS:b,BROWSER_ARGUMENTS:E,IMPORT_NAMES:g,GLOBAL_TO_ASSIGN:buildBrowserInit(r,p,this.filename||"unknown",n)})])[0];const v=A.get("expression.arguments")[1].get("body");v.pushContainer("directives",P);v.pushContainer("body",x)}}}}});t.default=u},71236:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(49913);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const s=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},n,e.end);const{linesAbove:s=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=i.line;const p=i.column;let c=Math.max(o-(s+1),0);let f=Math.min(t.length,u+a);if(o===-1){c=0}if(u===-1){f=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:c,end:f,markerLines:y}}function codeFrameColumns(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const u=e.split(s);const{start:p,end:c,markerLines:f}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(c).length;const h=i?(0,n.default)(e,r):e;let m=h.split(s).slice(p,c).map((e,t)=>{const n=p+1+t;const i=` ${n}`.slice(-y);const s=` ${i} |`;const a=f[n];const u=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,s.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(i)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,s),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,s)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){m=`${" ".repeat(y+1)}${r.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}},64939:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;const r=/^[ \t]+$/;class Buffer{constructor(e){this._map=null;this._buf=[];this._last="";this._queue=[];this._position={line:1,column:0};this._sourcePosition={identifierName:null,line:null,column:null,filename:null};this._disallowedPop=null;this._map=e}get(){this._flush();const e=this._map;const t={code:this._buf.join("").trimRight(),map:null,rawMappings:e==null?void 0:e.getRawMappings()};if(e){Object.defineProperty(t,"map",{configurable:true,enumerable:true,get(){return this.map=e.get()},set(e){Object.defineProperty(this,"map",{value:e,writable:true})}})}return t}append(e){this._flush();const{line:t,column:r,filename:n,identifierName:i,force:s}=this._sourcePosition;this._append(e,t,r,i,n,s)}queue(e){if(e==="\n"){while(this._queue.length>0&&r.test(this._queue[0][0])){this._queue.shift()}}const{line:t,column:n,filename:i,identifierName:s,force:a}=this._sourcePosition;this._queue.unshift([e,t,n,s,i,a])}_flush(){let e;while(e=this._queue.pop()){this._append(...e)}}_append(e,t,r,n,i,s){this._buf.push(e);this._last=e[e.length-1];let a=e.indexOf("\n");let o=0;if(a!==0){this._mark(t,r,n,i,s)}while(a!==-1){this._position.line++;this._position.column=0;o=a+1;if(o0&&this._queue[0][0]==="\n"){this._queue.shift()}}removeLastSemicolon(){if(this._queue.length>0&&this._queue[0][0]===";"){this._queue.shift()}}endsWith(e){if(e.length===1){let t;if(this._queue.length>0){const e=this._queue[0][0];t=e[e.length-1]}else{t=this._last}return t===e}const t=this._last+this._queue.reduce((e,t)=>t[0]+e,"");if(e.length<=t.length){return t.slice(-e.length)===e}return false}hasContent(){return this._queue.length>0||!!this._last}exactSource(e,t){this.source("start",e,true);t();this.source("end",e);this._disallowPop("start",e)}source(e,t,r){if(e&&!t)return;this._normalizePosition(e,t,this._sourcePosition,r)}withSource(e,t,r){if(!this._map)return r();const n=this._sourcePosition.line;const i=this._sourcePosition.column;const s=this._sourcePosition.filename;const a=this._sourcePosition.identifierName;this.source(e,t);r();if((!this._sourcePosition.force||this._sourcePosition.line!==n||this._sourcePosition.column!==i||this._sourcePosition.filename!==s)&&(!this._disallowedPop||this._disallowedPop.line!==n||this._disallowedPop.column!==i||this._disallowedPop.filename!==s)){this._sourcePosition.line=n;this._sourcePosition.column=i;this._sourcePosition.filename=s;this._sourcePosition.identifierName=a;this._sourcePosition.force=false;this._disallowedPop=null}}_disallowPop(e,t){if(e&&!t)return;this._disallowedPop=this._normalizePosition(e,t)}_normalizePosition(e,t,r,n){const i=t?t[e]:null;if(r===undefined){r={identifierName:null,line:null,column:null,filename:null,force:false}}const s=r.line;const a=r.column;const o=r.filename;r.identifierName=e==="start"&&(t==null?void 0:t.identifierName)||null;r.line=i==null?void 0:i.line;r.column=i==null?void 0:i.column;r.filename=t==null?void 0:t.filename;if(n||r.line!==s||r.column!==a||r.filename!==o){r.force=n}return r}getCurrentColumn(){const e=this._queue.reduce((e,t)=>t[0]+e,"");const t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t}getCurrentLine(){const e=this._queue.reduce((e,t)=>t[0]+e,"");let t=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.File=File;t.Program=Program;t.BlockStatement=BlockStatement;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;var n=r(5022);function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){this.printInnerComments(e,false);this.printSequence(e.directives,e);if(e.directives&&e.directives.length)this.newline();this.printSequence(e.body,e)}function BlockStatement(e){var t;this.token("{");this.printInnerComments(e);const r=(t=e.directives)==null?void 0:t.length;if(e.body.length||r){this.newline();this.printSequence(e.directives,e,{indent:true});if(r)this.newline();this.printSequence(e.body,e,{indent:true});this.removeTrailingNewline();this.source("end",e.loc);if(!this.endsWith("\n"))this.newline();this.rightBrace()}else{this.source("end",e.loc);this.token("}")}}function Directive(e){this.print(e.value,e);this.semicolon()}const i=/(?:^|[^\\])(?:\\\\)*'/;const s=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t);return}const{value:r}=e;if(!s.test(r)){this.token(`"${r}"`)}else if(!i.test(r)){this.token(`'${r}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}\n`)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},21505:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassBody=ClassBody;t.ClassProperty=ClassProperty;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t._classMethodHead=_classMethodHead;t.StaticBlock=StaticBlock;var n=r(5022);function ClassDeclaration(e,t){if(!this.format.decoratorsBeforeExport||!n.isExportDefaultDeclaration(t)&&!n.isExportNamedDeclaration(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.token("{");this.printInnerComments(e);if(e.body.length===0){this.token("}")}else{this.newline();this.indent();this.printSequence(e.body,e);this.dedent();if(!this.endsWith("\n"))this.newline();this.rightBrace()}}function ClassProperty(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,true);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.token("?")}if(e.definite){this.token("!")}this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,false);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.token("{");if(e.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace()}}},26671:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UnaryExpression=UnaryExpression;t.DoExpression=DoExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.UpdateExpression=UpdateExpression;t.ConditionalExpression=ConditionalExpression;t.NewExpression=NewExpression;t.SequenceExpression=SequenceExpression;t.ThisExpression=ThisExpression;t.Super=Super;t.Decorator=Decorator;t.OptionalMemberExpression=OptionalMemberExpression;t.OptionalCallExpression=OptionalCallExpression;t.CallExpression=CallExpression;t.Import=Import;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.AssignmentPattern=AssignmentPattern;t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.BindExpression=BindExpression;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.PrivateName=PrivateName;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.ModuleExpression=ModuleExpression;t.AwaitExpression=t.YieldExpression=void 0;var n=r(5022);var i=r(72895);function UnaryExpression(e){if(e.operator==="void"||e.operator==="delete"||e.operator==="typeof"||e.operator==="throw"){this.word(e.operator);this.space()}else{this.token(e.operator)}this.print(e.argument,e)}function DoExpression(e){if(e.async){this.word("async");this.space()}this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.token("(");this.print(e.expression,e);this.token(")")}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.startTerminatorless(true);this.print(e.argument,e);this.endTerminatorless();this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.token("?");this.space();this.print(e.consequent,e);this.space();this.token(":");this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!n.isCallExpression(t,{callee:e})&&!n.isMemberExpression(t)&&!n.isNewExpression(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function Decorator(e){this.token("@");this.print(e.expression,e);this.newline()}function OptionalMemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(e.optional){this.token("?.")}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{if(!e.optional){this.token(".")}this.print(e.property,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.token("(");this.printList(e.arguments,e);this.token(")")}function Import(){this.word("import")}function buildYieldAwait(e){return function(t){this.word(e);if(t.delegate){this.token("*")}if(t.argument){this.space();const e=this.startTerminatorless();this.print(t.argument,t);this.endTerminatorless(e)}}}const s=buildYieldAwait("yield");t.YieldExpression=s;const a=buildYieldAwait("await");t.AwaitExpression=a;function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.token("?");this.print(e.left.typeAnnotation,e);this.space();this.token("=");this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!i.needsParens(e,t);if(r){this.token("(")}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.token(")")}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&n.isMemberExpression(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(n.isLiteral(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{this.token(".");this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.token(".");this.print(e.property,e)}function PrivateName(e){this.token("#");this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.token("%");this.word(e.name)}function ModuleExpression(e){this.word("module");this.space();this.token("{");if(e.body.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body.body,e,{indent:true});this.rightBrace()}}},69905:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareFunction=DeclareFunction;t.InferredPredicate=InferredPredicate;t.DeclaredPredicate=DeclaredPredicate;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareVariable=DeclareVariable;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.EnumDeclaration=EnumDeclaration;t.EnumBooleanBody=EnumBooleanBody;t.EnumNumberBody=EnumNumberBody;t.EnumStringBody=EnumStringBody;t.EnumSymbolBody=EnumSymbolBody;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumBooleanMember=EnumBooleanMember;t.EnumNumberMember=EnumNumberMember;t.EnumStringMember=EnumStringMember;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t._interfaceish=_interfaceish;t._variance=_variance;t.InterfaceDeclaration=InterfaceDeclaration;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;t.NumberTypeAnnotation=NumberTypeAnnotation;t.StringTypeAnnotation=StringTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeParameter=TypeParameter;t.OpaqueType=OpaqueType;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;t.IndexedAccessType=IndexedAccessType;t.OptionalIndexedAccessType=OptionalIndexedAccessType;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return s.NumericLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return s.StringLiteral}});var n=r(5022);var i=r(24263);var s=r(13715);function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e);this.token("[");this.token("]")}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.token("%");this.word("checks")}function DeclaredPredicate(e){this.token("%");this.word("checks");this.token("(");this.print(e.value,e);this.token(")")}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.token(".");this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!n.isDeclareExportDeclaration(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.apply(this,arguments)}function DeclareExportAllDeclaration(){this.word("declare");this.space();i.ExportAllDeclaration.apply(this,arguments)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}if(t.hasUnknownMembers){e.token("...");e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.token(",")}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{this.token("{");if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.token("}");if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.token("*")}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.token("(");if(e.this){this.word("this");this.token(":");this.space();this.print(e.this.typeAnnotation,e);if(e.params.length||e.rest){this.token(",");this.space()}}this.printList(e.params,e);if(e.rest){if(e.params.length){this.token(",");this.space()}this.token("...");this.print(e.rest,e)}this.token(")");if(t.type==="ObjectTypeCallProperty"||t.type==="DeclareFunction"||t.type==="ObjectTypeProperty"&&t.method){this.token(":")}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.token("?");if(e.name){this.token(":");this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e)}function _interfaceish(e){var t;this.print(e.id,e);this.print(e.typeParameters,e);if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.mixins&&e.mixins.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if(e.implements&&e.implements.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function _variance(e){if(e.variance){if(e.variance.kind==="plus"){this.token("+")}else if(e.variance.kind==="minus"){this.token("-")}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.token("&");this.space()}function InterfaceTypeAnnotation(e){this.word("interface");if(e.extends&&e.extends.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.token("?");this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.token("[");this.printList(e.types,e);this.token("]")}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.token("=");this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.token(":");this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.token("=");this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.token("{")}const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];if(t.length){this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.token(",");this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.token("}")}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.token("[");this.token("[");this.print(e.id,e);this.token("]");this.token("]");if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.token("[");if(e.id){this.print(e.id,e);this.token(":");this.space()}this.print(e.key,e);this.token("]");this.token(":");this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.token(".");this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.token("|");this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.token("(");this.print(e.expression,e);this.print(e.typeAnnotation,e);this.token(")")}function Variance(e){if(e.kind==="plus"){this.token("+")}else{this.token("-")}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function OptionalIndexedAccessType(e){this.print(e.objectType,e);if(e.optional){this.token("?.")}this.token("[");this.print(e.indexType,e);this.token("]")}},73086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(542);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})});var i=r(26671);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})});var s=r(98246);Object.keys(s).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})});var a=r(21505);Object.keys(a).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})});var o=r(74892);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})});var l=r(24263);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(13715);Object.keys(u).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})});var p=r(69905);Object.keys(p).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})});var c=r(57146);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var f=r(94860);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(30333);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})})},94860:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXIdentifier=JSXIdentifier;t.JSXNamespacedName=JSXNamespacedName;t.JSXMemberExpression=JSXMemberExpression;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;t.JSXElement=JSXElement;t.JSXOpeningElement=JSXOpeningElement;t.JSXClosingElement=JSXClosingElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXFragment=JSXFragment;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXClosingFragment=JSXClosingFragment;var n=r(5022);function JSXAttribute(e){this.print(e.name,e);if(e.value){this.token("=");this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.token(":");this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.token(".");this.print(e.property,e)}function JSXSpreadAttribute(e){this.token("{");this.token("...");this.print(e.argument,e);this.token("}")}function JSXExpressionContainer(e){this.token("{");this.print(e.expression,e);this.token("}")}function JSXSpreadChild(e){this.token("{");this.token("...");this.print(e.expression,e);this.token("}")}function JSXText(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t)}else{this.token(e.value)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.token("<");this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.token(">")}}function JSXClosingElement(e){this.token("")}function JSXEmptyExpression(e){this.printInnerComments(e)}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.token("<");this.token(">")}function JSXClosingFragment(){this.token("")}},74892:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._params=_params;t._parameters=_parameters;t._param=_param;t._methodHead=_methodHead;t._predicate=_predicate;t._functionHead=_functionHead;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;var n=r(5022);function _params(e){this.print(e.typeParameters,e);this.token("(");this._parameters(e.params,e);this.token(")");this.print(e.returnType,e)}function _parameters(e,t){for(let r=0;r");this.space();this.print(e.body,e)}function hasTypesOrComments(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}},24263:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImportSpecifier=ImportSpecifier;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportSpecifier=ExportSpecifier;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportAllDeclaration=ExportAllDeclaration;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ImportDeclaration=ImportDeclaration;t.ImportAttribute=ImportAttribute;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;var n=r(5022);function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.exported,e)}function ExportAllDeclaration(e){this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.token("*");this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e);this.semicolon()}function ExportNamedDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(e){if(this.format.decoratorsBeforeExport&&n.isClassDeclaration(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();this.word("default");this.space();ExportDeclaration.apply(this,arguments)}function ExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!n.isStatement(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const t=e.specifiers.slice(0);let r=false;for(;;){const i=t[0];if(n.isExportDefaultSpecifier(i)||n.isExportNamespaceSpecifier(i)){r=true;this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length||!t.length&&!r){this.token("{");if(t.length){this.space();this.printList(t,e);this.space()}this.token("}")}if(e.source){this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e)}this.semicolon()}}function ImportDeclaration(e){this.word("import");this.space();if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}const t=e.specifiers.slice(0);if(t!=null&&t.length){for(;;){const r=t[0];if(n.isImportDefaultSpecifier(r)||n.isImportNamespaceSpecifier(r)){this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length){this.token("{");this.space();this.printList(t,e);this.space();this.token("}")}this.space();this.word("from");this.space()}this.print(e.source,e);this.printAssertions(e);{var r;if((r=e.attributes)!=null&&r.length){this.space();this.word("with");this.space();this.printList(e.attributes,e)}}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.token(":");this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.local,e)}},98246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WithStatement=WithStatement;t.IfStatement=IfStatement;t.ForStatement=ForStatement;t.WhileStatement=WhileStatement;t.DoWhileStatement=DoWhileStatement;t.LabeledStatement=LabeledStatement;t.TryStatement=TryStatement;t.CatchClause=CatchClause;t.SwitchStatement=SwitchStatement;t.SwitchCase=SwitchCase;t.DebuggerStatement=DebuggerStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForOfStatement=t.ForInStatement=void 0;var n=r(5022);function WithStatement(e){this.word("with");this.space();this.token("(");this.print(e.object,e);this.token(")");this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.token("(");this.print(e.test,e);this.token(")");this.space();const t=e.alternate&&n.isIfStatement(getLastStatement(e.consequent));if(t){this.token("{");this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.token("}")}if(e.alternate){if(this.endsWith("}"))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){if(!n.isStatement(e.body))return e;return getLastStatement(e.body)}function ForStatement(e){this.word("for");this.space();this.token("(");this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.token(";");if(e.test){this.space();this.print(e.test,e)}this.token(";");if(e.update){this.space();this.print(e.update,e)}this.token(")");this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.printBlock(e)}const i=function(e){return function(t){this.word("for");this.space();if(e==="of"&&t.await){this.word("await");this.space()}this.token("(");this.print(t.left,t);this.space();this.word(e);this.space();this.print(t.right,t);this.token(")");this.printBlock(t)}};const s=i("in");t.ForInStatement=s;const a=i("of");t.ForOfStatement=a;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.semicolon()}function buildLabelStatement(e,t="label"){return function(r){this.word(e);const n=r[t];if(n){this.space();const e=t=="label";const i=this.startTerminatorless(e);this.print(n,r);this.endTerminatorless(i)}this.semicolon()}}const o=buildLabelStatement("continue");t.ContinueStatement=o;const l=buildLabelStatement("return","argument");t.ReturnStatement=l;const u=buildLabelStatement("break");t.BreakStatement=u;const p=buildLabelStatement("throw","argument");t.ThrowStatement=p;function LabeledStatement(e){this.print(e.label,e);this.token(":");this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.token("(");this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.token(")");this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.token("(");this.print(e.discriminant,e);this.token(")");this.space();this.token("{");this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.token("}")}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.token(":")}else{this.word("default");this.token(":")}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function variableDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<4;e++)this.space(true)}function constDeclarationIndent(){this.token(",");this.newline();if(this.endsWith("\n"))for(let e=0;e<6;e++)this.space(true)}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}this.word(e.kind);this.space();let r=false;if(!n.isFor(t)){for(const t of e.declarations){if(t.init){r=true}}}let i;if(r){i=e.kind==="const"?constDeclarationIndent:variableDeclarationIndent}this.printList(e.declarations,e,{separator:i});if(n.isFor(t)){if(n.isForStatement(t)){if(t.init===e)return}else{if(t.left===e)return}}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.token("!");this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.token("=");this.space();this.print(e.init,e)}}},542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;var n=r(5022);function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const i=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(i)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Identifier=Identifier;t.ArgumentPlaceholder=ArgumentPlaceholder;t.SpreadElement=t.RestElement=RestElement;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.RecordExpression=RecordExpression;t.TupleExpression=TupleExpression;t.RegExpLiteral=RegExpLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.StringLiteral=StringLiteral;t.BigIntLiteral=BigIntLiteral;t.DecimalLiteral=DecimalLiteral;t.PipelineTopicExpression=PipelineTopicExpression;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;var n=r(5022);var i=r(87504);function Identifier(e){this.exactSource(e.loc,()=>{this.word(e.name)})}function ArgumentPlaceholder(){this.token("?")}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.token("{");this.printInnerComments(e);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token("}")}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{if(n.isAssignmentPattern(e.value)&&n.isIdentifier(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&n.isIdentifier(e.key)&&n.isIdentifier(e.value)&&e.key.name===e.value.name){return}}this.token(":");this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.token("[");this.printInnerComments(e);for(let n=0;n0)this.space();this.print(i,e);if(n0)this.space();this.print(i,e);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypeParameter=TSTypeParameter;t.TSParameterProperty=TSParameterProperty;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSQualifiedName=TSQualifiedName;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSPropertySignature=TSPropertySignature;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.TSMethodSignature=TSMethodSignature;t.TSIndexSignature=TSIndexSignature;t.TSAnyKeyword=TSAnyKeyword;t.TSBigIntKeyword=TSBigIntKeyword;t.TSUnknownKeyword=TSUnknownKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSVoidKeyword=TSVoidKeyword;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSNullKeyword=TSNullKeyword;t.TSNeverKeyword=TSNeverKeyword;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSThisType=TSThisType;t.TSFunctionType=TSFunctionType;t.TSConstructorType=TSConstructorType;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.TSTypeReference=TSTypeReference;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeLiteral=TSTypeLiteral;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;t.tsPrintBraced=tsPrintBraced;t.TSArrayType=TSArrayType;t.TSTupleType=TSTupleType;t.TSOptionalType=TSOptionalType;t.TSRestType=TSRestType;t.TSNamedTupleMember=TSNamedTupleMember;t.TSUnionType=TSUnionType;t.TSIntersectionType=TSIntersectionType;t.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;t.TSConditionalType=TSConditionalType;t.TSInferType=TSInferType;t.TSParenthesizedType=TSParenthesizedType;t.TSTypeOperator=TSTypeOperator;t.TSIndexedAccessType=TSIndexedAccessType;t.TSMappedType=TSMappedType;t.TSLiteralType=TSLiteralType;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSInterfaceBody=TSInterfaceBody;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSModuleDeclaration=TSModuleDeclaration;t.TSModuleBlock=TSModuleBlock;t.TSImportType=TSImportType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSExternalModuleReference=TSExternalModuleReference;t.TSNonNullExpression=TSNonNullExpression;t.TSExportAssignment=TSExportAssignment;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;var n=r(5022);function TSTypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TSTypeParameter(e){this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e){if(e.declare){this.word("declare");this.space()}this._functionHead(e);this.token(";")}function TSDeclareMethod(e){this._classMethodHead(e);this.token(";")}function TSQualifiedName(e){this.print(e.left,e);this.token(".");this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(";")}function tsPrintPropertyOrMethodName(e){if(e.computed){this.token("[")}this.print(e.key,e);if(e.computed){this.token("]")}if(e.optional){this.token("?")}}function TSMethodSignature(e){const{kind:t}=e;if(t==="set"||t==="get"){this.word(t);this.space()}this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSIndexSignature(e){const{readonly:t,static:r}=e;if(r){this.word("static");this.space()}if(t){this.word("readonly");this.space()}this.token("[");this._parameters(e.parameters,e);this.token("]");this.print(e.typeAnnotation,e);this.token(";")}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){if(e.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.space();this.token("=>");this.space();this.print(e.typeAnnotation.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e);this.print(e.typeParameters,e)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName)}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){this.tsPrintBraced(e,t)}function tsPrintBraced(e,t){this.token("{");if(e.length){this.indent();this.newline();for(const r of e){this.print(r,t);this.newline()}this.dedent();this.rightBrace()}else{this.token("}")}}function TSArrayType(e){this.print(e.elementType,e);this.token("[]")}function TSTupleType(e){this.token("[");this.printList(e.elementTypes,e);this.token("]")}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.token("?")}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.token("?");this.token(":");this.space();this.print(e.elementType,e)}function TSUnionType(e){this.tsPrintUnionOrIntersectionType(e,"|")}function TSIntersectionType(e){this.tsPrintUnionOrIntersectionType(e,"&")}function tsPrintUnionOrIntersectionType(e,t){this.printJoin(e.types,e,{separator(){this.space();this.token(t);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.token("?");this.space();this.print(e.trueType);this.space();this.token(":");this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.token("(");this.print(e.typeAnnotation,e);this.token(")")}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:i}=e;this.token("{");this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.token("[");this.word(i.name);this.space();this.word("in");this.space();this.print(i.constraint,i);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.token("]");if(r){tokenIfPlusMinus(this,r);this.token("?")}this.token(":");this.space();this.print(e.typeAnnotation,e);this.space();this.token("}")}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:i,body:s}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(i!=null&&i.length){this.space();this.word("extends");this.space();this.printList(i,e)}this.space();this.print(s,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:i}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.token("=");this.space();this.print(i,e);this.token(";")}function TSAsExpression(e){const{expression:t,typeAnnotation:r}=e;this.print(t,e);this.space();this.word("as");this.space();this.print(r,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.token("<");this.print(t,e);this.token(">");this.space();this.print(r,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:i}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();this.tsPrintBraced(i,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(",")}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.token(";");return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.token(".");this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){this.tsPrintBraced(e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.token("(");this.print(t,e);this.token(")");if(r){this.token(".");this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.token("=");this.space();this.print(n,e);this.token(";")}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.token(")")}function TSNonNullExpression(e){this.print(e.expression,e);this.token("!")}function TSExportAssignment(e){this.word("export");this.space();this.token("=");this.space();this.print(e.expression,e);this.token(";")}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.print(e.typeAnnotation,e)}function tsPrintClassMemberModifiers(e,t){if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.override){this.word("override");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},78879:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generate;t.CodeGenerator=void 0;var n=r(76377);var i=r(12734);class Generator extends i.default{constructor(e,t={},r){const i=normalizeOptions(r,t);const s=t.sourceMaps?new n.default(t,r):null;super(i,s);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:true,minimal:false},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType};{r.jsonCompatibleStrings=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0)}if(r.compact==="auto"){r.compact=e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}return r}class CodeGenerator{constructor(e,t,r){this._generator=void 0;this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function generate(e,t,r){const n=new Generator(e,t,r);return n.generate()}},72895:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsWhitespace=needsWhitespace;t.needsWhitespaceBefore=needsWhitespaceBefore;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsParens=needsParens;var n=r(80249);var i=r(91282);var s=r(5022);function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,i){const s=n(e,t,i);return s==null?r(e,t,i):s}:r}for(const t of Object.keys(e)){const r=s.FLIPPED_ALIAS_KEYS[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const a=expandAliases(i);const o=expandAliases(n.nodes);const l=expandAliases(n.list);function find(e,t,r,n){const i=e[t.type];return i?i(t,r,n):null}function isOrHasCallExpression(e){if(s.isCallExpression(e)){return true}return s.isMemberExpression(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return 0;if(s.isExpressionStatement(e)){e=e.expression}let n=find(o,e,t);if(!n){const i=find(l,e,t);if(i){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NullableTypeAnnotation=NullableTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.ObjectExpression=ObjectExpression;t.DoExpression=DoExpression;t.Binary=Binary;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.TSInferType=TSInferType;t.BinaryExpression=BinaryExpression;t.SequenceExpression=SequenceExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;t.ClassExpression=ClassExpression;t.UnaryLike=UnaryLike;t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;t.ConditionalExpression=ConditionalExpression;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.AssignmentExpression=AssignmentExpression;t.LogicalExpression=LogicalExpression;t.Identifier=Identifier;var n=r(5022);const i={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};const s=(e,t)=>(n.isClassDeclaration(t)||n.isClassExpression(t))&&t.superClass===e;const a=(e,t)=>(n.isMemberExpression(t)||n.isOptionalMemberExpression(t))&&t.object===e||(n.isCallExpression(t)||n.isOptionalCallExpression(t)||n.isNewExpression(t))&&t.callee===e||n.isTaggedTemplateExpression(t)&&t.tag===e||n.isTSNonNullExpression(t);function NullableTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)}function FunctionTypeAnnotation(e,t,r){return n.isUnionTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isArrayTypeAnnotation(t)||n.isTypeAnnotation(t)&&n.isArrowFunctionExpression(r[r.length-3])}function UpdateExpression(e,t){return a(e,t)||s(e,t)}function ObjectExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,arrowBody:true})}function DoExpression(e,t,r){return!e.async&&isFirstInContext(r,{expressionStatement:true})}function Binary(e,t){if(e.operator==="**"&&n.isBinaryExpression(t,{operator:"**"})){return t.left===e}if(s(e,t)){return true}if(a(e,t)||n.isUnaryLike(t)||n.isAwaitExpression(t)){return true}if(n.isBinary(t)){const r=t.operator;const s=i[r];const a=e.operator;const o=i[a];if(s===o&&t.right===e&&!n.isLogicalExpression(t)||s>o){return true}}}function UnionTypeAnnotation(e,t){return n.isArrayTypeAnnotation(t)||n.isNullableTypeAnnotation(t)||n.isIntersectionTypeAnnotation(t)||n.isUnionTypeAnnotation(t)}function OptionalIndexedAccessType(e,t){return n.isIndexedAccessType(t,{objectType:e})}function TSAsExpression(){return true}function TSTypeAssertion(){return true}function TSUnionType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)||n.isTSIntersectionType(t)||n.isTSUnionType(t)||n.isTSRestType(t)}function TSInferType(e,t){return n.isTSArrayType(t)||n.isTSOptionalType(t)}function BinaryExpression(e,t){return e.operator==="in"&&(n.isVariableDeclarator(t)||n.isFor(t))}function SequenceExpression(e,t){if(n.isForStatement(t)||n.isThrowStatement(t)||n.isReturnStatement(t)||n.isIfStatement(t)&&t.test===e||n.isWhileStatement(t)&&t.test===e||n.isForInStatement(t)&&t.right===e||n.isSwitchStatement(t)&&t.discriminant===e||n.isExpressionStatement(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return n.isBinary(t)||n.isUnaryLike(t)||a(e,t)||n.isAwaitExpression(t)&&n.isYieldExpression(e)||n.isConditionalExpression(t)&&e===t.test||s(e,t)}function ClassExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function UnaryLike(e,t){return a(e,t)||n.isBinaryExpression(t,{operator:"**",left:e})||s(e,t)}function FunctionExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function ArrowFunctionExpression(e,t){return n.isExportDeclaration(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(n.isUnaryLike(t)||n.isBinary(t)||n.isConditionalExpression(t,{test:e})||n.isAwaitExpression(t)||n.isTSTypeAssertion(t)||n.isTSAsExpression(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return n.isCallExpression(t,{callee:e})||n.isMemberExpression(t,{object:e})}function AssignmentExpression(e,t){if(n.isObjectPattern(e.left)){return true}else{return ConditionalExpression(e,t)}}function LogicalExpression(e,t){switch(e.operator){case"||":if(!n.isLogicalExpression(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return n.isLogicalExpression(t,{operator:"??"});case"??":return n.isLogicalExpression(t)&&t.operator!=="??"}}function Identifier(e,t,r){if(e.name==="let"){const i=n.isMemberExpression(t,{object:e,computed:true})||n.isOptionalMemberExpression(t,{object:e,computed:true,optional:false});return isFirstInContext(r,{expressionStatement:i,forHead:i,forInHead:i,forOfHead:true})}return e.name==="async"&&n.isForOfStatement(t)&&e===t.left}function isFirstInContext(e,{expressionStatement:t=false,arrowBody:r=false,exportDefault:i=false,forHead:s=false,forInHead:o=false,forOfHead:l=false}){let u=e.length-1;let p=e[u];u--;let c=e[u];while(u>=0){if(t&&n.isExpressionStatement(c,{expression:p})||i&&n.isExportDefaultDeclaration(c,{declaration:p})||r&&n.isArrowFunctionExpression(c,{body:p})||s&&n.isForStatement(c,{init:p})||o&&n.isForInStatement(c,{left:p})||l&&n.isForOfStatement(c,{left:p})){return true}if(a(p,c)&&!n.isNewExpression(c)||n.isSequenceExpression(c)&&c.expressions[0]===p||n.isConditional(c,{test:p})||n.isBinary(c,{left:p})||n.isAssignmentExpression(c,{left:p})){p=c;u--;c=e[u]}else{return false}}return false}},80249:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.list=t.nodes=void 0;var n=r(5022);function crawl(e,t={}){if(n.isMemberExpression(e)||n.isOptionalMemberExpression(e)){crawl(e.object,t);if(e.computed)crawl(e.property,t)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){crawl(e.left,t);crawl(e.right,t)}else if(n.isCallExpression(e)||n.isOptionalCallExpression(e)){t.hasCall=true;crawl(e.callee,t)}else if(n.isFunction(e)){t.hasFunction=true}else if(n.isIdentifier(e)){t.hasHelper=t.hasHelper||isHelper(e.callee)}return t}function isHelper(e){if(n.isMemberExpression(e)){return isHelper(e.object)||isHelper(e.property)}else if(n.isIdentifier(e)){return e.name==="require"||e.name[0]==="_"}else if(n.isCallExpression(e)){return isHelper(e.callee)}else if(n.isBinary(e)||n.isAssignmentExpression(e)){return n.isIdentifier(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return n.isLiteral(e)||n.isObjectExpression(e)||n.isArrayExpression(e)||n.isIdentifier(e)||n.isMemberExpression(e)}const i={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return{before:t.hasFunction,after:true}}},SwitchCase(e,t){return{before:!!e.consequent.length||t.cases[0]===e,after:!e.consequent.length&&t.cases[t.cases.length-1]===e}},LogicalExpression(e){if(n.isFunction(e.left)||n.isFunction(e.right)){return{after:true}}},Literal(e){if(n.isStringLiteral(e)&&e.value==="use strict"){return{after:true}}},CallExpression(e){if(n.isFunction(e.callee)||isHelper(e)){return{before:true,after:true}}},OptionalCallExpression(e){if(n.isFunction(e.callee)){return{before:true,after:true}}},VariableDeclaration(e){for(let t=0;te.init)},ArrayExpression(e){return e.elements},ObjectExpression(e){return e.properties}};t.list=s;[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach(function([e,t]){if(typeof t==="boolean"){t={after:t,before:t}}[e].concat(n.FLIPPED_ALIAS_KEYS[e]||[]).forEach(function(e){i[e]=function(){return t}})})},12734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64939);var i=r(72895);var s=r(5022);var a=r(73086);const o=/e/i;const l=/\.0+$/;const u=/^0[box]/;const p=/^\s*[@#]__PURE__\s*$/;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._insideAux=false;this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new WeakSet;this._endsWithInteger=false;this._endsWithWord=false;this.format=e;this._buf=new n.default(t)}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();this._append(";",!e)}rightBrace(){if(this.format.minified){this._buf.removeLastSemicolon()}this.token("}")}space(e=false){if(this.format.compact)return;if(this._buf.hasContent()&&!this.endsWith(" ")&&!this.endsWith("\n")||e){this._space()}}word(e){if(this._endsWithWord||this.endsWith("/")&&e.indexOf("/")===0){this._space()}this._maybeAddAuxComment();this._append(e);this._endsWithWord=true}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!u.test(e)&&!o.test(e)&&!l.test(e)&&e[e.length-1]!=="."}token(e){if(e==="--"&&this.endsWith("!")||e[0]==="+"&&this.endsWith("+")||e[0]==="-"&&this.endsWith("-")||e[0]==="."&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e)}newline(e){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}if(this.endsWith("\n\n"))return;if(typeof e!=="number")e=1;e=Math.min(2,e);if(this.endsWith("{\n")||this.endsWith(":\n"))e--;if(e<=0)return;for(let t=0;t{n.call(this,e,t)});this._printTrailingComments(e);if(o)this.token(")");this._printStack.pop();this.format.concise=r;this._insideAux=a}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e})}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e})}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e!=null&&e.length))return;if(r.indent)this.indent();const n={addNewlines:r.addNewlines};for(let i=0;i0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(!s.isEmptyStatement(t)){this.space()}this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(false,e))}_printLeadingComments(e){this._printComments(this._getComments(true,e),true)}printInnerComments(e,t=true){var r;if(!((r=e.innerComments)!=null&&r.length))return;if(t)this.indent();this._printComments(e.innerComments);if(t)this.dedent()}printSequence(e,t,r={}){r.statement=true;return this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}return this.printJoin(e,t,r)}_printNewline(e,t,r,n){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}let s=0;if(this._buf.hasContent()){if(!e)s++;if(n.addNewlines)s+=n.addNewlines(e,t)||0;const a=e?i.needsWhitespaceBefore:i.needsWhitespaceAfter;if(a(t,r))s++}this.newline(s)}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e,t){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;this._printedComments.add(e);const r=e.type==="CommentBlock";const n=r&&!t&&!this._noLineTerminator;if(n&&this._buf.hasContent())this.newline(1);if(!this.endsWith("[")&&!this.endsWith("{"))this.space();let i=!r&&!this._noLineTerminator?`//${e.value}\n`:`/*${e.value}*/`;if(r&&this.format.indent.adjustMultilineComment){var s;const t=(s=e.loc)==null?void 0:s.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");i=i.replace(e,"\n")}const r=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());i=i.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}if(this.endsWith("/"))this._space();this.withSource("start",e.loc,()=>{this._append(i)});if(n)this.newline(1)}_printComments(e,t){if(!(e!=null&&e.length))return;if(t&&e.length===1&&p.test(e[0].value)){this._printComment(e[0],this._buf.hasContent()&&!this.endsWith("\n"))}else{for(const t of e){this._printComment(t)}}}printAssertions(e){var t;if((t=e.assertions)!=null&&t.length){this.space();this.word("assert");this.space();this.token("{");this.space();this.printList(e.assertions,e);this.space();this.token("}")}}}Object.assign(Printer.prototype,a);{Printer.prototype.Noop=function Noop(){}}var c=Printer;t.default=c;function commaSeparator(){this.token(",");this.space()}},76377:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(96241);class SourceMap{constructor(e,t){this._cachedMap=void 0;this._code=void 0;this._opts=void 0;this._rawMappings=void 0;this._lastGenLine=void 0;this._lastSourceLine=void 0;this._lastSourceColumn=void 0;this._cachedMap=null;this._code=t;this._opts=e;this._rawMappings=[]}get(){if(!this._cachedMap){const e=this._cachedMap=new n.SourceMapGenerator({sourceRoot:this._opts.sourceRoot});const t=this._code;if(typeof t==="string"){e.setSourceContent(this._opts.sourceFileName.replace(/\\/g,"/"),t)}else if(typeof t==="object"){Object.keys(t).forEach(r=>{e.setSourceContent(r.replace(/\\/g,"/"),t[r])})}this._rawMappings.forEach(t=>e.addMapping(t),e)}return this._cachedMap.toJSON()}getRawMappings(){return this._rawMappings.slice()}mark(e,t,r,n,i,s,a){if(this._lastGenLine!==e&&r===null)return;if(!a&&this._lastGenLine===e&&this._lastSourceLine===r&&this._lastSourceColumn===n){return}this._cachedMap=null;this._lastGenLine=e;this._lastSourceLine=r;this._lastSourceColumn=n;this._rawMappings.push({name:i||undefined,generated:{line:e,column:t},source:r==null?undefined:(s||this._opts.sourceFileName).replace(/\\/g,"/"),original:r==null?undefined:{line:r,column:n}})}}t.default=SourceMap},14002:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(5022);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},25549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(5022);var s=r(14002);var a=r(50537);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{n(!t,"Unexpected secondary arguments.");i.push(e)}const s=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(s).forEach(t=>{if(e[t]!==undefined)s[t]=e[t]});if(!r){if(e.nameHint!==undefined)s.nameHint=e.nameHint;if(e.blockHoist!==undefined)s.blockHoist=e.blockHoist}}return s}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:c,ensureLiveReference:f,ensureNoContext:d,nameHint:y,importPosition:h,blockHoist:m}=e;let T=y||t;const S=(0,a.default)(this._programPath);const b=S&&c==="node";const E=S&&c==="babel";if(h==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new s.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(T,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){T=T!=="default"?T:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(T||l).wildcardInterop()}else if(r){if(f){g.default(e).var(T||l).defaultInterop().read("default")}else{g.default(e).var(T).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l).wildcardInterop()}else if((r||n)&&f){if(r){T=T!=="default"?T:l;g.var(T).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(T).defaultInterop().prop(t)}else if(n){g.var(T).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(T||l)}else if(r||n){g.default(l).read(T)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r||n){if(f){g.var(l).read(T)}else{g.prop(t).var(T)}}}}else if(p==="uncompiled"){if(r&&f){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.default(l).read(T)}}else if(E){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r){g.var(T)}else if(n){if(f){g.var(l).read(T)}else{g.var(T).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:x,resultName:P}=g.done();this._insertStatements(x,h,m);if((r||n)&&d&&P.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),P])}return P}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},30489:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var n=r(25549);var i=r(50537);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,i){return new n.default(e).addNamed(t,r,i)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},50537:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},8167:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,i,s,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(i=r.moduleIds)!=null?i:t.moduleIds,getModuleId:(s=r.getModuleId)!=null?s:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:i=t.moduleRoot}=e;const{moduleId:s,moduleIds:a=!!s,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(s!=null&&!o){return s}let u=l!=null?l+"/":"";if(n){const e=i!=null?new RegExp("^"+i+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},83431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var i=r(5022);var s=r(36900);var a=r(30489);var o=r(77119);var l=r(65497);var u=r(3367);var p=r(8167);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:s,allowTopLevelThis:p,strictMode:c,noInterop:f,importInterop:d=(f?"none":"babel"),lazy:y,esNamespaceOnly:h,constantReexports:m=t,enumerableModuleMeta:T=t}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const S=(0,u.default)(e,r,{importInterop:d,initializeReexports:m,lazy:y,esNamespaceOnly:h});if(!p){(0,o.default)(e)}(0,l.default)(e,S);if(c!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const b=[];if((0,u.hasExports)(S)&&!s){b.push(buildESModuleHeader(S,T))}const E=buildExportNameListDeclaration(e,S);if(E){S.exportNameListName=E.name;b.push(E.statement)}b.push(...buildExportInitializationStatements(e,S,m));return{meta:S,headers:b}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return i.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(s.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(r){n.push(...f(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?s.default.statement` + Object.defineProperty(EXPORTS, "NAME", { + enumerable: true, + get: function() { + return NAMESPACE; + } + }); + `:s.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const s=buildNamespaceReexport(e,i.cloneNode(a),r);s.loc=t.reexportAll.loc;n.push(s)}return n}const c={constant:s.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:s.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,s.default)` + Object.defineProperty(EXPORTS, "EXPORT_NAME", { + enumerable: true, + get: function() { + return NAMESPACE_IMPORT; + }, + }); + `};const f=(e,t,r)=>{const n=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:s}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(s.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||i.isIdentifier(l)){if(s.has(a)){return c.constantComputed(u)}else{return c.constant(u)}}else{return c.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?s.default.statement` + EXPORTS.__esModule = true; + `:s.default.statement` + Object.defineProperty(EXPORTS, "__esModule", { + value: true, + }); + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?s.default.statement` + Object.keys(NAMESPACE).forEach(function(key) { + if (key === "default" || key === "__esModule") return; + VERIFY_NAME_LIST; + if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; - var g = _groups.get(re); - return Object.keys(g).reduce(function(groups, name) { - groups[name] = result[g[name]]; - return groups; - }, Object.create(null)); - } + EXPORTS[key] = NAMESPACE[key]; + }); + `:s.default.statement` + Object.keys(NAMESPACE).forEach(function(key) { + if (key === "default" || key === "__esModule") return; + VERIFY_NAME_LIST; + if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; - return _wrapRegExp.apply(this, arguments); - } -`},3537:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var n=_interopRequireDefault(r(18442));var s=_interopRequireWildcard(r(63760));var i=_interopRequireDefault(r(8e3));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const r=new Set;const s=new Map;let a;let o;const l=[];const u=[];const c=[];const p={ImportDeclaration(e){const t=e.node.source.value;if(!i.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const r=e.node.specifiers[0].local;s.set(r,t);u.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const f={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(s.has(t[e].identifier))return;r.add(e)})},ReferencedIdentifier(e){const r=e.node.name;const n=e.scope.getBinding(r,true);if(!n){t.add(r)}else if(s.has(n.identifier)){c.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const r=e.scope.getBinding(a);if(r==null?void 0:r.scope.path.isProgram()){l.push(makePath(e))}}};(0,n.default)(e.ast,p,e.scope);(0,n.default)(e.ast,f,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:s,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:c,importPaths:u}}function permuteHelperAST(e,t,r,i,a){if(i&&!r){throw new Error("Unexpected local bindings for module-based helpers.")}if(!r)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:u,exportPath:c,exportName:p,importBindingsReferences:f,importPaths:d}=t;const h={};l.forEach((e,t)=>{h[t.name]=typeof a==="function"&&a(e)||t});const y={};const m=new Set(i||[]);o.forEach(e=>{let t=e;while(m.has(t))t="_"+t;if(t!==e)y[e]=t});if(r.type==="Identifier"&&p!==r.name){y[p]=r.name}const g={Program(e){const t=e.get(c);const n=d.map(t=>e.get(t));const i=f.map(t=>e.get(t));const a=t.get("declaration");if(r.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(s.variableDeclaration("var",[s.variableDeclarator(r,a.node)]))}}else if(r.type==="MemberExpression"){if(a.isFunctionDeclaration()){u.forEach(t=>{const n=e.get(t);n.replaceWith(s.assignmentExpression("=",r,n.node))});t.replaceWith(a);e.pushContainer("body",s.expressionStatement(s.assignmentExpression("=",r,s.identifier(p))))}else{t.replaceWith(s.expressionStatement(s.assignmentExpression("=",r,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(y).forEach(t=>{e.scope.rename(t,y[t])});for(const e of n)e.remove();for(const e of i){const t=s.cloneNode(h[e.node.name]);e.replaceWith(t)}e.stop()}};(0,n.default)(e.ast,g,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=i.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const r=()=>{const r={ast:s.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},r)}return r};const n=getHelperMetadata(r());o[e]={build(e,t,s){const i=r();permuteHelperAST(i,n,t,s,e);return{nodes:i.ast.program.body,globals:n.globals}},minVersion(){return t.minVersion},dependencies:n.dependencies}}return o[e]}function get(e,t,r,n){return loadHelper(e).build(t,r,n)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(i.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var u=get;t.default=u},93810:e=>{"use strict";const t=Symbol.for("gensync:v1:start");const r=Symbol.for("gensync:v1:suspend");const n="GENSYNC_EXPECTED_START";const s="GENSYNC_EXPECTED_SUSPEND";const i="GENSYNC_OPTIONS_ERROR";const a="GENSYNC_RACE_NONEMPTY";const o="GENSYNC_ERRBACK_NO_CALLBACK";e.exports=Object.assign(function gensync(e){let t=e;if(typeof e!=="function"){t=newGenerator(e)}else{t=wrapGenerator(e)}return Object.assign(t,makeFunctionAPI(t))},{all:buildOperation({name:"all",arity:1,sync:function(e){const t=Array.from(e[0]);return t.map(e=>evaluateSync(e))},async:function(e,t,r){const n=Array.from(e[0]);let s=0;const i=n.map(()=>undefined);n.forEach((e,n)=>{evaluateAsync(e,e=>{i[n]=e;s+=1;if(s===i.length)t(i)},r)})}}),race:buildOperation({name:"race",arity:1,sync:function(e){const t=Array.from(e[0]);if(t.length===0){throw makeError("Must race at least 1 item",a)}return evaluateSync(t[0])},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){throw makeError("Must race at least 1 item",a)}for(const e of n){evaluateAsync(e,t,r)}}})});function makeFunctionAPI(e){const t={sync:function(...t){return evaluateSync(e.apply(this,t))},async:function(...t){return new Promise((r,n)=>{evaluateAsync(e.apply(this,t),r,n)})},errback:function(...t){const r=t.pop();if(typeof r!=="function"){throw makeError("Asynchronous function called without callback",o)}let n;try{n=e.apply(this,t)}catch(e){r(e);return}evaluateAsync(n,e=>r(undefined,e),e=>r(e))}};return t}function assertTypeof(e,t,r,n){if(typeof r===e||n&&typeof r==="undefined"){return}let s;if(n){s=`Expected opts.${t} to be either a ${e}, or undefined.`}else{s=`Expected opts.${t} to be a ${e}.`}throw makeError(s,i)}function makeError(e,t){return Object.assign(new Error(e),{code:t})}function newGenerator({name:e,arity:t,sync:r,async:n,errback:s}){assertTypeof("string","name",e,true);assertTypeof("number","arity",t,true);assertTypeof("function","sync",r);assertTypeof("function","async",n,true);assertTypeof("function","errback",s,true);if(n&&s){throw makeError("Expected one of either opts.async or opts.errback, but got _both_.",i)}if(typeof e!=="string"){let t;if(s&&s.name&&s.name!=="errback"){t=s.name}if(n&&n.name&&n.name!=="async"){t=n.name.replace(/Async$/,"")}if(r&&r.name&&r.name!=="sync"){t=r.name.replace(/Sync$/,"")}if(typeof t==="string"){e=t}}if(typeof t!=="number"){t=r.length}return buildOperation({name:e,arity:t,sync:function(e){return r.apply(this,e)},async:function(e,t,i){if(n){n.apply(this,e).then(t,i)}else if(s){s.call(this,...e,(e,r)=>{if(e==null)t(r);else i(e)})}else{t(r.apply(this,e))}}})}function wrapGenerator(e){return setFunctionMetadata(e.name,e.length,function(...t){return e.apply(this,t)})}function buildOperation({name:e,arity:n,sync:s,async:i}){return setFunctionMetadata(e,n,function*(...e){const n=yield t;if(!n){return s.call(this,e)}let a;try{i.call(this,e,e=>{if(a)return;a={value:e};n()},e=>{if(a)return;a={err:e};n()})}catch(e){a={err:e};n()}yield r;if(a.hasOwnProperty("err")){throw a.err}return a.value})}function evaluateSync(e){let t;while(!({value:t}=e.next()).done){assertStart(t,e)}return t}function evaluateAsync(e,t,r){(function step(){try{let n;while(!({value:n}=e.next()).done){assertStart(n,e);let t=true;let r=false;const s=e.next(()=>{if(t){r=true}else{step()}});t=false;assertSuspend(s,e);if(!r){return}}return t(n)}catch(e){return r(e)}})()}function assertStart(e,r){if(e===t)return;throwError(r,makeError(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,n))}function assertSuspend({value:e,done:t},n){if(!t&&e===r)return;throwError(n,makeError(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,s))}function throwError(e,t){if(e.throw)e.throw(t);throw t}function isIterable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!e[Symbol.iterator]}function setFunctionMetadata(e,t,r){if(typeof e==="string"){const t=Object.getOwnPropertyDescriptor(r,"name");if(!t||t.configurable){Object.defineProperty(r,"name",Object.assign(t||{},{configurable:true,value:e}))}}if(typeof t==="number"){const e=Object.getOwnPropertyDescriptor(r,"length");if(!e||e.configurable){Object.defineProperty(r,"length",Object.assign(e||{},{configurable:true,value:t}))}}return r}},78562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var s=_interopRequireDefault(r(44504));var i=r(20204);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.declare)(e=>{e.assertVersion(7);return{name:"proposal-export-namespace-from",inherits:s.default,visitor:{ExportNamedDeclaration(e){var t;const{node:r,scope:n}=e;const{specifiers:s}=r;const a=i.types.isExportDefaultSpecifier(s[0])?1:0;if(!i.types.isExportNamespaceSpecifier(s[a]))return;const o=[];if(a===1){o.push(i.types.exportNamedDeclaration(null,[s.shift()],r.source))}const l=s.shift();const{exported:u}=l;const c=n.generateUidIdentifier((t=u.name)!=null?t:u.value);o.push(i.types.importDeclaration([i.types.importNamespaceSpecifier(c)],i.types.cloneNode(r.source)),i.types.exportNamedDeclaration(null,[i.types.exportSpecifier(i.types.cloneNode(c),u)]));if(r.specifiers.length>=1){o.push(r)}const[p]=e.replaceWithMultiple(o);e.scope.registerDeclaration(p)}}}});t.default=a},12396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=_interopRequireDefault(r(58230));_gensync=function(){return e};return e}var n=r(8043);var s=r(50911);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=e=>{return(0,_gensync().default)(e).sync};function*genTrue(e){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return i(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return i(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const i=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const u=l?i:r;const c=yield*getCachedValueOrWait(l,u,a,e,o);if(c.valid)return c.value;const p=new CacheConfigurator(o);const f=t(e,p);let d;let h;if((0,s.isIterableIterator)(f)){const t=f;h=yield*(0,n.onFirstPause)(t,()=>{d=setupAsyncLocks(p,a,e)})}else{h=f}updateFunctionCache(u,p,e,h);if(d){a.delete(e);d.release(h)}return h}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,s,i){const a=yield*getCachedValue(t,s,i);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,s,i);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let s=e.get(r);t.deactivate();switch(t.mode()){case"forever":s=[{value:n,valid:genTrue}];e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}];e.set(r,s);break;case"valid":if(s){s.push({value:n,valid:t.validator()})}else{s=[{value:n,valid:t.validator()}];e.set(r,s)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then(e=>{this._pairs.push([e,r]);return e})}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},29507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}function _debug(){const e=_interopRequireDefault(r(31185));_debug=function(){return e};return e}var n=r(77933);var s=_interopRequireDefault(r(54575));var i=r(18919);var a=r(35727);var o=r(12396);var l=r(10682);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const u=(0,_debug().default)("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*c(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map(e=>normalizeOptions(e)),files:new Set}}const c=makeChainWalker({root:e=>p(e),env:(e,t)=>f(e)(t),overrides:(e,t)=>d(e)(t),overridesEnv:(e,t,r)=>h(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=c;const p=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const f=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const h=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,r))));function*buildRootChain(e,t){let r,n;const s=new i.ConfigPrinter;const o=yield*b({options:e,dirname:t.cwd},t,undefined,s);if(!o)return null;const l=s.output();let u;if(typeof e.configFile==="string"){u=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){u=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:c,babelrcRoots:p}=e;let f=t.cwd;const d=emptyChain();const h=new i.ConfigPrinter;if(u){const e=y(u);const n=yield*loadFileChain(e,t,undefined,h);if(!n)return null;r=h.output();if(c===undefined){c=e.options.babelrc}if(p===undefined){f=e.dirname;p=e.options.babelrcRoots}mergeChain(d,n)}const g=typeof t.filename==="string"?yield*(0,a.findPackageData)(t.filename):null;let T,v;let x=false;const E=emptyChain();if((c===true||c===undefined)&&g&&babelrcLoadEnabled(t,g,p,f)){({ignore:T,config:v}=yield*(0,a.findRelativeConfig)(g,t.envName,t.caller));if(T){E.files.add(T.filepath)}if(T&&shouldIgnore(t,T.ignore,null,T.dirname)){x=true}if(v&&!x){const e=m(v);const r=new i.ConfigPrinter;const s=yield*loadFileChain(e,t,undefined,r);if(!s){x=true}else{n=r.output();mergeChain(E,s)}}if(v&&x){E.files.add(v.filepath)}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,l].filter(e=>!!e).join("\n\n"));return null}const S=mergeChain(mergeChain(mergeChain(emptyChain(),d),E),o);return{plugins:x?[]:dedupDescriptors(S.plugins),presets:x?[]:dedupDescriptors(S.presets),options:x?[]:S.options.map(e=>normalizeOptions(e)),fileHandling:x?"ignored":"transpile",ignore:T||undefined,babelrc:v||undefined,config:u||undefined,files:S.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const i=e.root;if(r===undefined){return t.directories.indexOf(i)!==-1}let a=r;if(!Array.isArray(a))a=[a];a=a.map(e=>{return typeof e==="string"?_path().default.resolve(n,e):e});if(a.length===1&&a[0]===i){return t.directories.indexOf(i)!==-1}return a.some(r=>{if(typeof r==="string"){r=(0,s.default)(r,n)}return t.directories.some(t=>{return matchPattern(r,n,t,e)})})}const y=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options)}));const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options)}));const g=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options)}));const b=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const T=makeChainWalker({root:e=>v(e),env:(e,t)=>x(e)(t),overrides:(e,t)=>E(e)(t),overridesEnv:(e,t,r)=>S(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const s=yield*T(e,t,r,n);if(s){s.files.add(e.filepath)}return s}const v=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const x=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const E=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const S=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,r))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,s){const i=t.env&&t.env[s];return i?n(e,i,`${r}.env["${s}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,s){const i=t.overrides&&t.overrides[s];if(!i)throw new Error("Assertion failure - missing override");return n(e,i,`${r}.overrides[${s}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,s,i){const a=t.overrides&&t.overrides[s];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[i];return o?n(e,o,`${r}.overrides[${s}].env["${i}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*(i,a,o=new Set,l){const{dirname:u}=i;const c=[];const p=e(i);if(configIsApplicable(p,u,a)){c.push({config:p,envName:undefined,index:undefined});const e=t(i,a.envName);if(e&&configIsApplicable(e,u,a)){c.push({config:e,envName:a.envName,index:undefined})}(p.options.overrides||[]).forEach((e,t)=>{const s=r(i,t);if(configIsApplicable(s,u,a)){c.push({config:s,index:t,envName:undefined});const e=n(i,t,a.envName);if(e&&configIsApplicable(e,u,a)){c.push({config:e,index:t,envName:a.envName})}}})}if(c.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,u))){return null}const f=emptyChain();const d=s(i,a,l);for(const{config:e,index:t,envName:r}of c){if(!(yield*mergeExtendsChain(f,e.options,u,a,o,l))){return null}d(e,t,r);mergeChainOpts(f,e)}return f}}function*mergeExtendsChain(e,t,r,n,s,i){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(s,e=>` - ${e.filepath}`).join("\n"))}s.add(o);const l=yield*loadFileChain(g(o),n,s,i);s.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...r());e.presets.push(...n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let s=t.get(e);if(!s){s=new Map;t.set(e,s)}let i=s.get(n.name);if(!i){i={value:n};r.push(i);if(!n.ownPass)s.set(n.name,i)}else{i.value=n}}else{r.push({value:n})}}return r.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,r){return(e.test===undefined||configFieldIsApplicable(r,e.test,t))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t))}function configFieldIsApplicable(e,t,r){const n=Array.isArray(t)?t:[t];return matchesPatterns(e,n,r)}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var s;const r=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${n}"`;u(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var i;const t=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r)}\` from "${n}"`;u(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r){return t.some(t=>matchPattern(t,r,e.filename,e))}function matchPattern(e,t,r,n){if(typeof e==="function"){return!!e(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,s.default)(e,t)}return e.test(r)}},10682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;var n=r(35727);var s=r(32636);var i=r(12396);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function createCachedDescriptors(e,t,r){const{plugins:n,presets:s,passPerPreset:i}=t;return{options:t,plugins:n?()=>u(n,e)(r):()=>[],presets:s?()=>o(s,e)(r)(!!i):()=>[]}}function createUncachedDescriptors(e,t,r){let n;let s;return{options:t,plugins:()=>{if(!n){n=createPluginDescriptors(t.plugins||[],e,r)}return n},presets:()=>{if(!s){s=createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)}return s}}}const a=new WeakMap;const o=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCacheSync)(t=>(0,i.makeStrongCacheSync)(n=>createPresetDescriptors(e,r,t,n).map(e=>loadCachedDescriptor(a,e))))});const l=new WeakMap;const u=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCacheSync)(t=>createPluginDescriptors(e,r,t).map(e=>loadCachedDescriptor(l,e)))});const c={};function loadCachedDescriptor(e,t){const{value:r,options:n=c}=t;if(n===false)return t;let s=e.get(r);if(!s){s=new WeakMap;e.set(r,s)}let i=s.get(n);if(!i){i=[];s.set(n,i)}if(i.indexOf(t)===-1){const e=i.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}i.push(t)}return t}function createPresetDescriptors(e,t,r,n){return createDescriptors("preset",e,t,r,n)}function createPluginDescriptors(e,t,r){return createDescriptors("plugin",e,t,r)}function createDescriptors(e,t,r,n,s){const i=t.map((t,i)=>createDescriptor(t,r,{type:e,alias:`${n}$${i}`,ownPass:!!s}));assertNoDuplicates(i);return i}function createDescriptor(e,t,{type:r,alias:i,ownPass:a}){const o=(0,s.getItemDescriptor)(e);if(o){return o}let l;let u;let c=e;if(Array.isArray(c)){if(c.length===3){[c,u,l]=c}else{[c,u]=c}}let p=undefined;let f=null;if(typeof c==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?n.loadPlugin:n.loadPreset;const s=c;({filepath:f,value:c}=e(c,t));p={request:s,resolved:f}}if(!c){throw new Error(`Unexpected falsy value: ${String(c)}`)}if(typeof c==="object"&&c.__esModule){if(c.default){c=c.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof c!=="object"&&typeof c!=="function"){throw new Error(`Unsupported format: ${typeof c}. Expected an object or a function.`)}if(f!==null&&typeof c==="object"&&c){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${f}`)}return{name:l,alias:f||i,value:c,options:u,dirname:t,ownPass:a,file:p}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter(e=>e.value===r.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}},18889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=_interopRequireDefault(r(31185));_debug=function(){return e};return e}function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}function _json(){const e=_interopRequireDefault(r(33170));_json=function(){return e};return e}function _gensync(){const e=_interopRequireDefault(r(58230));_gensync=function(){return e};return e}var n=r(12396);var s=_interopRequireDefault(r(93617));var i=r(50076);var a=_interopRequireDefault(r(32960));var o=_interopRequireDefault(r(54575));var l=_interopRequireWildcard(r(22578));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const u=(0,_debug().default)("babel:config:loading:files:configuration");const c=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=c;const p=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const f=".babelignore";function*findConfigUpwards(e){let t=e;while(true){for(const e of c){if(yield*l.exists(_path().default.join(t,e))){return t}}const e=_path().default.dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let s=null;const i=_path().default.dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(p,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?y(e.pkg):null)}if(!s){const e=_path().default.join(o,f);s=yield*g(e);if(s){u("Found ignore %o from %o.",s.filepath,i)}}}return{config:n,ignore:s}}function findRootConfig(e,t,r){return loadOneConfig(c,e,t,r)}function*loadOneConfig(e,t,r,n,s=null){const i=yield*_gensync().default.all(e.map(e=>readConfig(_path().default.join(t,e),r,n)));const a=i.reduce((e,r)=>{if(r&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().default.basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e},s);if(a){u("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,s){const i=(parseFloat(process.versions.node)>=8.9?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]});const a=yield*readConfig(i,n,s);if(!a){throw new Error(`Config file ${i} contains no configuration data`)}u("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().default.extname(e);return n===".js"||n===".cjs"||n===".mjs"?h(e,{envName:t,caller:r}):m(e)}const d=new Set;const h=(0,n.makeStrongCache)(function*readConfigJS(e,t){if(!l.exists.sync(e)){t.forever();return null}if(d.has(e)){t.never();u("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().default.dirname(e),options:{}}}let r;try{d.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{d.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=r((0,s.default)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof r.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(n&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().default.dirname(e),options:r}});const y=(0,n.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const m=(0,i.makeStaticFileCache)((e,t)=>{let r;try{r=_json().default.parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().default.dirname(e),options:r}});const g=(0,i.makeStaticFileCache)((e,t)=>{const r=_path().default.dirname(e);const n=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of n){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().default.dirname(e),ignore:n.map(e=>(0,o.default)(e,r))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().default.resolve(e,t);const n=yield*l.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},73626:(e,t,r)=>{"use strict";var n;n={value:true};t.Z=import_;function import_(e){return r(81815)(e)}},35727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return s.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return s.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return s.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return s.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return s.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return s.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return i.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return i.loadPreset}});var n=r(18417);var s=r(18889);var i=r(32257);({})},32960:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var n=r(8043);function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}function _url(){const e=r(78835);_url=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)})}}let s;try{s=r(73626).Z}catch(e){}function*loadCjsOrMjsDefault(e,t){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e);case"unknown":try{return loadCjsDefault(e)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().default.extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e){const t=require(e);return(t==null?void 0:t.__esModule)?t.default||undefined:t}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!s){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield s((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},18417:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}var n=r(50076);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s="package.json";function*findPackageData(e){let t=null;const r=[];let n=true;let a=_path().default.dirname(e);while(!t&&_path().default.basename(a)!=="node_modules"){r.push(a);t=yield*i(_path().default.join(a,s));const e=_path().default.dirname(a);if(a===e){n=false;break}a=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}const i=(0,n.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().default.dirname(e),options:r}})},32257:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=_interopRequireDefault(r(31185));_debug=function(){return e};return e}function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=(0,_debug().default)("babel:config:loading:files:plugins");const s=/^module:/;const i=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const a=/^(?!@|module:|[^/]+\/|babel-preset-)/;const o=/^(@babel\/)(?!plugin-|[^/]+\/)/;const l=/^(@babel\/)(?!preset-|[^/]+\/)/;const u=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const c=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const p=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function loadPlugin(e,t){const r=resolvePlugin(e,t);if(!r){throw new Error(`Plugin ${e} not found relative to ${t}`)}const s=requireModule("plugin",r);n("Loaded plugin %o from %o.",e,t);return{filepath:r,value:s}}function loadPreset(e,t){const r=resolvePreset(e,t);if(!r){throw new Error(`Preset ${e} not found relative to ${t}`)}const s=requireModule("preset",r);n("Loaded preset %o from %o.",e,t);return{filepath:r,value:s}}function standardizeName(e,t){if(_path().default.isAbsolute(t))return t;const r=e==="preset";return t.replace(r?a:i,`babel-${e}-`).replace(r?l:o,`$1${e}-`).replace(r?c:u,`$1babel-${e}-`).replace(p,`$1/babel-${e}`).replace(s,"")}function resolveStandardizedName(e,t,n=process.cwd()){const s=standardizeName(e,t);try{return(parseFloat(process.versions.node)>=8.9?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(s,{paths:[n]})}catch(i){if(i.code!=="MODULE_NOT_FOUND")throw i;if(s!==t){let e=false;try{(parseFloat(process.versions.node)>=8.9?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(t,{paths:[n]});e=true}catch(e){}if(e){i.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(parseFloat(process.versions.node)>=8.9?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(e,"@babel/"+t),{paths:[n]});a=true}catch(e){}if(a){i.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(parseFloat(process.versions.node)>=8.9?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(l,t),{paths:[n]});o=true}catch(e){}if(o){i.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw i}}const f=new Set;function requireModule(e,t){if(f.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{f.add(t);return require(t)}finally{f.delete(t)}}},50076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(12396);var s=_interopRequireWildcard(r(22578));function _fs2(){const e=_interopRequireDefault(r(35747));_fs2=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function makeStaticFileCache(e){return(0,n.makeStrongCache)(function*(t,r){const n=r.invalidate(()=>fileMtime(t));if(n===null){return null}return e(t,yield*s.readFile(t,"utf8"))})}function fileMtime(e){try{return+_fs2().default.statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},68532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=_interopRequireDefault(r(58230));_gensync=function(){return e};return e}var n=r(8043);var s=r(50911);var i=_interopRequireWildcard(r(20204));var a=_interopRequireDefault(r(74332));var o=r(32636);var l=r(29507);function _traverse(){const e=_interopRequireDefault(r(18442));_traverse=function(){return e};return e}var u=r(12396);var c=r(77933);var p=r(24954);var f=_interopRequireDefault(r(93617));var d=_interopRequireDefault(r(55012));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var h=(0,_gensync().default)(function*loadFullConfig(e){const t=yield*(0,d.default)(e);if(!t){return null}const{options:r,context:n,fileHandling:i}=t;if(i==="ignored"){return null}const a={};const{plugins:l,presets:u}=r;if(!l||!u){throw new Error("Assertion failure - plugins and presets exist")}const p=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const f=u.map(p);const h=l.map(p);const y=[[]];const m=[];const g=yield*enhanceError(n,function*recursePresetDescriptors(e,t){const r=[];for(let s=0;s0){y.splice(1,0,...r.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach(e=>{(0,s.mergeOptions)(a,e)})}}})(f,y[0]);if(g)return null;const b=a;(0,s.mergeOptions)(b,r);yield*enhanceError(n,function*loadPluginDescriptors(){y[0].unshift(...h);for(const e of y){const t=[];m.push(t);for(let r=0;re.length>0).map(e=>({plugins:e}));b.passPerPreset=b.presets.length>0;return{options:b,passes:m}});t.default=h;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const y=(0,u.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:n},s){if(t===false)throw new Error("Assertion failure");t=t||{};let a=e;if(typeof e==="function"){const o=Object.assign({},i,(0,f.default)(s));try{a=e(o,t,r)}catch(e){if(n){e.message+=` (While processing: ${JSON.stringify(n)})`}throw e}}if(!a||typeof a!=="object"){throw new Error("Plugin/Preset did not return an object.")}if(typeof a.then==="function"){yield*[];throw new Error(`You appear to be using an async plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}return{value:a,options:t,dirname:r,alias:n}});function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*m(yield*y(e,t),t)}const m=(0,u.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:s},i){const o=(0,p.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${s}$inherits`,value:l.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,t=>{return i.invalidate(r=>t(e,r))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,s)});const g=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const b=(e,t,r)=>{if(!t.filename){const{options:t}=e;g(t,r);if(t.overrides){t.overrides.forEach(e=>g(e,r))}}};function*loadPresetDescriptor(e,t){const r=T(yield*y(e,t));b(r,t,e);return yield*(0,l.buildPresetChain)(r,t)}const T=(0,u.makeWeakCacheSync)(({value:e,dirname:t,alias:r})=>{return{options:(0,c.validate)("preset",e),alias:r,dirname:t}});function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}},93617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=makeAPI;function _semver(){const e=_interopRequireDefault(r(62519));_semver=function(){return e};return e}var n=r(20204);var s=r(12396);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function makeAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,s.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const r=t=>e.using(e=>(0,s.assertSimpleType)(t(e.caller)));return{version:n.version,cache:e.simple(),env:t,async:()=>false,caller:r,assertVersion:assertVersion}}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().default.satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}},8333:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},4313:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=_interopRequireDefault(r(58230));_gensync=function(){return e};return e}var n=_interopRequireDefault(r(68532));var s=r(55012);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=(0,_gensync().default)(function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null});const a=e=>(t,r)=>{if(r===undefined&&typeof t==="function"){r=t;t=undefined}return r?e.errback(t,r):e.sync(t)};const o=a(s.loadPartialConfig);t.loadPartialConfig=o;const l=s.loadPartialConfig.sync;t.loadPartialConfigSync=l;const u=s.loadPartialConfig.async;t.loadPartialConfigAsync=u;const c=a(i);t.loadOptions=c;const p=i.sync;t.loadOptionsSync=p;const f=i.async;t.loadOptionsAsync=f},32636:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}var n=r(10682);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function createItemFromDescriptor(e){return new ConfigItem(e)}function createConfigItem(e,{dirname:t=".",type:r}={}){const s=(0,n.createDescriptor)(e,_path().default.resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(s)}function getItemDescriptor(e){if(e==null?void 0:e[s]){return e._descriptor}return undefined}const s=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[s]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,s,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},55012:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}function _gensync(){const e=_interopRequireDefault(r(58230));_gensync=function(){return e};return e}var n=_interopRequireDefault(r(74332));var s=r(50911);var i=r(32636);var a=r(29507);var o=r(8333);var l=r(77933);var u=r(35727);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}function*resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=yield*(0,u.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=yield*(0,u.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${u.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:c=".",rootMode:p="root",caller:f,cloneInputAst:d=true}=t;const h=_path().default.resolve(n);const y=yield*resolveRootMode(_path().default.resolve(h,c),p);const m=typeof t.filename==="string"?_path().default.resolve(n,t.filename):undefined;const g=yield*(0,u.resolveShowConfigPath)(h);const b={filename:m,cwd:h,root:y,envName:r,caller:f,showConfig:g===m};const T=yield*(0,a.buildRootChain)(t,b);if(!T)return null;const v={};T.options.forEach(e=>{(0,s.mergeOptions)(v,e)});v.cloneInputAst=d;v.babelrc=false;v.configFile=false;v.passPerPreset=false;v.envName=b.envName;v.cwd=b.cwd;v.root=b.root;v.filename=typeof b.filename==="string"?b.filename:undefined;v.plugins=T.plugins.map(e=>(0,i.createItemFromDescriptor)(e));v.presets=T.presets.map(e=>(0,i.createItemFromDescriptor)(e));return{options:v,context:b,fileHandling:T.fileHandling,ignore:T.ignore,babelrc:T.babelrc,config:T.config,files:T.files}}const c=(0,_gensync().default)(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,["showIgnoredFiles"]);r}const s=yield*loadPrivatePartialConfig(e);if(!s)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:u,files:c}=s;if(u==="ignored"&&!t){return null}(i.plugins||[]).forEach(e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(i,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,u,c)});t.loadPartialConfig=c;class PartialConfig{constructor(e,t,r,n,s,i){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=s;this.files=i;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},54575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=_interopRequireDefault(r(85622));_path=function(){return e};return e}function _escapeRegExp(){const e=_interopRequireDefault(r(76421));_escapeRegExp=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=`\\${_path().default.sep}`;const s=`(?:${n}|$)`;const i=`[^${n}]+`;const a=`(?:${i}${n})`;const o=`(?:${i}${s})`;const l=`${a}*?`;const u=`${a}*?${o}?`;function pathToPattern(e,t){const r=_path().default.resolve(t,e).split(_path().default.sep);return new RegExp(["^",...r.map((e,t)=>{const c=t===r.length-1;if(e==="**")return c?u:l;if(e==="*")return c?o:a;if(e.indexOf("*.")===0){return i+(0,_escapeRegExp().default)(e.slice(1))+(c?s:n)}return(0,_escapeRegExp().default)(e)+(c?s:n)})].join(""))}},74332:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,r){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},18919:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;const r={Programmatic:0,Config:1};t.ChainFormatter=r;const n={title(e,t,n){let s="";if(e===r.Programmatic){s="programmatic options";if(t){s+=" from "+t}}else{s="config "+n}return s},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...e.plugins()];if(r.length){t.plugins=r.map(e=>descriptorToConfig(e))}const n=[...e.presets()];if(n.length){t.presets=[...n].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,s,i)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:s,envName:i})}}static format(e){let t=n.title(e.type,e.callerName,e.filepath);const r=n.loc(e.index,e.envName);if(r)t+=` ${r}`;const s=n.optionsAndDescriptors(e.content);return`${t}\n${s}`}output(){if(this._stack.length===0)return"";return this._stack.map(e=>ConfigPrinter.format(e)).join("\n\n")}}t.ConfigPrinter=ConfigPrinter},50911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const r of Object.keys(t)){if(r==="parserOpts"&&t.parserOpts){const r=t.parserOpts;const n=e.parserOpts=e.parserOpts||{};mergeDefaultFields(n,r)}else if(r==="generatorOpts"&&t.generatorOpts){const r=t.generatorOpts;const n=e.generatorOpts=e.generatorOpts||{};mergeDefaultFields(n,r)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},53793:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r["name"]!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const s=r[t];if(s!=null&&typeof s!=="boolean"&&typeof s!=="string"&&typeof s!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertIgnoreItem(access(e,r),t))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertPluginItem(access(e,r),t))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}},77933:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;var n=_interopRequireDefault(r(74332));var s=_interopRequireDefault(r(48572));var i=r(53793);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a={cwd:i.assertString,root:i.assertString,rootMode:i.assertRootMode,configFile:i.assertConfigFileSearch,caller:i.assertCallerMetadata,filename:i.assertString,filenameRelative:i.assertString,code:i.assertBoolean,ast:i.assertBoolean,cloneInputAst:i.assertBoolean,envName:i.assertString};const o={babelrc:i.assertBoolean,babelrcRoots:i.assertBabelrcSearch};const l={extends:i.assertString,ignore:i.assertIgnoreList,only:i.assertIgnoreList};const u={inputSourceMap:i.assertInputSourceMap,presets:i.assertPluginList,plugins:i.assertPluginList,passPerPreset:i.assertBoolean,env:assertEnvSet,overrides:assertOverridesList,test:i.assertConfigApplicableTest,include:i.assertConfigApplicableTest,exclude:i.assertConfigApplicableTest,retainLines:i.assertBoolean,comments:i.assertBoolean,shouldPrintComment:i.assertFunction,compact:i.assertCompact,minified:i.assertBoolean,auxiliaryCommentBefore:i.assertString,auxiliaryCommentAfter:i.assertString,sourceType:i.assertSourceType,wrapPluginVisitorMethod:i.assertFunction,highlightCode:i.assertBoolean,sourceMaps:i.assertSourceMaps,sourceMap:i.assertSourceMaps,sourceFileName:i.assertString,sourceRoot:i.assertString,getModuleId:i.assertFunction,moduleRoot:i.assertString,moduleIds:i.assertBoolean,moduleId:i.assertString,parserOpts:i.assertObject,generatorOpts:i.assertObject};function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(n=>{const s={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,i.msg)(s)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,i.msg)(s)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const c=u[n]||l[n]||o[n]||a[n]||throwUnknownError;c(s,t[n])});return t}function throwUnknownError(e){const t=e.name;if(s.default[t]){const{message:r,version:n=5}=s.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,i.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,i.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,i.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const s=(0,i.assertObject)((0,i.access)(e,t),n[t]);if(!s)continue;const a={type:"env",name:t,parent:r};validateNested(a,s)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,i.assertArray)(e,t);if(n){for(const[t,s]of n.entries()){const n=(0,i.access)(e,t);const a=(0,i.assertObject)(n,s);if(!a)throw new Error(`${(0,i.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const s=e[t-1];const i=e[t];if(s.file&&s.options===undefined&&typeof i.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}": [\n ["${s.file.request}", ${JSON.stringify(i.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}},24954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(53793);const s={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach(e=>assertVisitorHandler(e,r[e]));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(r=>{const n=s[r];if(n){const s={type:"option",name:r,parent:t};n(s,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},48572:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=r},8043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=_interopRequireDefault(r(58230));_gensync=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=e=>e;const s=(0,_gensync().default)(function*(e){return yield*e});const i=(0,_gensync().default)({sync:()=>false,errback:e=>e(null,true)});t.isAsync=i;function maybeAsync(e,t){return(0,_gensync().default)({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=(0,_gensync().default)({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const r=(0,_gensync().default)(e);return a(e=>{const n=r[e];return t(n)})}const o=(0,_gensync().default)({name:"onFirstPause",arity:2,sync:function(e){return s.sync(e)},errback:function(e,t,r){let n=false;s.errback(e,(e,t)=>{n=true;r(e,t)});if(!n){t()}}});t.onFirstPause=o;const l=(0,_gensync().default)({sync:n,async:n});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},22578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.exists=t.readFile=void 0;function _fs(){const e=_interopRequireDefault(r(35747));_fs=function(){return e};return e}function _gensync(){const e=_interopRequireDefault(r(58230));_gensync=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=(0,_gensync().default)({sync:_fs().default.readFileSync,errback:_fs().default.readFile});t.readFile=n;const s=(0,_gensync().default)({sync(e){try{_fs().default.accessSync(e);return true}catch(e){return false}},errback:(e,t)=>_fs().default.access(e,undefined,e=>t(null,!e))});t.exists=s;const i=(0,_gensync().default)({sync:_fs().default.statSync,errback:_fs().default.stat});t.stat=i},20204:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return a.version}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return o.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return l.createConfigItem}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return u.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return u.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return u.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return u.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return u.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return u.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return c.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return c.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return c.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return p.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return p.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return p.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return f.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return f.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return f.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return d.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return d.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return d.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=void 0;var n=_interopRequireDefault(r(47299));var s=_interopRequireDefault(r(56910));var i=r(35727);var a=r(87371);var o=r(8333);function _types(){const e=_interopRequireWildcard(r(63760));_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(30865);_parser=function(){return e};return e}function _traverse(){const e=_interopRequireDefault(r(18442));_traverse=function(){return e};return e}function _template(){const e=_interopRequireDefault(r(36900));_template=function(){return e};return e}var l=r(32636);var u=r(4313);var c=r(3583);var p=r(41794);var f=r(65577);var d=r(30042);function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const h=Object.freeze([".js",".jsx",".es6",".es",".mjs"]);t.DEFAULT_EXTENSIONS=h;class OptionManager{init(e){return(0,u.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},30042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=_interopRequireDefault(r(58230));_gensync=function(){return e};return e}var n=_interopRequireDefault(r(4313));var s=_interopRequireDefault(r(40755));var i=_interopRequireDefault(r(13757));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=(0,_gensync().default)(function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,s.default)(r.passes,(0,i.default)(r),e)});const o=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return a.sync(e,t);a.errback(e,t,r)};t.parse=o;const l=a.sync;t.parseSync=l;const u=a.async;t.parseAsync=u},40755:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=r(30865);_parser=function(){return e};return e}function _codeFrame(){const e=r(36553);_codeFrame=function(){return e};return e}var n=_interopRequireDefault(r(37045));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function*parser(e,{parserOpts:t,highlightCode:r=true,filename:s="unknown"},i){try{const a=[];for(const r of e){for(const e of r){const{parserOverride:r}=e;if(r){const e=r(i,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(i,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(i,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${s}: `+(0,n.default)(a[0],t,o)}else{e.message=`${s}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},37045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const r={classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};r.privateIn.syntax=r.privateIn.transform;const n=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,s){let i=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+s;const a=r[e];if(a){const{syntax:e,transform:t}=a;if(e){const r=n(e);if(t){const e=n(t);const s=t.name.startsWith("@babel/plugin")?"plugins":"presets";i+=`\n\nAdd ${e} to the '${s}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{i+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return i}},56910:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=_default;function helpers(){const e=_interopRequireWildcard(n(10051));helpers=function(){return e};return e}function _generator(){const e=_interopRequireDefault(n(43187));_generator=function(){return e};return e}function _template(){const e=_interopRequireDefault(n(36900));_template=function(){return e};return e}function t(){const e=_interopRequireWildcard(n(63760));t=function(){return e};return e}var s=_interopRequireDefault(n(47299));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}const i=e=>(0,_template().default)` + Object.defineProperty(EXPORTS, key, { + enumerable: true, + get: function() { + return NAMESPACE[key]; + }, + }); + }); + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,s.default)` + if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const s=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:s.name,statement:i.variableDeclaration("var",[i.variableDeclarator(s,i.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false){const n=[];const s=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){n.push(buildInitStatement(t,r.names,i.identifier(e)))}else{s.push(...r.names)}}for(const e of t.source.values()){if(!r){n.push(...f(t,e,false))}for(const t of e.reexportNamespace){s.push(t)}}n.push(...chunk(s,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}));return n}const d={computed:s.default.expression`EXPORTS["NAME"] = VALUE`,default:s.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:s}=e;return i.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:s,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var i=r(34917);var s=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:i=false,esNamespaceOnly:s=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(s&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,i.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},i){const s=getLocalExportMetadata(e,r,i);const a=new Map;const o=t=>{const r=t.value;let i=a.get(r);if(!i){i={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=s.get(r);if(n){s.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=s.get(r);if(n){s.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),i);const n=e.get("local").node.name;t.imports.set(n,r);const a=s.get(n);if(a){s.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),i);const n=getExportSpecifierName(e.get("exported"),i);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:s,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const i=new Map;const s=e=>{const t=e.node.name;let r=i.get(t);if(!r){const s=n.get(t);if(s===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:s};i.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}s(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const i=s(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){s(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,s.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},65497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var i=r(5022);var s=r(36900);var a=r(71142);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const s=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,i]of n.imports){r.set(t,[e,i,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:s,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:s,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],s)=>{const a=t.source.get(e);if(n){if(a.lazy)s=i.callExpression(s,[]);return s}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return i.memberExpression(o,l?i.stringLiteral(r):i.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:s}=e.node;if(!s)throw new Error("Expected class to have a name");const a=s.name;const o=r.get(a)||[];if(o.length>0){const r=i.expressionStatement(l(n,o,i.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(s=>{const a=r.get(s)||[];if(a.length>0){const r=i.expressionStatement(l(n,a,i.identifier(s)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const s=n.has(r);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),s?i.stringLiteral(r):i.identifier(r),s),t)},r)};const u=e=>{return s.default.expression.ast` + (function() { + throw new Error('"' + '${e}' + '" is read-only.'); + })() + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:s,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=s.get(o);if(l){const t=e.scope.getBinding(o);const s=n.getBinding(o);if(s!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(u)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:s,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const c=e.get("left");if(c.isMemberExpression())return;if(c.isIdentifier()){const r=c.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const f=a.get(r);const d=s.get(r);if((f==null?void 0:f.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=i.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,f,t));o(e)}}else{const r=c.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>s.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,u(p)])}const f=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){f.push(l(this.metadata,t,i.identifier(e)))}});if(f.length>0){let t=i.sequenceExpression(f);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:s,scope:a}=this;if(!i.isVariableDeclaration(n)){let r=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(n))){if(s.get(e)&&a.getBinding(e)===t.getBinding(e)){r=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!r){return}const u=t.generateUidIdentifierBasedOnNode(n);o.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",n,u)));e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(u))]));t.registerDeclaration(e.get("left"))}}}},77119:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(846);var i=r(64931);var s=r(5022);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(s.unaryExpression("void",s.numericLiteral(0),true))}}])},53284:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},71142:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(5022);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const i=e.get("argument");if(!i.isIdentifier())return;const s=i.node.name;if(!r.has(s))return;if(t.getBinding(s)!==e.scope.getBinding(s)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,i.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(s),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",i.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const r=t.name;e.scope.push({id:t});const s=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",i.node)),n.assignmentExpression("=",n.cloneNode(i.node),s),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:i}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const s=e.get("left");if(!s.isIdentifier())return;const a=s.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=n.binaryExpression(e.node.operator.slice(0,-1),n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},47787:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(47787);var i=r(67610)},67610:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},49913:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var i=r(34917);var s=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=i}}return r}function shouldHighlight(e){return!!s.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new s.constructor({enabled:true,level:1}):s}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},13674:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const i=true;const s=true;const a=true;const o=true;class TokenType{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=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:s}),assign:new TokenType("_=",{beforeExpr:r,isAssign:s}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:s}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:i,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const c=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const f=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(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 true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{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}}function getLineInfo(e,t){let r=1;let n=0;let i;c.lastIndex=0;while((i=c.exec(e))&&i.index0){n=t[--i]}if(n===null){return}for(let e=0;e0){n.trailingComments=s}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,i,s,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){i=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){i=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(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(last(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){break}}const t=this.state.leadingComments.slice(0,s);if(t.length){e.leadingComments=t}i=this.state.leadingComments.slice(s);if(i.length===0){i=null}}}this.state.commentPreviousNode=e;if(i){if(i.length&&i[0].start>=e.start&&last(i).end<=e.end){e.innerComments=i}else{const t=i.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=i.slice(0,t);e.trailingComments=i.slice(t)}else{e.trailingComments=i}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const y=makeErrorTemplates({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."},d.SyntaxError);const h=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...i){return this.raiseWithData(e,{code:t,reasonCode:r},n,...i)}raiseOverwrite(e,{code:t,template:r},...n){const i=this.getLocationForPosition(e);const s=r.replace(/%(\d+)/g,(e,t)=>n[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})}else 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);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);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);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return 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",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,i,s,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,i,s,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(s==="ClassPrivateMethod"){e.computed=false}s="MethodDefinition";return this.finishNode(e,s)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,i){const s=super.parseObjectMethod(e,t,r,n,i);if(s){s.type="Property";if(s.kind==="method")s.kind="init";s.shorthand=false}return s}parseObjectProperty(e,t,r,n,i){const s=super.parseObjectProperty(e,t,r,n,i);if(s){s.kind="init";s.type="Property"}return s}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,y.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,y.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,i){const s=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if(s.type==="OptionalMemberExpression"||s.type==="OptionalCallExpression"){s.type=s.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(s);e.expression=s;return this.finishNode(e,"ChainExpression")}}else if(s.type==="MemberExpression"||s.type==="CallExpression"){s.optional=false}return s}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const T={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(T.brace)});u.dollarBraceL.updateContext=(e=>{e.push(T.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===T.template){e.pop()}else{e.push(T.template)}});let S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const E=new RegExp("["+S+"]");const g=new RegExp("["+S+b+"]");S=b=null;const x=[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];const P=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,x)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&g.test(String.fromCharCode(e))}return isInAstralSet(e,x)||isInAstralSet(e,P)}const A={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const v=new Set(A.keyword);const O=new Set(A.strict);const I=new Set(A.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||O.has(e)}function isStrictBindOnlyReservedWord(e){return I.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return v.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const w=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return w.has(e)}const D=0,N=1,C=2,j=4,_=8,L=16,k=32,B=64,M=128,F=256,R=N|C|F;const K=1,V=2,U=4,X=8,J=16,Y=64,W=128,q=256,z=512,H=1024,G=2048;const $=K|V|X|W,Q=K|0|X|0,Z=K|0|U|0,ee=K|0|J|0,te=0|V|0|W,re=0|V|0|0,ne=K|V|X|q,ie=0|0|0|H,se=0|0|0|Y,ae=K|0|0|Y,oe=ne|z,le=0|0|0|H,ue=G;const pe=4,ce=2,fe=1,de=ce|fe;const ye=ce|pe,he=fe|pe,me=ce,Te=fe,Se=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&C)>0}get allowSuper(){return(this.currentThisScopeFlags()&L)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&k)>0}get inClass(){return(this.currentThisScopeFlags()&B)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&B)>0&&(e&C)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&M)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&C)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&C||!this.inModule&&e.flags&N)}declareName(e,t,r){let n=this.currentScope();if(t&X||t&J){this.checkRedeclarationInScope(n,e,t,r);if(t&J){n.functions.add(e)}else{n.lexical.add(e)}if(t&X){this.maybeExportDefined(n,e)}}else if(t&U){for(let i=this.scopeStack.length-1;i>=0;--i){n=this.scopeStack[i];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&R)break}}if(this.inModule&&n.flags&N){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&N){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,y.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&K))return false;if(r&X){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&J){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&_&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(R|B)&&!(t&j)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&G){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&G){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const be=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const Ee=makeErrorTemplates({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."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const ge={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=xe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Ee.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const i=this.flowParseFunctionTypeParams();r.params=i.params;r.rest=i.rest;r.this=i._this;this.expect(u.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,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Ee.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(D);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Ee.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Ee.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let i=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,Ee.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="CommonJS";i=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=ge[e];throw this.raise(this.state.start,Ee.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Ee.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!be.has(e))return;this.raise(t,r?Ee.AssignReservedType:Ee.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();r.name=i.name;r.variance=n;r.bound=i.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Ee.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:i}){const s=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let s=null;let o=null;const c=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();s=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const f=this.flowParseVariance();if(this.eat(u.bracketL)){if(s!=null){this.unexpected(s)}if(this.eat(u.bracketL)){if(f){this.unexpected(f.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(c,t,f))}}else if(this.match(u.parenL)||this.isRelational("<")){if(s!=null){this.unexpected(s)}if(f){this.unexpected(f.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(c,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(c,t,s,f,e,r,i!=null?i:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Ee.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const c=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=s;return c}flowParseObjectTypeProperty(e,t,r,n,i,s,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!s){this.raise(this.state.lastTokStart,Ee.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Ee.InexactInsideExact)}if(n){this.raise(n.start,Ee.InexactVariance)}return null}if(!s){this.raise(this.state.lastTokStart,Ee.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Ee.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!s&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Ee.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Ee.GetterMayNotHaveThisParam:Ee.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,y.BadGetterArity)}else{this.raise(r,y.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,y.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.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(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}this.expect(u.question);const i=this.state.clone();const s=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,c]=this.getArrowLikeExpressions(o);if(l||c.length>0){const e=[...s];if(c.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,Ee.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=s;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(C|j);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(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=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Ee.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Ee.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,y.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&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 false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,Ee.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const i=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,s){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,i,s);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Ee.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Ee.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,i,s,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,i,s,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Ee.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Ee.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),i);if(!s.error)return s.node;const{context:n}=this.state;if(n[n.length-1]===T.j_oTag){n.length-=2}else if(n[n.length-1]===T.j_expr){n.length-=1}}if((n=s)!=null&&n.error||this.isRelational("<")){var a,o;i=i||this.state.clone();let n;const l=this.tryParse(i=>{var s;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const i=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(i,n);return i});if(a.type!=="ArrowFunctionExpression"&&(s=a.extra)!=null&&s.parenthesized){i()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},i);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,Ee.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=s)!=null&&a.node){this.state=s.failState;return s.node}if(u){this.state=l.failState;return u}if((o=s)!=null&&o.thrown)throw s.error;if(l.thrown)throw l.error;throw this.raise(n.start,Ee.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(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(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Ee.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const 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){this.state=s.failState;return s.node}if(a.node){this.state=a.failState;return a.node}throw s.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(n){i.stop=true;return e}this.next();const s=this.startNodeAt(t,r);s.callee=e;s.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);s.arguments=this.parseCallExpressionArguments(u.parenR,false);s.optional=true;return this.finishCallExpression(s,true)}else 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(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(i.optionalChainMember)n.optional=false;return this.finishCallExpression(n,i.optionalChainMember)});if(s.node){if(s.error)this.state=s.failState;return s.node}}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){let t=null;if(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);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Ee.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Ee.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,y.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,y.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Ee.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Ee.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Ee.EnumInvalidExplicitTypeUnknownSupplied:Ee.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let i=null;switch(r){case"boolean":case"number":case"string":i=Ee.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=Ee.EnumInvalidMemberInitializerSymbolType;break;default:i=Ee.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Ee.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){i=true;break}const s=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};s.id=a;switch(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"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:i,hasUnknownMembers:s}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=s;switch(n){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const s=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!s&&!a&&!o&&!l){return n()}else if(!s&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&s>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!s&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ae={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:"♦"};class State{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=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[T.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,i=r.length;n.",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 <>...?"},d.SyntaxError);T.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(T.j_expr);e.push(T.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var we=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ie.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&Ne)>0}get hasReturn(){return(this.currentFlags()&je)>0}get hasIn(){return(this.currentFlags()&_e)>0}}function functionFlags(e,t){return(e?Ce:0)|(t?Ne:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const Le=makeErrorTemplates({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."},d.SyntaxError);function keywordTypeFromName(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 undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var ke=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const i=(t,r,n,i)=>{if(r===n&&e[i]){this.raise(t,Le.InvalidModifiersOrder,n,i)}};const s=(t,r,n,i)=>{if(e[n]&&r===i||e[i]&&r===n){this.raise(t,Le.IncompatibleModifiers,n,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Le.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Le.DuplicateModifier,o)}else{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]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}n.push(i);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Le.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.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();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Le.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Le.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Le.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,Le.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,y.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,y.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Le.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Le.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,Le.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Le.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Le.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const s=i==="TSNamedTupleMember";r=(n=r)!=null?n:s;if(r!==s){this.raise(e.start,Le.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const i=this.eat(u.question);const s=this.eat(u.colon);if(s){const e=this.startNodeAtNode(n);e.optional=i;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Le.InvalidTupleMemberLabel);e.label=n}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();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Le.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return 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();const i=this.eat(r);const s=[];do{s.push(t())}while(this.eat(r));if(s.length===1&&!i){return s[0]}n.types=s;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsParseTypeAnnotation(false);r.parameterName=i;r.typeAnnotation=s;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Le.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return 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=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(D);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,Le.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Le.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let i;let s=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;s=t.readonly;if(e===false&&(i||s||a)){this.raise(r,Le.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||s||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(s)e.readonly=s;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Le.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Le.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ie)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Le.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return 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(u.parenL)){s.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(s.arguments);s.typeParameters=a;if(i.optionalChainMember){s.optional=false}return this.finishCallExpression(s,i.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,i);n.typeParameters=a;return 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();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,r);i.expression=e;const s=this.tsTryNextParseConstantContext();if(s){i.typeAnnotation=s}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Le.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!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;if(i&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,Le.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,r,n){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,Le.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Le.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Le.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Le.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Le.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,Le.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Le.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(u.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(i&&n){this.resetStartLocation(i,t,r);i.declare=true}return i}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?ie:$);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,Le.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Le.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Le.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,s){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,Le.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Le.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,i,s,a,o;let l;let p;let c;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===T.j_oTag){t.length-=2}else if(t[t.length-1]===T.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let f;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;f=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(r=i.extra)!=null&&r.parenthesized){t()}if(((n=f)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(i,f)}i.typeParameters=f;return i},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));c=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!c.error)return c.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=c)!=null&&n.node){this.state=c.failState;return c.node}if((i=p)!=null&&i.thrown)throw p.error;if(d.thrown)throw d.error;if((s=c)!=null&&s.thrown)throw c.error;throw((a=p)==null?void 0:a.error)||d.error||((o=c)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Le.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const i=n&&this.isThisParam(n);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;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(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Le.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Le.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Be=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Me=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return 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;const s=this.parsePlaceholder("Identifier");if(s){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=s}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(s,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Be.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Fe=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Re=["minimal","smart","fsharp"];const Ke=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){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'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Re.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Re.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ke.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ve={estree:m,jsx:we,flow:Pe,typescript:ke,v8intrinsic:Fe,placeholders:Me};const Ue=Object.keys(Ve);const Xe={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Xe)){t[r]=e&&e[r]!=null?e[r]:Xe[r]}return t}var Je=function isDigit(e){return e>=48&&e<=57};const Ye=new Set([103,109,115,105,121,117,100]);const We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const qe={};qe.bin=[48,49];qe.oct=[...qe.bin,50,51,52,53,54,55];qe.dec=[...qe.oct,56,57];qe.hex=[...qe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(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){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){f.lastIndex=e;const t=f.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===T.template){this.readTmplToken()}else{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 SourceLocation(i,s)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,y.UnterminatedComment);this.state.pos=r+2;c.lastIndex=t;let n;while((n=c.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,y.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.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,y.UnterminatedRegExp)}const i=this.input.charCodeAt(n);if(isNewLine(i)){throw this.raise(e,y.UnterminatedRegExp)}if(t){t=false}else{if(i===91){r=true}else if(i===93&&r){r=false}else if(i===47&&!r){break}t=i===92}}const i=this.input.slice(e,n);++n;let s="";while(n-1||s.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,y.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Je(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+i+2,y.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,y.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;r=true}else if(i===109){throw this.raise(t,y.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let i=false;let s=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,y.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,y.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,y.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,y.InvalidOrMissingExponent)}r=true;s=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,y.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(s||o){this.raise(t,y.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(i){this.finishToken(u.decimal,p);return}const c=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,c)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,y.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,y.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++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}else{this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let i=parseInt(n,8);if(i>255){n=n.slice(0,-1);i=parseInt(n,8)}this.state.pos+=n.length-1;const s=this.input.charCodeAt(this.state.pos);if(n!=="0"||s===56||s===57){if(e){return null}else{this.recordStrictModeErrors(t,y.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(r){this.raise(n,y.InvalidEscapeSequence)}else{this.state.pos=n-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let i=e[n];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(r);i=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope($e)}function newArrowHeadScope(){return new ArrowHeadParsingScope(He)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Ge)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,y.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?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)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,y.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const i=this.scope;const s=this.getScopeHandler();this.scope=new s(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=De;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ce}this.scope.enter(N);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{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 SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let i=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){i=Qe(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,y.InvalidParenthesizedAssignment)}}else{this.raise(e.start,y.InvalidParenthesizedAssignment)}}switch(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))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const i=this.startNodeAt(t,r);i.expressions=[n];while(this.eat(u.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return 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;const i=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,i)}return e}}let s;if(e){s=false}else{e=new ExpressionErrors;s=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,i)}if(this.state.type.isAssign){const t=this.startNodeAt(n,i);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(s){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.state.potentialArrowAt;const s=this.parseExprOps(e);if(this.shouldExitDescending(s,i)){return s}return this.parseConditional(s,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,n)){return i}return this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(i>n){const s=this.state.type;if(s===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=s===u.logicalOR||s===u.logicalAND;const l=s===u.nullishCoalescing;if(l){i=u.logicalAND.binop}this.next();if(s===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(s,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,y.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const s=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,y.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,y.DeletePrivateField)}}if(!s){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,s,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?y.AwaitNotInAsyncContext:y.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const i=this.state.startLoc;let s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return s;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,i);e.operator=this.state.value;e.prefix=false;e.argument=s;this.checkLVal(s,"postfix operation");this.next();s=this.finishNode(e,"UpdateExpression")}return s}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,n)){return i}return this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,r,n,i){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,i)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,i)}let s=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=s=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,i,s)}else if(s||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,i,s)}else{i.stop=true;return e}}parseMember(e,t,r,n,i){const s=this.startNodeAt(t,r);const a=this.eat(u.bracketL);s.object=e;s.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(s.object.type==="Super"){this.raise(t,y.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}s.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){s.optional=i;return this.finishNode(s,"OptionalMemberExpression")}else{return this.finishNode(s,"MemberExpression")}}parseBind(e,t,r,n,i){const s=this.startNodeAt(t,r);s.object=e;s.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(s,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){const s=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=s;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const i=this.startNodeAt(t,r);i.tag=e;i.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,y.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,y.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){const s=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}s.push(this.parseExprListItem(false,i,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return s}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,y.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,y.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,y.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,y.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,y.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,y.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Ce);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,y.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,y.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,h.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const c={start:0};let f=true;let d;let y;while(!this.match(u.parenR)){if(f){f=false}else{this.expect(u.comma,c.start||null);if(this.match(u.parenR)){y=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,c))}}const h=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=s;let T=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(T=this.parseArrow(T))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(T,l,false);return T}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(y)this.unexpected(y);if(d)this.unexpected(d);this.checkExpressionErrors(p,true);if(c.start)this.unexpected(c.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",h,m)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const S=this.startNodeAt(t,r);S.expression=n;this.finishNode(S,"ParenthesizedExpression");return S}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,y.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,y.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,y.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,y.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(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(i,r,s,n)}if(r&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,y.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,y.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let i=false;let s=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(u.star)}const p=this.state.containsEsc;const c=this.parsePropertyName(n,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=c.name;if(e==="async"&&!this.hasPrecedingLineBreak()){s=true;i=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){i=true;this.raise(this.state.pos,y.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,i,s,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const i=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(i,y.BadGetterArity)}else{this.raise(i,y.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,y.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,i){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return 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);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,i,s,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(C|L|(a?B:0)|(i?k:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,s,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=this.startNode();this.next();s.elements=this.parseExprList(e,!r,n,s);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(C|j);let i=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){i|=_e}this.prodParam.enter(i);this.initFunction(e,r);const s=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=s;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|je);e.body=this.parseBlock(true,false,i=>{const s=!this.isSimpleParamList(e.params);if(i&&s){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,y.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!s,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,y.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,y.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,y.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,y.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,y.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,y.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,y.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,y.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,y.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,y.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const i=this.isSimpleReference(e);if(i){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,y.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,i?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&~t;if(r){this.prodParam.enter(t|_e);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&t;if(r){this.prodParam.enter(t&~_e);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,it=4;const st=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(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,y.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const i=this.input.slice(t.start,t.end);const s=r.value=i.slice(1,-1);this.addExtra(r,"raw",i);this.addExtra(r,"rawValue",s);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let i;if(this.isLet(e)){r=u._var;i="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,y.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,y.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,y.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,i);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,y.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const s=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,s,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,h.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;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(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(D);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const i=n?"let":this.state.value;this.next();this.parseVar(r,true,i);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const i=this.match(u.name)&&!this.state.containsEsc;const s=new ExpressionErrors;const a=this.parseExpression(true,s);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,y.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,y.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,y.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(D);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,y.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,y.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?_:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(D)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,y.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,y.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,y.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(u._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){r.statementStart=this.state.start;r.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(D)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){const s=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?a:undefined,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){const s=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(i){i.call(this,a)}if(!s){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,y.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const i=t&nt;const s=!!n&&!(t&it);this.initFunction(e,r);if(this.match(u.star)&&i){this.raise(this.state.start,y.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(s)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(C);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const i=this.startNode();i.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(i,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,y.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,y.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const i=t;const s=t;const a=t;const o=t;const l=i;const p=i;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,s,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const c=this.state.containsEsc;const f=this.match(u.privateName);const d=this.parseClassElementName(t);const h=d.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(f){this.pushClassPrivateMethod(e,s,false,false);return}const n=this.isNonstaticConstructor(i);let a=false;if(n){i.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,y.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,y.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,i,false,false,n,a)}else if(this.isClassProperty()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(h&&d.name==="async"&&!c&&!this.isLineTerminator()){const t=this.eat(u.star);if(p.optional){this.unexpected(m)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,s,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(h&&(d.name==="get"||d.name==="set")&&!c&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,s,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,y.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,y.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(B|M|L);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(De);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,y.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,y.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),Se,r.key.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const i=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(i);const s=i.kind==="get"?i.static?ye:me:i.kind==="set"?i.static?he:Te:Se;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),s,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(B|L);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(De);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=$){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,y.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const i=n&&this.maybeParseExportNamespaceSpecifier(e);const s=r&&(!i||this.eat(u.comma));const a=t||n;if(n&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||i&&s&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|it,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,y.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,y.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,y.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const s=this.state.decoratorStack[this.state.decoratorStack.length-1];if(s.length){throw this.raise(e.start,y.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?y.DuplicateDefaultExport:y.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.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(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(st);if(t){this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,y.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,y.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Ue.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=Ve[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},60345:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.scope=t.path=void 0;let r=new WeakMap;t.path=r;let n=new WeakMap;t.scope=n;function clear(){clearPath();clearScope()}function clearPath(){t.path=r=new WeakMap}function clearScope(){t.scope=n=new WeakMap}},55361:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(99449);var i=r(5022);const s=process.env.NODE_ENV==="test";class TraversalContext{constructor(e,t,r,n){this.queue=null;this.priorityQueue=null;this.parentPath=n;this.scope=e;this.state=r;this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return true;if(t[e.type])return true;const r=i.VISITOR_KEYS[e.type];if(!(r!=null&&r.length))return false;for(const t of r){if(e[t])return true}return false}create(e,t,r,i){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:i})}maybeQueue(e,t){if(this.trap){throw new Error("Infinite cycle detected")}if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,r){if(e.length===0)return false;const n=[];for(let i=0;i=1e4){this.trap=true}const{node:i}=n;if(t.has(i))continue;if(i)t.add(i);if(n.visit()){r=true;break}if(this.priorityQueue.length){r=this.visitQueue(this.priorityQueue);this.priorityQueue=[];this.queue=e;if(r)break}}for(const t of e){t.popContext()}this.queue=null;return r}visit(e,t){const r=e[t];if(!r)return false;if(Array.isArray(r)){return this.visitMultiple(r,e,t)}else{return this.visitSingle(e,t)}}}t.default=TraversalContext},81535:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}t.default=Hub},64931:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"Hub",{enumerable:true,get:function(){return u.default}});t.visitors=t.default=void 0;var n=r(55361);var i=r(16697);t.visitors=i;var s=r(5022);var a=r(60345);var o=r(99449);var l=r(16578);var u=r(81535);function traverse(e,t={},r,n,a){if(!e)return;if(!t.noScope&&!r){if(e.type!=="Program"&&e.type!=="File"){throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+"passing scope and parentPath.")}}if(!s.VISITOR_KEYS[e.type]){return}i.explode(t);traverse.node(e,t,r,n,a)}var p=traverse;t.default=p;traverse.visitors=i;traverse.verify=i.verify;traverse.explode=i.explode;traverse.cheap=function(e,t){return s.traverseFast(e,t)};traverse.node=function(e,t,r,i,a,o){const l=s.VISITOR_KEYS[e.type];if(!l)return;const u=new n.default(r,t,i,a);for(const t of l){if(o&&o[t])continue;if(u.visit(e,t))return}};traverse.clearNode=function(e,t){s.removeProperties(e,t);a.path.delete(e)};traverse.removeProperties=function(e,t){s.traverseFast(e,traverse.clearNode,t);return e};function hasDenylistedType(e,t){if(e.node.type===t.type){t.has=true;e.stop()}}traverse.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return false;if(e.type===t)return true;const n={has:false,type:t};traverse(e,{noScope:true,denylist:r,enter:hasDenylistedType},null,n);return n.has};traverse.cache=a},29177:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findParent=findParent;t.find=find;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getAncestry=getAncestry;t.isAncestor=isAncestor;t.isDescendant=isDescendant;t.inType=inType;var n=r(5022);var i=r(99449);function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent(e=>e.isFunction())}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{e=e.parentPath}}while(e);if(e&&(e.isProgram()||e.isFile())){throw new Error("File/Program node, we can't possibly find a statement parent to this")}return e}function getEarliestCommonAncestorFrom(e){return this.getDeepestCommonAncestorFrom(e,function(e,t,r){let i;const s=n.VISITOR_KEYS[e.type];for(const e of r){const r=e[t+1];if(!i){i=r;continue}if(r.listKey&&i.listKey===r.listKey){if(r.keya){i=r}}return i})}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let r=Infinity;let n,i;const s=e.map(e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.lengtht===e)}function inType(...e){let t=this;while(t){for(const r of e){if(t.node.type===r)return true}t=t.parentPath}return false}},78272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shareCommentsWithSiblings=shareCommentsWithSiblings;t.addComment=addComment;t.addComments=addComments;var n=r(5022);function shareCommentsWithSiblings(){if(typeof this.key==="string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1);const i=this.getSibling(this.key+1);const s=Boolean(n.node);const a=Boolean(i.node);if(s&&!a){n.addComments("trailing",t)}else if(a&&!s){i.addComments("leading",r)}}function addComment(e,t,r){n.addComment(this.node,e,t,r)}function addComments(e,t){n.addComments(this.node,e,t)}},45472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.call=call;t._call=_call;t.isBlacklisted=t.isDenylisted=isDenylisted;t.visit=visit;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.setScope=setScope;t.setContext=setContext;t.resync=resync;t._resyncParent=_resyncParent;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncRemoved=_resyncRemoved;t.popContext=popContext;t.pushContext=pushContext;t.setup=setup;t.setKey=setKey;t.requeue=requeue;t._getQueueContexts=_getQueueContexts;var n=r(64931);var i=r(99449);function call(e){const t=this.opts;this.debug(e);if(this.node){if(this._call(t[e]))return true}if(this.node){return this._call(t[this.node.type]&&t[this.node.type][e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const r=t.call(this.state,this,this.state);if(r&&typeof r==="object"&&typeof r.then==="function"){throw new Error(`You appear to be using a plugin with an async traversal visitor, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}if(r){throw new Error(`Unexpected return value from visitor method ${t}`)}if(this.node!==e)return true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function visit(){if(!this.node){return false}if(this.isDenylisted()){return false}if(this.opts.shouldSkip&&this.opts.shouldSkip(this)){return false}if(this.shouldSkip||this.call("enter")||this.shouldSkip){this.debug("Skip...");return this.shouldStop}this.debug("Recursing into...");n.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys);this.call("exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=i.SHOULD_SKIP|i.SHOULD_STOP}function setScope(){if(this.opts&&this.opts.noScope)return;let e=this.parentPath;if(this.key==="key"&&e.isMethod())e=e.parentPath;let t;while(e&&!t){if(e.opts&&e.opts.noScope)return;t=e.scope;e=e.parentPath}this.scope=this.getScope(t);if(this.scope)this.scope.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}this.setScope();return this}function resync(){if(this.removed)return;this._resyncParent();this._resyncList();this._resyncKey()}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let e=0;e0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,r,n){this.listKey=r;this.container=t;this.parentPath=e||this.parentPath;this.setKey(n)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const r of t){r.maybeQueue(e)}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},55302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toComputedKey=toComputedKey;t.ensureBlock=ensureBlock;t.arrowFunctionToShadowed=arrowFunctionToShadowed;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;t.arrowFunctionToExpression=arrowFunctionToExpression;var n=r(5022);var i=r(98733);function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(n.isIdentifier(e))e=n.stringLiteral(e.name)}return e}function ensureBlock(){const e=this.get("body");const t=e.node;if(Array.isArray(e)){throw new Error("Can't convert array path to a block statement")}if(!t){throw new Error("Can't convert node without a body")}if(e.isBlockStatement()){return t}const r=[];let i="body";let s;let a;if(e.isStatement()){a="body";s=0;r.push(e.node)}else{i+=".body.0";if(this.isFunction()){s="argument";r.push(n.returnStatement(e.node))}else{s="expression";r.push(n.expressionStatement(e.node))}}this.node.body=n.blockStatement(r);const o=this.get(i);e.setup(o,a?o.node[a]:o.node,a,s);return this.node}function arrowFunctionToShadowed(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function arrowFunctionToExpression({allowInsertArrow:e=true,specCompliant:t=false,noNewArrows:r=!t}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}const s=hoistFunctionEnvironment(this,r,e);this.ensureBlock();this.node.type="FunctionExpression";if(!r){const e=s?null:this.parentPath.scope.generateUidIdentifier("arrowCheckId");if(e){this.parentPath.scope.push({id:e,init:n.objectExpression([])})}this.get("body").unshiftContainer("body",n.expressionStatement(n.callExpression(this.hub.addHelper("newArrowCheck"),[n.thisExpression(),e?n.identifier(e.name):n.identifier(s)])));this.replaceWith(n.callExpression(n.memberExpression((0,i.default)(this,true)||this.node,n.identifier("bind")),[e?n.identifier(e.name):n.thisExpression()]))}}function hoistFunctionEnvironment(e,t=true,r=true){const i=e.findParent(e=>{return e.isFunction()&&!e.isArrowFunctionExpression()||e.isProgram()||e.isClassProperty({static:false})});const s=(i==null?void 0:i.node.kind)==="constructor";if(i.isClassProperty()){throw e.buildCodeFrameError("Unable to transform arrow inside class property")}const{thisPaths:a,argumentsPaths:o,newTargetPaths:l,superProps:u,superCalls:p}=getScopeInformation(e);if(s&&p.length>0){if(!r){throw p[0].buildCodeFrameError("Unable to handle nested super() usage in arrow")}const e=[];i.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(t){if(!t.get("callee").isSuper())return;e.push(t)}});const t=getSuperBinding(i);e.forEach(e=>{const r=n.identifier(t);r.loc=e.node.callee.loc;e.get("callee").replaceWith(r)})}if(o.length>0){const e=getBinding(i,"arguments",()=>n.identifier("arguments"));o.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(l.length>0){const e=getBinding(i,"newtarget",()=>n.metaProperty(n.identifier("new"),n.identifier("target")));l.forEach(t=>{const r=n.identifier(e);r.loc=t.node.loc;t.replaceWith(r)})}if(u.length>0){if(!r){throw u[0].buildCodeFrameError("Unable to handle nested super.prop usage")}const e=u.reduce((e,t)=>e.concat(standardizeSuperProperty(t)),[]);e.forEach(e=>{const t=e.node.computed?"":e.get("property").node.name;const r=e.parentPath.isAssignmentExpression({left:e.node});const s=e.parentPath.isCallExpression({callee:e.node});const o=getSuperPropBinding(i,r,t);const l=[];if(e.node.computed){l.push(e.get("property").node)}if(r){const t=e.parentPath.node.right;l.push(t)}const u=n.callExpression(n.identifier(o),l);if(s){e.parentPath.unshiftContainer("arguments",n.thisExpression());e.replaceWith(n.memberExpression(u,n.identifier("call")));a.push(e.parentPath.get("arguments.0"))}else if(r){e.parentPath.replaceWith(u)}else{e.replaceWith(u)}})}let c;if(a.length>0||!t){c=getThisBinding(i,s);if(t||s&&hasSuperClass(i)){a.forEach(e=>{const t=e.isJSX()?n.jsxIdentifier(c):n.identifier(c);t.loc=e.node.loc;e.replaceWith(t)});if(!t)c=null}}return c}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){const t=e.parentPath;const r=t.node.operator.slice(0,-1);const i=t.node.right;t.node.operator="=";if(e.node.computed){const s=e.scope.generateDeclaredUidIdentifier("tmp");t.get("left").replaceWith(n.memberExpression(e.node.object,n.assignmentExpression("=",s,e.node.property),true));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(s.name),true),i))}else{t.get("left").replaceWith(n.memberExpression(e.node.object,e.node.property));t.get("right").replaceWith(n.binaryExpression(r,n.memberExpression(e.node.object,n.identifier(e.node.property.name)),i))}return[t.get("left"),t.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const r=e.scope.generateDeclaredUidIdentifier("tmp");const i=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null;const s=[n.assignmentExpression("=",r,n.memberExpression(e.node.object,i?n.assignmentExpression("=",i,e.node.property):e.node.property,e.node.computed)),n.assignmentExpression("=",n.memberExpression(e.node.object,i?n.identifier(i.name):e.node.property,e.node.computed),n.binaryExpression("+",n.identifier(r.name),n.numericLiteral(1)))];if(!e.parentPath.node.prefix){s.push(n.identifier(r.name))}t.replaceWith(n.sequenceExpression(s));const a=t.get("expressions.0.right");const o=t.get("expressions.1.left");return[a,o]}return[e]}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}function getThisBinding(e,t){return getBinding(e,"this",r=>{if(!t||!hasSuperClass(e))return n.thisExpression();const i=new WeakSet;e.traverse({Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ClassProperty(e){e.skip()},CallExpression(e){if(!e.get("callee").isSuper())return;if(i.has(e.node))return;i.add(e.node);e.replaceWithMultiple([e.node,n.assignmentExpression("=",n.identifier(r),n.identifier("this"))])}})})}function getSuperBinding(e){return getBinding(e,"supercall",()=>{const t=e.scope.generateUidIdentifier("args");return n.arrowFunctionExpression([n.restElement(t)],n.callExpression(n.super(),[n.spreadElement(n.identifier(t.name))]))})}function getSuperPropBinding(e,t,r){const i=t?"set":"get";return getBinding(e,`superprop_${i}:${r||""}`,()=>{const i=[];let s;if(r){s=n.memberExpression(n.super(),n.identifier(r))}else{const t=e.scope.generateUidIdentifier("prop");i.unshift(t);s=n.memberExpression(n.super(),n.identifier(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("value");i.push(t);s=n.assignmentExpression("=",s,n.identifier(t.name))}return n.arrowFunctionExpression(i,s)})}function getBinding(e,t,r){const n="binding:"+t;let i=e.getData(n);if(!i){const s=e.scope.generateUidIdentifier(t);i=s.name;e.setData(n,i);e.scope.push({id:s,init:r(i)})}return i}function getScopeInformation(e){const t=[];const r=[];const n=[];const i=[];const s=[];e.traverse({ClassProperty(e){e.skip()},Function(e){if(e.isArrowFunctionExpression())return;e.skip()},ThisExpression(e){t.push(e)},JSXIdentifier(e){if(e.node.name!=="this")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e){if(e.get("callee").isSuper())s.push(e)},MemberExpression(e){if(e.get("object").isSuper())i.push(e)},ReferencedIdentifier(e){if(e.node.name!=="arguments")return;r.push(e)},MetaProperty(e){if(!e.get("meta").isIdentifier({name:"new"}))return;if(!e.get("property").isIdentifier({name:"target"}))return;n.push(e)}});return{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:s}}},58619:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluateTruthy=evaluateTruthy;t.evaluate=evaluate;const r=["String","Number","Math"];const n=["random"];function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}function evaluateCached(e,t){const{node:r}=e;const{seen:n}=t;if(n.has(r)){const i=n.get(r);if(i.resolved){return i.value}else{deopt(e,t);return}}else{const i={resolved:false};n.set(r,i);const s=_evaluate(e,t);if(t.confident){i.resolved=true;i.value=s}return s}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const r=e.get("expressions");return evaluateCached(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral()){return e.node.value}if(e.isNullLiteral()){return null}if(e.isTemplateLiteral()){return evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const r=e.get("tag.object");const{node:{name:n}}=r;const i=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&i.isIdentifier()&&i.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const r=evaluateCached(e.get("test"),t);if(!t.confident)return;if(r){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const t=e.get("property");const r=e.get("object");if(r.isLiteral()&&t.isIdentifier()){const e=r.node.value;const n=typeof e;if(n==="number"||n==="string"){return e[t.node.name]}}}if(e.isReferencedIdentifier()){const r=e.scope.getBinding(e.node.name);if(r&&r.constantViolations.length>0){return deopt(r.path,t)}if(r&&e.node.start":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){const i=e.get("callee");let s;let a;if(i.isIdentifier()&&!e.scope.getBinding(i.node.name)&&r.indexOf(i.node.name)>=0){a=global[i.node.name]}if(i.isMemberExpression()){const e=i.get("object");const t=i.get("property");if(e.isIdentifier()&&t.isIdentifier()&&r.indexOf(e.node.name)>=0&&n.indexOf(t.node.name)<0){s=global[e.node.name];a=s[t.node.name]}if(e.isLiteral()&&t.isIdentifier()){const r=typeof e.node.value;if(r==="string"||r==="number"){s=e.node.value;a=s[t.node.name]}}}if(a){const r=e.get("arguments").map(e=>evaluateCached(e,t));if(!t.confident)return;return a.apply(s,r)}}deopt(e,t)}function evaluateQuasis(e,t,r,n=false){let i="";let s=0;const a=e.get("expressions");for(const e of t){if(!r.confident)break;i+=n?e.value.raw:e.value.cooked;const t=a[s++];if(t)i+=String(evaluateCached(t,r))}if(!r.confident)return;return i}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},30943:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOpposite=getOpposite;t.getCompletionRecords=getCompletionRecords;t.getSibling=getSibling;t.getPrevSibling=getPrevSibling;t.getNextSibling=getNextSibling;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.get=get;t._getKey=_getKey;t._getPattern=_getPattern;t.getBindingIdentifiers=getBindingIdentifiers;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;var n=r(99449);var i=r(5022);const s=0;const a=1;function NormalCompletion(e){return{type:s,path:e}}function BreakCompletion(e){return{type:a,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,r){if(e)return t.concat(_getCompletionRecords(e,r));return t}function completionRecordForSwitch(e,t,r){let n=[];for(let i=0;i{e.type=a})}function replaceBreakStatementInBreakCompletion(e,t){e.forEach(e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(i.unaryExpression("void",i.numericLiteral(0)))}else{e.path.remove()}}})}function getStatementListCompletion(e,t){let r=[];if(t.canHaveBreak){let n=[];for(let i=0;i0&&u.every(e=>e.type===a)){if(n.length>0&&u.every(e=>e.path.isBreakStatement({label:null}))){normalCompletionToBreak(n);r=r.concat(n);if(n.some(e=>e.path.isDeclaration())){r=r.concat(u);replaceBreakStatementInBreakCompletion(u,true)}replaceBreakStatementInBreakCompletion(u,false)}else{r=r.concat(u);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(u,true)}}break}if(i===e.length-1){r=r.concat(u)}else{r=r.concat(u.filter(e=>e.type===a));n=u.filter(e=>e.type===s)}}}else if(e.length){r=r.concat(_getCompletionRecords(e[e.length-1],t))}return r}function _getCompletionRecords(e,t){let r=[];if(e.isIfStatement()){r=addCompletionRecords(e.get("consequent"),r,t);r=addCompletionRecords(e.get("alternate"),r,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isProgram()||e.isBlockStatement()){r=r.concat(getStatementListCompletion(e.get("body"),t))}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){r=addCompletionRecords(e.get("block"),r,t);r=addCompletionRecords(e.get("handler"),r,t)}else if(e.isCatchClause()){r=addCompletionRecords(e.get("body"),r,t)}else if(e.isSwitchStatement()){r=completionRecordForSwitch(e.get("cases"),r,t)}else if(e.isSwitchCase()){r=r.concat(getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true}))}else if(e.isBreakStatement()){r.push(BreakCompletion(e))}else{r.push(NormalCompletion(e))}return r}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map(e=>e.path)}function getSibling(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const r=[];while(t.node){r.push(t);t=this.getSibling(++e)}return r}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const r=[];while(t.node){r.push(t);t=this.getSibling(--e)}return r}function get(e,t=true){if(t===true)t=this.context;const r=e.split(".");if(r.length===1){return this._getKey(e,t)}else{return this._getPattern(r,t)}}function _getKey(e,t){const r=this.node;const i=r[e];if(Array.isArray(i)){return i.map((s,a)=>{return n.default.get({listKey:e,parentPath:this,parent:r,container:i,key:a}).setContext(t)})}else{return n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}}function _getPattern(e,t){let r=this;for(const n of e){if(n==="."){r=r.parentPath}else{if(Array.isArray(r)){r=r[n]}else{r=r.get(n,t)}}}return r}function getBindingIdentifiers(e){return i.getBindingIdentifiers(this.node,e)}function getOuterBindingIdentifiers(e){return i.getOuterBindingIdentifiers(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const r=this;let n=[].concat(r);const s=Object.create(null);while(n.length){const r=n.shift();if(!r)continue;if(!r.node)continue;const a=i.getBindingIdentifiers.keys[r.node.type];if(r.isIdentifier()){if(e){const e=s[r.node.name]=s[r.node.name]||[];e.push(r)}else{s[r.node.name]=r}continue}if(r.isExportDeclaration()){const e=r.get("declaration");if(e.isDeclaration()){n.push(e)}continue}if(t){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression()){continue}}if(a){for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.SHOULD_SKIP=t.SHOULD_STOP=t.REMOVED=void 0;var n=r(33216);var i=r(31185);var s=r(64931);var a=r(16578);var o=r(5022);var l=r(60345);var u=r(78879);var p=r(29177);var c=r(66582);var f=r(7229);var d=r(58619);var y=r(55302);var h=r(43179);var m=r(45472);var T=r(42846);var S=r(14427);var b=r(30943);var E=r(78272);const g=i("babel");const x=1<<0;t.REMOVED=x;const P=1<<1;t.SHOULD_STOP=P;const A=1<<2;t.SHOULD_SKIP=A;class NodePath{constructor(e,t){this.contexts=[];this.state=null;this.opts=null;this._traverseFlags=0;this.skipKeys=null;this.parentPath=null;this.container=null;this.listKey=null;this.key=null;this.node=null;this.type=null;this.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:i,key:s}){if(!e&&t){e=t.hub}if(!r){throw new Error("To get a node path the parent needs to exist")}const a=n[s];let o=l.path.get(r);if(!o){o=new Map;l.path.set(r,o)}let u=o.get(a);if(!u){u=new NodePath(e,r);if(a)o.set(a,u)}u.setup(t,n,i,s);return u}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let r=this.data[e];if(r===undefined&&t!==undefined)r=this.data[e]=t;return r}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,s.default)(this.node,e,this.scope,t,this)}set(e,t){o.validate(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;if(t.inList)r=`${t.listKey}[${r}]`;e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){if(!g.enabled)return;g(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&A)}set shouldSkip(e){if(e){this._traverseFlags|=A}else{this._traverseFlags&=~A}}get shouldStop(){return!!(this._traverseFlags&P)}set shouldStop(e){if(e){this._traverseFlags|=P}else{this._traverseFlags&=~P}}get removed(){return!!(this._traverseFlags&x)}set removed(e){if(e){this._traverseFlags|=x}else{this._traverseFlags&=~x}}}Object.assign(NodePath.prototype,p,c,f,d,y,h,m,T,S,b,E);for(const e of o.TYPES){const t=`is${e}`;const r=o[t];NodePath.prototype[t]=function(e){return r(this.node,e)};NodePath.prototype[`assert${e}`]=function(t){if(!r(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}for(const e of Object.keys(n)){if(e[0]==="_")continue;if(o.TYPES.indexOf(e)<0)o.TYPES.push(e);const t=n[e];NodePath.prototype[`is${e}`]=function(e){return t.checkPath(this,e)}}var v=NodePath;t.default=v},66582:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getTypeAnnotation=getTypeAnnotation;t._getTypeAnnotation=_getTypeAnnotation;t.isBaseType=isBaseType;t.couldBeBaseType=couldBeBaseType;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.isGenericType=isGenericType;var n=r(38004);var i=r(5022);function getTypeAnnotation(){if(this.typeAnnotation)return this.typeAnnotation;let e=this._getTypeAnnotation()||i.anyTypeAnnotation();if(i.isTypeAnnotation(e))e=e.typeAnnotation;return this.typeAnnotation=e}const s=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return i.stringTypeAnnotation()}if(e.key==="left"&&t.isForOfStatement()){return i.anyTypeAnnotation()}return i.voidTypeAnnotation()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(s.has(e)){return}s.add(e);try{var t;let r=n[e.type];if(r){return r.call(this,e)}r=n[this.parentPath.type];if((t=r)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{s.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,r){if(e==="string"){return i.isStringTypeAnnotation(t)}else if(e==="number"){return i.isNumberTypeAnnotation(t)}else if(e==="boolean"){return i.isBooleanTypeAnnotation(t)}else if(e==="any"){return i.isAnyTypeAnnotation(t)}else if(e==="mixed"){return i.isMixedTypeAnnotation(t)}else if(e==="empty"){return i.isEmptyTypeAnnotation(t)}else if(e==="void"){return i.isVoidTypeAnnotation(t)}else{if(r){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(i.isAnyTypeAnnotation(t))return true;if(i.isUnionTypeAnnotation(t)){for(const r of t.types){if(i.isAnyTypeAnnotation(r)||_isBaseType(e,r,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const r=e.getTypeAnnotation();if(!i.isAnyTypeAnnotation(t)&&i.isFlowBaseAnnotation(t)){return r.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();return i.isGenericTypeAnnotation(t)&&i.isIdentifier(t.id,{name:e})}},51212:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(5022);function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return n.voidTypeAnnotation()}else if(e.name==="NaN"||e.name==="Infinity"){return n.numberTypeAnnotation()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,r){const i=[];const s=[];let a=getConstantViolationsBefore(e,t,s);const o=getConditionalAnnotation(e,t,r);if(o){const t=getConstantViolationsBefore(e,o.ifStatement);a=a.filter(e=>t.indexOf(e)<0);i.push(o.typeAnnotation)}if(a.length){a=a.concat(s);for(const e of a){i.push(e.getTypeAnnotation())}}if(!i.length){return}if(n.isTSTypeAnnotation(i[0])&&n.createTSUnionType){return n.createTSUnionType(i)}if(n.createFlowUnionType){return n.createFlowUnionType(i)}return n.createUnionTypeAnnotation(i)}function getConstantViolationsBefore(e,t,r){const n=e.constantViolations.slice();n.unshift(e.path);return n.filter(e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);if(r&&n==="unknown")r.push(e);return n==="before"})}function inferAnnotationFromBinaryExpression(e,t){const r=t.node.operator;const i=t.get("right").resolve();const s=t.get("left").resolve();let a;if(s.isIdentifier({name:e})){a=i}else if(i.isIdentifier({name:e})){a=s}if(a){if(r==="==="){return a.getTypeAnnotation()}if(n.BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(r)>=0){return n.numberTypeAnnotation()}return}if(r!=="==="&&r!=="==")return;let o;let l;if(s.isUnaryExpression({operator:"typeof"})){o=s;l=i}else if(i.isUnaryExpression({operator:"typeof"})){o=i;l=s}if(!o)return;if(!o.get("argument").isIdentifier({name:e}))return;l=l.resolve();if(!l.isLiteral())return;const u=l.node.value;if(typeof u!=="string")return;return n.createTypeAnnotationBasedOnTypeof(u)}function getParentConditionalPath(e,t,r){let n;while(n=t.parentPath){if(n.isIfStatement()||n.isConditionalExpression()){if(t.key==="test"){return}return n}if(n.isFunction()){if(n.parentPath.scope.getBinding(r)!==e)return}t=n}}function getConditionalAnnotation(e,t,r){const i=getParentConditionalPath(e,t,r);if(!i)return;const s=i.get("test");const a=[s];const o=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VariableDeclarator=VariableDeclarator;t.TypeCastExpression=TypeCastExpression;t.NewExpression=NewExpression;t.TemplateLiteral=TemplateLiteral;t.UnaryExpression=UnaryExpression;t.BinaryExpression=BinaryExpression;t.LogicalExpression=LogicalExpression;t.ConditionalExpression=ConditionalExpression;t.SequenceExpression=SequenceExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.AssignmentExpression=AssignmentExpression;t.UpdateExpression=UpdateExpression;t.StringLiteral=StringLiteral;t.NumericLiteral=NumericLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.RegExpLiteral=RegExpLiteral;t.ObjectExpression=ObjectExpression;t.ArrayExpression=ArrayExpression;t.RestElement=RestElement;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;t.CallExpression=CallExpression;t.TaggedTemplateExpression=TaggedTemplateExpression;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return i.default}});var n=r(5022);var i=r(51212);function VariableDeclarator(){var e;const t=this.get("id");if(!t.isIdentifier())return;const r=this.get("init");let n=r.getTypeAnnotation();if(((e=n)==null?void 0:e.type)==="AnyTypeAnnotation"){if(r.isCallExpression()&&r.get("callee").isIdentifier({name:"Array"})&&!r.scope.hasBinding("Array",true)){n=ArrayExpression()}}return n}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function NewExpression(e){if(this.get("callee").isIdentifier()){return n.genericTypeAnnotation(e.callee)}}function TemplateLiteral(){return n.stringTypeAnnotation()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return n.voidTypeAnnotation()}else if(n.NUMBER_UNARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.STRING_UNARY_OPERATORS.indexOf(t)>=0){return n.stringTypeAnnotation()}else if(n.BOOLEAN_UNARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}}function BinaryExpression(e){const t=e.operator;if(n.NUMBER_BINARY_OPERATORS.indexOf(t)>=0){return n.numberTypeAnnotation()}else if(n.BOOLEAN_BINARY_OPERATORS.indexOf(t)>=0){return n.booleanTypeAnnotation()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return n.numberTypeAnnotation()}else if(t.isBaseType("string")||e.isBaseType("string")){return n.stringTypeAnnotation()}return n.unionTypeAnnotation([n.stringTypeAnnotation(),n.numberTypeAnnotation()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];if(n.isTSTypeAnnotation(e[0])&&n.createTSUnionType){return n.createTSUnionType(e)}if(n.createFlowUnionType){return n.createFlowUnionType(e)}return n.createUnionTypeAnnotation(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return n.numberTypeAnnotation()}}function StringLiteral(){return n.stringTypeAnnotation()}function NumericLiteral(){return n.numberTypeAnnotation()}function BooleanLiteral(){return n.booleanTypeAnnotation()}function NullLiteral(){return n.nullLiteralTypeAnnotation()}function RegExpLiteral(){return n.genericTypeAnnotation(n.identifier("RegExp"))}function ObjectExpression(){return n.genericTypeAnnotation(n.identifier("Object"))}function ArrayExpression(){return n.genericTypeAnnotation(n.identifier("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return n.genericTypeAnnotation(n.identifier("Function"))}const s=n.buildMatchMemberExpression("Array.from");const a=n.buildMatchMemberExpression("Object.keys");const o=n.buildMatchMemberExpression("Object.values");const l=n.buildMatchMemberExpression("Object.entries");function CallExpression(){const{callee:e}=this.node;if(a(e)){return n.arrayTypeAnnotation(n.stringTypeAnnotation())}else if(s(e)||o(e)){return n.arrayTypeAnnotation(n.anyTypeAnnotation())}else if(l(e)){return n.arrayTypeAnnotation(n.tupleTypeAnnotation([n.stringTypeAnnotation(),n.anyTypeAnnotation()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){if(e.is("async")){if(e.is("generator")){return n.genericTypeAnnotation(n.identifier("AsyncIterator"))}else{return n.genericTypeAnnotation(n.identifier("Promise"))}}else{if(e.node.returnType){return e.node.returnType}else{}}}}},43179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.matchesPattern=matchesPattern;t.has=has;t.isStatic=isStatic;t.isnt=isnt;t.equals=equals;t.isNodeType=isNodeType;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.isCompletionRecord=isCompletionRecord;t.isStatementOrBlock=isStatementOrBlock;t.referencesImport=referencesImport;t.getSource=getSource;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._guessExecutionStatusRelativeToDifferentFunctions=_guessExecutionStatusRelativeToDifferentFunctions;t.resolve=resolve;t._resolve=_resolve;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.is=void 0;var n=r(5022);function matchesPattern(e,t){return n.matchesPattern(this.node,e,t)}function has(e){const t=this.node&&this.node[e];if(t&&Array.isArray(t)){return!!t.length}else{return!!t}}function isStatic(){return this.scope.isStatic(this.node)}const i=has;t.is=i;function isnt(e){return!this.has(e)}function equals(e,t){return this.node[e]===t}function isNodeType(e){return n.isType(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return n.isBlockStatement(e)}else if(this.isBlockStatement()){return n.isExpression(e)}return false}function isCompletionRecord(e){let t=this;let r=true;do{const n=t.container;if(t.isFunction()&&!r){return!!e}r=false;if(Array.isArray(n)&&t.key!==n.length-1){return false}}while((t=t.parentPath)&&!t.isProgram());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||n.isBlockStatement(this.container)){return false}else{return n.STATEMENT_OR_BLOCK_KEYS.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if((this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?n.isStringLiteral(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return false;const i=r.path;const s=i.parentPath;if(!s.isImportDeclaration())return false;if(s.node.source.value===e){if(!t)return true}else{return false}if(i.isImportDefaultSpecifier()&&t==="default"){return true}if(i.isImportNamespaceSpecifier()&&t==="*"){return true}if(i.isImportSpecifier()&&n.isIdentifier(i.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return(e.scope.getFunctionParent()||e.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let r=0;r=0)return"after";if(r.this.indexOf(e)>=0)return"before";let i;const s={target:0,this:0};while(!i&&s.this=0){i=e}else{s.this++}}if(!i){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(r.this,s.this-1)||isExecutionUncertainInList(r.target,s.target-1)){return"unknown"}const a={this:r.this[s.this-1],target:r.target[s.target-1]};if(a.target.listKey&&a.this.listKey&&a.target.container===a.this.container){return a.target.key>a.this.key?"before":"after"}const o=n.VISITOR_KEYS[i.type];const l={this:o.indexOf(a.this.parentKey),target:o.indexOf(a.target.parentKey)};return l.target>l.this?"before":"after"}const s=new WeakSet;function _guessExecutionStatusRelativeToDifferentFunctions(e){if(!e.isFunctionDeclaration()||e.parentPath.isExportDeclaration()){return"unknown"}const t=e.scope.getBinding(e.node.id.name);if(!t.references)return"before";const r=t.referencePaths;let n;for(const t of r){const r=!!t.find(t=>t.node===e.node);if(r)continue;if(t.key!=="callee"||!t.parentPath.isCallExpression()){return"unknown"}if(s.has(t.node))continue;s.add(t.node);const i=this._guessExecutionStatusRelativeTo(t);s.delete(t.node);if(n&&n!==i){return"unknown"}else{n=i}}return n}function resolve(e,t){return this._resolve(e,t)||this}function _resolve(e,t){if(t&&t.indexOf(this)>=0)return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if(r.kind==="module")return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find(e=>e.node===n.node))return;return n}}else if(this.isTypeCastExpression()){return this.get("expression").resolve(e,t)}else if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!n.isLiteral(r))return;const i=r.value;const s=this.get("object").resolve(e,t);if(s.isObjectExpression()){const r=s.get("properties");for(const n of r){if(!n.isProperty())continue;const r=n.get("key");let s=n.isnt("computed")&&r.isIdentifier({name:i});s=s||r.isLiteral({value:i});if(s)return n.get("value").resolve(e,t)}}else if(s.isArrayExpression()&&!isNaN(+i)){const r=s.get("elements");const n=r[i];if(n)return n.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every(e=>e.isConstantExpression())}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find(e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(!e.isProgram()&&!e.isFunction())return false;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}const t=e.isFunction()?e.node.body:e.node;for(const e of t.directives){if(e.value.value==="use strict"){return true}}});return!!t}},79262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(5022);const i={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&n.react.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);if(r)t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);if(!r)return;for(const n of r.constantViolations){if(n.scope!==r.path.scope){t.mutableBinding=true;e.stop();return}}if(r!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=r}};class PathHoister{constructor(e,t){this.breakOnScopePaths=void 0;this.bindings=void 0;this.mutableBinding=void 0;this.scopes=void 0;this.scope=void 0;this.path=void 0;this.attachAfter=void 0;this.breakOnScopePaths=[];this.bindings={};this.mutableBinding=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.indexOf(e.path)>=0){break}}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e){t=e.scope.parent}if(t.path.isProgram()||t.path.isFunction()){for(const r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if(n.kind==="param"||n.path.parentKey==="params"){continue}const i=this.getAttachmentParentForPath(n.path);if(i.key>=e.key){this.attachAfter=true;e=n.path;for(const t of n.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const r=[function(e,t){const r=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(r){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&(e.key==="consequent"||e.key==="alternate")||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}];t.hooks=r},33216:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ForAwaitStatement=t.NumericLiteralTypeAnnotation=t.ExistentialTypeParam=t.SpreadProperty=t.RestProperty=t.Flow=t.Pure=t.Generated=t.User=t.Var=t.BlockScoped=t.Referenced=t.Scope=t.Expression=t.Statement=t.BindingIdentifier=t.ReferencedMemberExpression=t.ReferencedIdentifier=void 0;var n=r(5022);const i={types:["Identifier","JSXIdentifier"],checkPath(e,t){const{node:r,parent:i}=e;if(!n.isIdentifier(r,t)&&!n.isJSXMemberExpression(i,t)){if(n.isJSXIdentifier(r,t)){if(n.react.isCompatTag(r.name))return false}else{return false}}return n.isReferenced(r,i,e.parentPath.parent)}};t.ReferencedIdentifier=i;const s={types:["MemberExpression"],checkPath({node:e,parent:t}){return n.isMemberExpression(e)&&n.isReferenced(e,t)}};t.ReferencedMemberExpression=s;const a={types:["Identifier"],checkPath(e){const{node:t,parent:r}=e;const i=e.parentPath.parent;return n.isIdentifier(t)&&n.isBinding(t,r,i)}};t.BindingIdentifier=a;const o={types:["Statement"],checkPath({node:e,parent:t}){if(n.isStatement(e)){if(n.isVariableDeclaration(e)){if(n.isForXStatement(t,{left:e}))return false;if(n.isForStatement(t,{init:e}))return false}return true}else{return false}}};t.Statement=o;const l={types:["Expression"],checkPath(e){if(e.isIdentifier()){return e.isReferencedIdentifier()}else{return n.isExpression(e.node)}}};t.Expression=l;const u={types:["Scopable","Pattern"],checkPath(e){return n.isScope(e.node,e.parent)}};t.Scope=u;const p={checkPath(e){return n.isReferenced(e.node,e.parent)}};t.Referenced=p;const c={checkPath(e){return n.isBlockScoped(e.node)}};t.BlockScoped=c;const f={types:["VariableDeclaration"],checkPath(e){return n.isVar(e.node)}};t.Var=f;const d={checkPath(e){return e.node&&!!e.node.loc}};t.User=d;const y={checkPath(e){return!e.isUser()}};t.Generated=y;const h={checkPath(e,t){return e.scope.isPure(e.node,t)}};t.Pure=h;const m={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath({node:e}){if(n.isFlow(e)){return true}else if(n.isImportDeclaration(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(n.isExportDeclaration(e)){return e.exportKind==="type"}else if(n.isImportSpecifier(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}};t.Flow=m;const T={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectPattern()}};t.RestProperty=T;const S={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectExpression()}};t.SpreadProperty=S;const b={types:["ExistsTypeAnnotation"]};t.ExistentialTypeParam=b;const E={types:["NumberLiteralTypeAnnotation"]};t.NumericLiteralTypeAnnotation=E;const g={types:["ForOfStatement"],checkPath({node:e}){return e.await===true}};t.ForAwaitStatement=g},14427:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.insertBefore=insertBefore;t._containerInsert=_containerInsert;t._containerInsertBefore=_containerInsertBefore;t._containerInsertAfter=_containerInsertAfter;t.insertAfter=insertAfter;t.updateSiblingKeys=updateSiblingKeys;t._verifyNodeList=_verifyNodeList;t.unshiftContainer=unshiftContainer;t.pushContainer=pushContainer;t.hoist=hoist;var n=r(60345);var i=r(79262);var s=r(99449);var a=r(5022);function insertBefore(e){this._assertUnremoved();const t=this._verifyNodeList(e);const{parentPath:r}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||r.isExportNamedDeclaration()||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertBefore(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.unshiftContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function _containerInsert(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let n=0;n{return a.isExpression(e)?a.expressionStatement(e):e}))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){const e=this.node;let{scope:n}=this;if(n.path.isPattern()){a.assertExpression(e);this.replaceWith(a.callExpression(a.arrowFunctionExpression([],e),[]));this.get("callee.body").insertAfter(t);return[this]}if(r.isMethod({computed:true,key:e})){n=n.parent}const i=n.generateDeclaredUidIdentifier();t.unshift(a.expressionStatement(a.assignmentExpression("=",a.cloneNode(i),e)));t.push(a.expressionStatement(a.cloneNode(i)))}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertAfter(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(a.blockStatement(r?[e]:[]));return this.pushContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(const[,n]of r){if(n.key>=e){n.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.remove=remove;t._removeFromScope=_removeFromScope;t._callRemovalHooks=_callRemovalHooks;t._remove=_remove;t._markRemoved=_markRemoved;t._assertUnremoved=_assertUnremoved;var n=r(33100);var i=r(60345);var s=r(99449);function remove(){var e;this._assertUnremoved();this.resync();if(!((e=this.opts)!=null&&e.noScope)){this._removeFromScope()}if(this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings();this._remove();this._markRemoved()}function _removeFromScope(){const e=this.getBindingIdentifiers();Object.keys(e).forEach(e=>this.scope.removeBinding(e))}function _callRemovalHooks(){for(const e of n.hooks){if(e(this,this.parentPath))return true}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);this.updateSiblingKeys(this.key,-1)}else{this._replaceWith(null)}}function _markRemoved(){this._traverseFlags|=s.SHOULD_SKIP|s.REMOVED;if(this.parent)i.path.get(this.parent).delete(this.node);this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},7229:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;t.replaceWith=replaceWith;t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;var n=r(71236);var i=r(64931);var s=r(99449);var a=r(60345);var o=r(13674);var l=r(5022);var u=r(28497);function replaceWithMultiple(e){var t;this.resync();e=this._verifyNodeList(e);l.inheritLeadingComments(e[0],this.node);l.inheritTrailingComments(e[e.length-1],this.node);(t=a.path.get(this.parent))==null?void 0:t.delete(this.node);this.node=this.container[this.key]=null;const r=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return r}function replaceWithSourceString(e){this.resync();try{e=`(${e})`;e=(0,o.parse)(e)}catch(t){const r=t.loc;if(r){t.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}});t.code="BABEL_REPLACE_SOURCE_ERROR"}throw t}e=e.program.body[0].expression;i.default.removeProperties(e);return this.replaceWith(e)}function replaceWith(e){this.resync();if(this.removed){throw new Error("You can't replace this node, we've already removed it")}if(e instanceof s.default){e=e.node}if(!e){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===e){return[this]}if(this.isProgram()&&!l.isProgram(e)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(e)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof e==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let t="";if(this.isNodeType("Statement")&&l.isExpression(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)&&!this.parentPath.isExportDefaultDeclaration()){e=l.expressionStatement(e);t="expression"}}if(this.isNodeType("Expression")&&l.isStatement(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)){return this.replaceExpressionWithStatements([e])}}const r=this.node;if(r){l.inheritsComments(e,r);l.removeComments(r)}this._replaceWith(e);this.type=e.type;this.setScope();this.requeue();return[t?this.get(t):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){l.validate(this.parent,this.key,[e])}else{l.validate(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=a.path.get(this.parent))==null?void 0:t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){this.resync();const t=l.toSequenceExpression(e,this.scope);if(t){return this.replaceWith(t)[0].get("expressions")}const r=this.getFunctionParent();const n=r==null?void 0:r.is("async");const s=r==null?void 0:r.is("generator");const a=l.arrowFunctionExpression([],l.blockStatement(e));this.replaceWith(l.callExpression(a,[]));const o=this.get("callee");(0,u.default)(o.get("body"),e=>{this.scope.push({id:e})},"var");const p=this.get("callee").getCompletionRecords();for(const e of p){if(!e.isExpressionStatement())continue;const t=e.findParent(e=>e.isLoop());if(t){let r=t.getData("expressionReplacementReturnUid");if(!r){r=o.scope.generateDeclaredUidIdentifier("ret");o.get("body").pushContainer("body",l.returnStatement(l.cloneNode(r)));t.setData("expressionReplacementReturnUid",r)}else{r=l.identifier(r.name)}e.get("expression").replaceWith(l.assignmentExpression("=",l.cloneNode(r),e.node.expression))}else{e.replaceWith(l.returnStatement(e.node.expression))}}o.arrowFunctionToExpression();const c=o;const f=n&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",l.FUNCTION_TYPES);const d=s&&i.default.hasType(this.get("callee.body").node,"YieldExpression",l.FUNCTION_TYPES);if(f){c.set("async",true);if(!d){this.replaceWith(l.awaitExpression(this.node))}}if(d){c.set("generator",true);this.replaceWith(l.yieldExpression(this.node,true))}return c.get("body.body")}function replaceInline(e){this.resync();if(Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},68153:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Binding{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0;this.scope=void 0;this.path=void 0;this.kind=void 0;this.constantViolations=[];this.constant=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=r;this.kind=n;this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.indexOf(e)!==-1){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.indexOf(e)!==-1){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t.default=Binding},16578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(44118);var i=r(64931);var s=r(68153);var a=r(41389);var o=r(5022);var l=r(60345);function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(o.isModuleDeclaration(e)){if((o.isExportAllDeclaration(e)||o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.source){gatherNodeParts(e.source,t)}else if((o.isExportNamedDeclaration(e)||o.isImportDeclaration(e))&&e.specifiers&&e.specifiers.length){for(const r of e.specifiers)gatherNodeParts(r,t)}else if((o.isExportDefaultDeclaration(e)||o.isExportNamedDeclaration(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(o.isModuleSpecifier(e)){gatherNodeParts(e.local,t)}else if(o.isLiteral(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const r of e.properties){gatherNodeParts(r,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":t.push(e.name);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}const u={For(e){for(const t of o.FOR_INIT_KEYS){const r=e.get(t);if(r.isVar()){const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerBinding("var",r)}}},Declaration(e){if(e.isBlockScoped())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier()){t.constantViolations.push(e)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(o.isExportAllDeclaration(t))return;const n=t.declaration;if(o.isClassDeclaration(n)||o.isFunctionDeclaration(n)){const t=n.id;if(!t)return;const i=r.getBinding(t.name);if(i)i.reference(e)}else if(o.isVariableDeclaration(n)){for(const t of n.declarations){for(const n of Object.keys(o.getBindingIdentifiers(t))){const t=r.getBinding(n);if(t)t.reference(e)}}}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const r=t.getBlockParent();r.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){if(e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e.get("id"),e)}const t=e.get("params");for(const r of t){e.scope.registerBinding("param",r)}},ClassExpression(e){if(e.has("id")&&!e.get("id").node[o.NOT_LOCAL_BINDING]){e.scope.registerBinding("local",e)}}};let p=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.labels=void 0;this.inited=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const r=l.scope.get(t);if((r==null?void 0:r.path)===e){return r}l.scope.set(t,this);this.uid=p++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,r=this.path;do{const e=r.key==="key";r=r.parentPath;if(e&&r.isMethod())r=r.parentPath;if(r&&r.isScope())t=r}while(r&&!t);return(e=t)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,i.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return o.cloneNode(t)}generateUidIdentifier(e){return o.identifier(this.generateUid(e))}generateUid(e="temp"){e=o.toIdentifier(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let t;let r=1;do{t=this._generateUid(e,r);r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();n.references[t]=true;n.uids[t]=true;return t}_generateUid(e,t){let r=e;if(t>1)r+=t;return`_${r}`}generateUidBasedOnNode(e,t){const r=[];gatherNodeParts(e,r);let n=r.join("$");n=n.replace(/^_/,"")||t||"ref";return this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return o.identifier(this.generateUidBasedOnNode(e,t))}isStatic(e){if(o.isThisExpression(e)||o.isSuper(e)){return true}if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const r=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:r});return o.cloneNode(r)}return r}}checkBlockScopedCollisions(e,t,r,n){if(t==="param")return;if(e.kind==="local")return;const i=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&(t==="let"||t==="const");if(i){throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}}rename(e,t,r){const i=this.getBinding(e);if(i){t=t||this.generateUidIdentifier(e).name;return new n.default(i,e,t).rename(r)}}_renameFromMap(e,t,r,n){if(e[t]){e[r]=n;e[t]=null}}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,r){if(o.isIdentifier(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(o.isArrayExpression(e)){return e}if(o.isIdentifier(e,{name:"arguments"})){return o.callExpression(o.memberExpression(o.memberExpression(o.memberExpression(o.identifier("Array"),o.identifier("prototype")),o.identifier("slice")),o.identifier("call")),[e])}let n;const i=[e];if(t===true){n="toConsumableArray"}else if(t){i.push(o.numericLiteral(t));n="slicedToArray"}else{n="toArray"}if(r){i.unshift(this.hub.addHelper(n));n="maybeArrayLike"}return o.callExpression(this.hub.addHelper(n),i)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement()){this.registerLabel(e)}else if(e.isFunctionDeclaration()){this.registerBinding("hoisted",e.get("id"),e)}else if(e.isVariableDeclaration()){const t=e.get("declarations");for(const r of t){this.registerBinding(e.node.kind,r)}}else if(e.isClassDeclaration()){this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.get("specifiers");for(const e of t){this.registerBinding("module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return o.unaryExpression("void",o.numericLiteral(0),true)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const t=this.getBinding(r);if(t)t.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r){this.registerBinding(e,t)}return}const n=this.getProgramParent();const i=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(i)){n.references[t]=true;for(const n of i[t]){const i=this.getOwnBinding(t);if(i){if(i.identifier===n)continue;this.checkBlockScopedCollisions(i,e,t,n)}if(i){this.registerConstantViolation(r)}else{this.bindings[t]=new s.default({identifier:n,scope:this,path:r,kind:e})}}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(o.isIdentifier(e)){const r=this.getBinding(e.name);if(!r)return false;if(t)return r.constant;return true}else if(o.isClass(e)){if(e.superClass&&!this.isPure(e.superClass,t)){return false}return this.isPure(e.body,t)}else if(o.isClassBody(e)){for(const r of e.body){if(!this.isPure(r,t))return false}return true}else if(o.isBinary(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(o.isArrayExpression(e)){for(const r of e.elements){if(!this.isPure(r,t))return false}return true}else if(o.isObjectExpression(e)){for(const r of e.properties){if(!this.isPure(r,t))return false}return true}else if(o.isMethod(e)){if(e.computed&&!this.isPure(e.key,t))return false;if(e.kind==="get"||e.kind==="set")return false;return true}else if(o.isProperty(e)){if(e.computed&&!this.isPure(e.key,t))return false;return this.isPure(e.value,t)}else if(o.isUnaryExpression(e)){return this.isPure(e.argument,t)}else if(o.isTaggedTemplateExpression(e)){return o.matchesPattern(e.tag,"String.raw")&&!this.hasBinding("String",true)&&this.isPure(e.quasi,t)}else if(o.isTemplateLiteral(e)){for(const r of e.expressions){if(!this.isPure(r,t))return false}return true}else{return o.isPureish(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(r!=null)return r}while(t=t.parent)}removeData(e){let t=this;do{const r=t.data[e];if(r!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;this.references=Object.create(null);this.bindings=Object.create(null);this.globals=Object.create(null);this.uids=Object.create(null);this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const r={references:[],constantViolations:[],assignments:[]};this.crawling=true;if(e.type!=="Program"&&u._exploded){for(const t of u.enter){t(e,r)}const t=u[e.type];if(t){for(const n of t.enter){n(e,r)}}}e.traverse(u,r);this.crawling=false;for(const e of r.assignments){const r=e.getBindingIdentifiers();for(const n of Object.keys(r)){if(e.scope.getBinding(n))continue;t.addGlobal(r[n])}e.scope.registerConstantViolation(e)}for(const e of r.references){const r=e.scope.getBinding(e.node.name);if(r){r.reference(e)}else{t.addGlobal(e.node)}}for(const e of r.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const r=e.unique;const n=e.kind||"var";const i=e._blockHoist==null?2:e._blockHoist;const s=`declaration:${n}:${i}`;let a=!r&&t.getData(s);if(!a){const e=o.variableDeclaration(n,[]);e._blockHoist=i;[a]=t.unshiftContainer("body",[e]);if(!r)t.setData(s,a)}const l=o.variableDeclarator(e.id,e.init);a.node.declarations.push(l);this.registerBinding(n,a.get("declarations").pop())}getProgramParent(){let e=this;do{if(e.path.isProgram()){return e}}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent()){return e}}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent()){return e}}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const r of Object.keys(t.bindings)){if(r in e===false){e[r]=t.bindings[r]}}t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const i=e.bindings[n];if(i.kind===r)t[n]=i}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let r;do{const i=t.getOwnBinding(e);if(i){var n;if((n=r)!=null&&n.isPattern()&&i.kind!=="param"){}else{return i}}r=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return false;if(this.hasOwnBinding(e))return true;if(this.parentHasBinding(e,t))return true;if(this.hasUid(e))return true;if(!t&&Scope.globals.includes(e))return true;if(!t&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);if(r){r.scope.removeOwnBinding(e);r.scope=t;t.bindings[e]=r}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null?void 0:t.scope.removeOwnBinding(e);let r=this;do{if(r.uids[e]){r.uids[e]=false}}while(r=r.parent)}}t.default=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},44118:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(68153);var i=r(76729);var s=r(5022);const a={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){skipAllButComputedMethodKey(e)}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.getOuterBindingIdentifiers();for(const e in r){if(e===t.oldName)r[e].name=t.newName}}};class Renamer{constructor(e,t,r){this.newName=r;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()&&!t.get("declaration").node.id){return}(0,i.default)(t)}maybeConvertFromClassFunctionDeclaration(e){return;if(!e.isFunctionDeclaration()&&!e.isClassDeclaration())return;if(this.binding.kind!=="hoisted")return;e.node.id=s.identifier(this.oldName);e.node._blockHoist=3;e.replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.identifier(this.newName),s.toExpression(e.node))]))}maybeConvertFromClassFunctionExpression(e){return;if(!e.isFunctionExpression()&&!e.isClassExpression())return;if(this.binding.kind!=="local")return;e.node.id=s.identifier(this.oldName);this.binding.scope.parent.push({id:s.identifier(this.newName)});e.replaceWith(s.assignmentExpression("=",s.identifier(this.newName),e.node))}rename(e){const{binding:t,oldName:r,newName:n}=this;const{scope:i,path:s}=t;const o=s.find(e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression());if(o){const e=o.getOuterBindingIdentifiers();if(e[r]===t.identifier){this.maybeConvertFromExportDeclaration(o)}}const l=e||i.block;if((l==null?void 0:l.type)==="SwitchStatement"){l.cases.forEach(e=>{i.traverse(e,a,this)})}else{i.traverse(l,a,this)}if(!e){i.removeOwnBinding(r);i.bindings[n]=t;this.binding.identifier.name=n}if(o){this.maybeConvertFromClassFunctionDeclaration(o);this.maybeConvertFromClassFunctionExpression(o)}}}t.default=Renamer;function skipAllButComputedMethodKey(e){if(!e.isMethod()||!e.node.computed){e.skip();return}const t=s.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}},16697:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.explode=explode;t.verify=verify;t.merge=merge;var n=r(33216);var i=r(5022);function explode(e){if(e._exploded)return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=t.split("|");if(r.length===1)continue;const n=e[t];delete e[t];for(const t of r){e[t]=n}}verify(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=n[t];if(!r)continue;const i=e[t];for(const e of Object.keys(i)){i[e]=wrapCheck(r,i[e])}delete e[t];if(r.types){for(const t of r.types){if(e[t]){mergePair(e[t],i)}else{e[t]=i}}}else{mergePair(e,i)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];let n=i.FLIPPED_ALIAS_KEYS[t];const s=i.DEPRECATED_KEYS[t];if(s){console.trace(`Visitor defined for ${t} but it has been renamed to ${s}`);n=[s]}if(!n)continue;delete e[t];for(const t of n){const n=e[t];if(n){mergePair(n,r)}else{e[t]=Object.assign({},r)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify(e){if(e._verified)return;if(typeof e==="function"){throw new Error("You passed `traverse()` a function when it expected a visitor object, "+"are you sure you didn't mean `{ enter: Function }`?")}for(const t of Object.keys(e)){if(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(i.TYPES.indexOf(t)<0){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`)}const r=e[t];if(typeof r==="object"){for(const e of Object.keys(r)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,r[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const r=[].concat(t);for(const t of r){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],r){const n={};for(let i=0;ie.toString())}return n});n[i]=s}return n}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];if(typeof r==="function"){e[t]={enter:r}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const r=function(r){if(e.checkPath(r)){return t.apply(this,arguments)}};r.toString=(()=>t.toString());return r}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"){return true}return false}function mergePair(e,t){for(const r of Object.keys(t)){e[r]=[].concat(e[r]||[],t[r])}}},19689:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(20211);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},33503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(30082);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},91984:()=>{},49906:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(99634);var i=r(50458);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(58348);var i=r(59595);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},43399:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(58348);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},58348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(49906);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},39226:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(58348)},79127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(75044);var i=r(67323);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(58348);var i=r(35893);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},78997:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(65036);function clone(e){return(0,n.default)(e,false)}},55523:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(65036);function cloneDeep(e){return(0,n.default)(e)}},12554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(65036);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},65036:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(99634);var i=r(75044);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},44892:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(65036);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},28694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(31138);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},31138:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},40046:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(50132);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},41348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(50132);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},74583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(50132);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},48455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(74583);var i=r(41348);var s=r(40046);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},99123:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(70231);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},36646:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(99634);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},70231:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},1626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(66878);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},91831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(64106);var i=r(75044);var s=r(58348);var a=r(65036);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},45072:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(31602);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},66878:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(75044);var i=r(58348);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},85770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(75044);var i=r(58348);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},33802:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(75044);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},31602:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(85565);var i=r(34917);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},2281:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(75044);var i=r(65036);var s=r(46802);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},19567:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(91831);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},7342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(75044);var i=r(58348);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},25753:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(85565);var i=r(58348);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},96953:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(30082);var i=r(85565);var s=r(34917);var a=r(70231);var o=r(10031);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},91527:(e,t,r)=>{"use strict";var n=r(10031);var i=r(96953);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},36089:(e,t,r)=>{"use strict";var n=r(10031);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:false},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"))}})},99634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(96953);r(36089);r(98811);r(75241);r(91527);r(56136);var i=r(10031);var s=r(71384);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},98811:(e,t,r)=>{"use strict";var n=r(10031);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},75241:(e,t,r)=>{"use strict";var n=r(10031);var i=r(71384);{(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")}}})},71384:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(10031);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},56136:(e,t,r)=>{"use strict";var n=r(10031);var i=r(96953);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},10031:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(30082);var i=r(50458);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},5022:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(41461);var s=r(68081);var a=r(79127);var o=r(19689);var l=r(33503);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(43399);var p=r(69310);var c=r(34764);var f=r(58348);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(39226);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(65036);var h=r(78997);var m=r(55523);var T=r(12554);var S=r(44892);var b=r(28694);var E=r(31138);var g=r(40046);var x=r(41348);var P=r(48455);var A=r(74583);var v=r(99123);var O=r(36646);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(70231);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(1626);var D=r(45072);var N=r(66878);var C=r(85770);var j=r(33802);var _=r(31602);var L=r(2281);var k=r(19567);var B=r(7342);var M=r(25753);var F=r(99634);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(59236);var K=r(23787);var V=r(47655);var U=r(17734);var X=r(46802);var J=r(59595);var Y=r(64106);var W=r(74206);var q=r(20426);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(24956);var H=r(11413);var G=r(30082);var $=r(61704);var Q=r(2161);var Z=r(67267);var ee=r(43319);var te=r(20211);var re=r(35337);var ne=r(13434);var ie=r(75848);var se=r(9358);var ae=r(56666);var oe=r(88074);var le=r(64473);var ue=r(85565);var pe=r(74797);var ce=r(95967);var fe=r(50458);var de=r(8102);var ye=r(75044);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(91984);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},59236:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(58348);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},59595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(75044);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},23787:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(70231);var i=r(48455);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},47655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(58348);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},17734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(70231);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},46802:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(24956);var i=r(17734);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},35893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(75044);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},64106:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(75044);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64106);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},20426:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(99634);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(99634);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},50132:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},67323:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(58348);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},8102:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(95967);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},75044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(11413);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},30082:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(11413);var i=r(88074);var s=r(13434);var a=r(99634);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},61704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(64106);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},2161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(75044);var i=r(43319);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},67267:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(88074);var i=r(75044);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},43319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(75044);var i=r(70231);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},20211:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(99634);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},35337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(99634);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(99634);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},75848:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},9358:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(75044);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},56666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(75044);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},88074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(99634);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},64473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(85565);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},85565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(34917);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},74797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(75044);var i=r(70231);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},95967:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(75044);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},41461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8102);const i=(0,n.default)("React.Component");var s=i;t.default=s},50458:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(99634);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},79418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(1680);var i=r(85850);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-new-target",visitor:{MetaProperty(e){const t=e.get("meta");const r=e.get("property");const{scope:n}=e;if(t.isIdentifier({name:"new"})&&r.isIdentifier({name:"target"})){const t=e.findParent(e=>{if(e.isClass())return true;if(e.isFunction()&&!e.isArrowFunctionExpression()){if(e.isClassMethod({kind:"constructor"})){return false}return true}return false});if(!t){throw e.buildCodeFrameError("new.target must be under a (non-arrow) function or a class.")}const{node:r}=t;if(!r.id){if(t.isMethod()){e.replaceWith(n.buildUndefinedNode());return}r.id=n.generateUidIdentifier("target")}const s=i.types.memberExpression(i.types.thisExpression(),i.types.identifier("constructor"));if(t.isClass()){e.replaceWith(s);return}e.replaceWith(i.types.conditionalExpression(i.types.binaryExpression("instanceof",i.types.thisExpression(),i.types.cloneNode(r.id)),s,n.buildUndefinedNode()))}}}}});t.default=s},1680:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},19562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(17608);var i=r(846);var s=r(85850);function replacePropertySuper(e,t,r){const n=new i.default({getObjectRef:t,methodPath:e,file:r});n.replace()}var a=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-object-super",visitor:{ObjectExpression(e,t){let r;const n=()=>r=r||e.scope.generateUidIdentifier("obj");e.get("properties").forEach(e=>{if(!e.isMethod())return;replacePropertySuper(e,n,t)});if(r){e.scope.push({id:s.types.cloneNode(r)});e.replaceWith(s.types.assignmentExpression("=",s.types.cloneNode(r),e.node))}}}}});t.default=a},17608:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},26155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"convertFunctionParams",{enumerable:true,get:function(){return i.default}});t.default=void 0;var n=r(35836);var i=r(11630);var s=r(87080);var a=(0,n.declare)((e,t)=>{var r;e.assertVersion(7);const n=(r=e.assumption("ignoreFunctionLength"))!=null?r:t.loose;const a=e.assumption("noNewArrows");return{name:"transform-parameters",visitor:{Function(e){if(e.isArrowFunctionExpression()&&e.get("params").some(e=>e.isRestElement()||e.isAssignmentPattern())){e.arrowFunctionToExpression({noNewArrows:a})}const t=(0,s.default)(e);const r=(0,i.default)(e,n);if(t||r){e.scope.crawl()}}}}});t.default=a},11630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=convertFunctionParams;var n=r(85850);const i=(0,n.template)(`\n let VARIABLE_NAME =\n arguments.length > ARGUMENT_KEY && arguments[ARGUMENT_KEY] !== undefined ?\n arguments[ARGUMENT_KEY]\n :\n DEFAULT_VALUE;\n`);const s=(0,n.template)(`\n if (ASSIGNMENT_IDENTIFIER === UNDEFINED) {\n ASSIGNMENT_IDENTIFIER = DEFAULT_VALUE;\n }\n`);const a=(0,n.template)(`\n let ASSIGNMENT_IDENTIFIER = PARAMETER_NAME === UNDEFINED ? DEFAULT_VALUE : PARAMETER_NAME ;\n`);const o=(0,n.template)(`\n let $0 = arguments.length > $1 ? arguments[$1] : undefined;\n`);const l={"ReferencedIdentifier|BindingIdentifier"(e,t){const{scope:r,node:n}=e;const{name:i}=n;if(i==="eval"||r.getBinding(i)===t.scope.parent.getBinding(i)&&t.scope.hasOwnBinding(i)){t.needsOuterBinding=true;e.stop()}},"TypeAnnotation|TSTypeAnnotation|TypeParameterDeclaration|TSTypeParameterDeclaration":e=>e.skip()};function convertFunctionParams(e,t,r,u){const p=e.get("params");const c=p.every(e=>e.isIdentifier());if(c)return false;const{node:f,scope:d}=e;const y={stop:false,needsOuterBinding:false,scope:d};const h=[];const m=new Set;for(const e of p){for(const t of Object.keys(e.getBindingIdentifiers())){var T;const e=(T=d.bindings[t])==null?void 0:T.constantViolations;if(e){for(const r of e){const e=r.node;switch(e.type){case"VariableDeclarator":{if(e.init===null){const e=r.parentPath;if(!e.parentPath.isFor()||e.parentPath.get("body")===e){r.remove();break}}m.add(t);break}case"FunctionDeclaration":m.add(t);break}}}}}if(m.size===0){for(const e of p){if(!e.isIdentifier())e.traverse(l,y);if(y.needsOuterBinding)break}}let S=null;for(let l=0;l0){h.push(buildScopeIIFE(m,e.get("body").node));e.set("body",n.types.blockStatement(h));const t=e.get("body.body");const r=t[t.length-1].get("argument.callee");r.arrowFunctionToExpression();r.node.generator=e.node.generator;r.node.async=e.node.async;e.node.generator=false}else{e.get("body").unshiftContainer("body",h)}return true}function buildScopeIIFE(e,t){const r=[];const i=[];for(const t of e){r.push(n.types.identifier(t));i.push(n.types.identifier(t))}return n.types.returnStatement(n.types.callExpression(n.types.arrowFunctionExpression(i,t),r))}},87080:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=convertFunctionRest;var n=r(85850);const i=(0,n.template)(`\n for (var LEN = ARGUMENTS.length,\n ARRAY = new Array(ARRAY_LEN),\n KEY = START;\n KEY < LEN;\n KEY++) {\n ARRAY[ARRAY_KEY] = ARGUMENTS[KEY];\n }\n`);const s=(0,n.template)(`\n (INDEX < OFFSET || ARGUMENTS.length <= INDEX) ? undefined : ARGUMENTS[INDEX]\n`);const a=(0,n.template)(`\n REF = INDEX, (REF < OFFSET || ARGUMENTS.length <= REF) ? undefined : ARGUMENTS[REF]\n`);const o=(0,n.template)(`\n ARGUMENTS.length <= OFFSET ? 0 : ARGUMENTS.length - OFFSET\n`);function referencesRest(e,t){if(e.node.name===t.name){return e.scope.bindingIdentifierEquals(t.name,t.outerBinding)}return false}const l={Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.name,t.outerBinding)){e.skip()}},Flow(e){if(e.isTypeCastExpression())return;e.skip()},Function(e,t){const r=t.noOptimise;t.noOptimise=true;e.traverse(l,t);t.noOptimise=r;e.skip()},ReferencedIdentifier(e,t){const{node:r}=e;if(r.name==="arguments"){t.deopted=true}if(!referencesRest(e,t))return;if(t.noOptimise){t.deopted=true}else{const{parentPath:n}=e;if(n.listKey==="params"&&n.key0&&n.types.isIdentifier(e.params[0],{name:"this"})){t-=1}return t}function hasRest(e){const t=e.params.length;return t>0&&n.types.isRestElement(e.params[t-1])}function optimiseIndexGetter(e,t,r){const i=n.types.numericLiteral(r);let o;if(n.types.isNumericLiteral(e.parent.property)){o=n.types.numericLiteral(e.parent.property.value+r)}else if(r===0){o=e.parent.property}else{o=n.types.binaryExpression("+",e.parent.property,n.types.cloneNode(i))}const{scope:l}=e;if(!l.isPure(o)){const r=l.generateUidIdentifierBasedOnNode(o);l.push({id:r,kind:"var"});e.parentPath.replaceWith(a({ARGUMENTS:t,OFFSET:i,INDEX:o,REF:n.types.cloneNode(r)}))}else{const r=e.parentPath;r.replaceWith(s({ARGUMENTS:t,OFFSET:i,INDEX:o}));const n=r.get("test").get("left");const a=n.evaluate();if(a.confident){if(a.value===true){r.replaceWith(r.scope.buildUndefinedNode())}else{r.get("test").replaceWith(r.get("test").get("right"))}}}}function optimiseLengthGetter(e,t,r){if(r){e.parentPath.replaceWith(o({ARGUMENTS:t,OFFSET:n.types.numericLiteral(r)}))}else{e.replaceWith(t)}}function convertFunctionRest(e){const{node:t,scope:r}=e;if(!hasRest(t))return false;let s=t.params.pop().argument;const a=n.types.identifier("arguments");if(n.types.isPattern(s)){const e=s;s=r.generateUidIdentifier("ref");const i=n.types.variableDeclaration("let",[n.types.variableDeclarator(e,s)]);t.body.body.unshift(i)}const o=getParamsCount(t);const u={references:[],offset:o,argumentsNode:a,outerBinding:r.getBindingIdentifier(s.name),candidates:[],name:s.name,deopted:false};e.traverse(l,u);if(!u.deopted&&!u.references.length){for(const{path:e,cause:t}of u.candidates){const r=n.types.cloneNode(a);switch(t){case"indexGetter":optimiseIndexGetter(e,r,u.offset);break;case"lengthGetter":optimiseLengthGetter(e,r,u.offset);break;default:e.replaceWith(r)}}return true}u.references=u.references.concat(u.candidates.map(({path:e})=>e));const p=n.types.numericLiteral(o);const c=r.generateUidIdentifier("key");const f=r.generateUidIdentifier("len");let d,y;if(o){d=n.types.binaryExpression("-",n.types.cloneNode(c),n.types.cloneNode(p));y=n.types.conditionalExpression(n.types.binaryExpression(">",n.types.cloneNode(f),n.types.cloneNode(p)),n.types.binaryExpression("-",n.types.cloneNode(f),n.types.cloneNode(p)),n.types.numericLiteral(0))}else{d=n.types.identifier(c.name);y=n.types.identifier(f.name)}const h=i({ARGUMENTS:a,ARRAY_KEY:d,ARRAY_LEN:y,START:p,ARRAY:s,KEY:c,LEN:f});if(u.deopted){t.body.body.unshift(h)}else{let t=e.getEarliestCommonAncestorFrom(u.references).getStatementParent();t.findParent(e=>{if(e.isLoop()){t=e}else{return e.isFunction()}});t.insertBefore(h)}return true}},35836:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},17655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(57947);var i=r(85850);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-property-literals",visitor:{ObjectProperty:{exit({node:e}){const t=e.key;if(!e.computed&&i.types.isIdentifier(t)&&!i.types.isValidES3Identifier(t.name)){e.key=i.types.stringLiteral(t.name)}}}}}});t.default=s},57947:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},59654:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(89338);var i=r(85622);var s=r(85850);var a=(0,n.declare)(e=>{e.assertVersion(7);function addDisplayName(e,t){const r=t.arguments[0].properties;let n=true;for(let e=0;ee.name==="createReactClass";function isCreateClass(e){if(!e||!s.types.isCallExpression(e))return false;if(!t(e.callee)&&!r(e.callee)){return false}const n=e.arguments;if(n.length!==1)return false;const i=n[0];if(!s.types.isObjectExpression(i))return false;return true}return{name:"transform-react-display-name",visitor:{ExportDefaultDeclaration({node:e},t){if(isCreateClass(e.declaration)){const r=t.filename||"unknown";let n=i.basename(r,i.extname(r));if(n==="index"){n=i.basename(i.dirname(r))}addDisplayName(n,e.declaration)}},CallExpression(e){const{node:t}=e;if(!isCreateClass(t))return;let r;e.find(function(e){if(e.isAssignmentExpression()){r=e.node.left}else if(e.isObjectProperty()){r=e.node.key}else if(e.isVariableDeclarator()){r=e.node.id}else if(e.isStatement()){return true}if(r)return true});if(!r)return;if(s.types.isMemberExpression(r)){r=r.property}if(s.types.isIdentifier(r)){addDisplayName(r.name,t)}}}}});t.default=a},89338:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},14155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});var n=r(81179)},60754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(6929);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},62013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(6929);var s=r(60754);var a=r(39508);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{n(!t,"Unexpected secondary arguments.");i.push(e)}const s=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(s).forEach(t=>{if(e[t]!==undefined)s[t]=e[t]});if(!r){if(e.nameHint!==undefined)s.nameHint=e.nameHint;if(e.blockHoist!==undefined)s.blockHoist=e.blockHoist}}return s}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:c,ensureLiveReference:f,ensureNoContext:d,nameHint:y,importPosition:h,blockHoist:m}=e;let T=y||t;const S=(0,a.default)(this._programPath);const b=S&&c==="node";const E=S&&c==="babel";if(h==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new s.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(T,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){T=T!=="default"?T:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(T||l).wildcardInterop()}else if(r){if(f){g.default(e).var(T||l).defaultInterop().read("default")}else{g.default(e).var(T).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l).wildcardInterop()}else if((r||n)&&f){if(r){T=T!=="default"?T:l;g.var(T).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(T).defaultInterop().prop(t)}else if(n){g.var(T).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(T||l)}else if(r||n){g.default(l).read(T)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r||n){if(f){g.var(l).read(T)}else{g.prop(t).var(T)}}}}else if(p==="uncompiled"){if(r&&f){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.default(l).read(T)}}else if(E){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r){g.var(T)}else if(n){if(f){g.var(l).read(T)}else{g.var(T).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:x,resultName:P}=g.done();this._insertStatements(x,h,m);if((r||n)&&d&&P.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),P])}return P}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},47649:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var n=r(62013);var i=r(39508);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,i){return new n.default(e).addNamed(t,r,i)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},39508:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},8178:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},57975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(57975);var i=r(25188)},25188:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},30976:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8178);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){if(t.plugins.some(e=>(Array.isArray(e)?e[0]:e)==="typescript")){return}t.plugins.push("jsx")}}});t.default=i},60676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createPlugin;var n=r(30976);var i=r(8178);var s=r(85850);var a=r(47649);var o=r(96659);const l={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"};const u=/\*?\s*@jsxImportSource\s+([^\s]+)/;const p=/\*?\s*@jsxRuntime\s+([^\s]+)/;const c=/\*?\s*@jsx\s+([^\s]+)/;const f=/\*?\s*@jsxFrag\s+([^\s]+)/;const d=(e,t)=>e.get(`@babel/plugin-react-jsx/${t}`);const y=(e,t,r)=>e.set(`@babel/plugin-react-jsx/${t}`,r);function createPlugin({name:e,development:t}){return(0,i.declare)((r,i)=>{const{pure:a,throwIfNamespace:h=true,filter:m,runtime:T=(t?"automatic":"classic"),importSource:S=l.importSource,pragma:b=l.pragma,pragmaFrag:E=l.pragmaFrag}=i;{var{useSpread:g=false,useBuiltIns:x=false}=i;if(T==="classic"){if(typeof g!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useSpread (defaults to false)")}if(typeof x!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useBuiltIns (defaults to false)")}if(g&&x){throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread "+"but not both")}}}const P={JSXOpeningElement(e,t){for(const t of e.get("attributes")){if(!t.isJSXElement())continue;const{name:r}=t.node.name;if(r==="__source"||r==="__self"){throw e.buildCodeFrameError(`__source and __self should not be defined in props and are reserved for internal usage.`)}}const r=s.types.jsxAttribute(s.types.jsxIdentifier("__self"),s.types.jsxExpressionContainer(s.types.thisExpression()));const n=s.types.jsxAttribute(s.types.jsxIdentifier("__source"),s.types.jsxExpressionContainer(makeSource(e,t)));e.pushContainer("attributes",[r,n])}};return{name:e,inherits:n.default,visitor:{JSXNamespacedName(e){if(h){throw e.buildCodeFrameError(`Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set \`throwIfNamespace: false\` to bypass this warning.`)}},JSXSpreadChild(e){throw e.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(e,r){const{file:n}=r;let a=T;let o=S;let d=b;let h=E;let m=!!i.importSource;let g=!!i.pragma;let x=!!i.pragmaFrag;if(n.ast.comments){for(const e of n.ast.comments){const t=u.exec(e.value);if(t){o=t[1];m=true}const r=p.exec(e.value);if(r){a=r[1]}const n=c.exec(e.value);if(n){d=n[1];g=true}const i=f.exec(e.value);if(i){h=i[1];x=true}}}y(r,"runtime",a);if(a==="classic"){if(m){throw e.buildCodeFrameError(`importSource cannot be set when runtime is classic.`)}const t=toMemberExpression(d);const n=toMemberExpression(h);y(r,"id/createElement",()=>s.types.cloneNode(t));y(r,"id/fragment",()=>s.types.cloneNode(n));y(r,"defaultPure",d===l.pragma)}else if(a==="automatic"){if(g||x){throw e.buildCodeFrameError(`pragma and pragmaFrag cannot be set when runtime is automatic.`)}const n=(t,n)=>y(r,t,createImportLazily(r,e,n,o));n("id/jsx",t?"jsxDEV":"jsx");n("id/jsxs",t?"jsxDEV":"jsxs");n("id/createElement","createElement");n("id/fragment","Fragment");y(r,"defaultPure",o===l.importSource)}else{throw e.buildCodeFrameError(`Runtime must be either "classic" or "automatic".`)}if(t){e.traverse(P,r)}}},JSXElement:{exit(e,t){let r;if(d(t,"runtime")==="classic"||shouldUseCreateElement(e)){r=buildCreateElementCall(e,t)}else{r=buildJSXElementCall(e,t)}e.replaceWith(s.types.inherits(r,e.node))}},JSXFragment:{exit(e,t){let r;if(d(t,"runtime")==="classic"){r=buildCreateElementFragmentCall(e,t)}else{r=buildJSXFragmentCall(e,t)}e.replaceWith(s.types.inherits(r,e.node))}},JSXAttribute(e){if(s.types.isJSXElement(e.node.value)){e.node.value=s.types.jsxExpressionContainer(e.node.value)}}}};function call(e,t,r){const n=s.types.callExpression(d(e,`id/${t}`)(),r);if(a!=null?a:d(e,"defaultPure"))(0,o.default)(n);return n}function shouldUseCreateElement(e){const t=e.get("openingElement");const r=t.node.attributes;let n=false;for(let e=0;e1){t=s.types.arrayExpression(e)}else{return undefined}return s.types.objectProperty(s.types.identifier("children"),t)}function buildJSXElementCall(e,r){const n=e.get("openingElement");const i=[getTag(n)];const a=[];const o=Object.create(null);for(const t of n.get("attributes")){if(t.isJSXAttribute()&&s.types.isJSXIdentifier(t.node.name)){const{name:r}=t.node.name;switch(r){case"__source":case"__self":if(o[r])throw sourceSelfError(e,r);case"key":{const e=convertAttributeValue(t.node.value);if(e===null){throw t.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.')}o[r]=e;break}default:a.push(t)}}else{a.push(t)}}const l=s.types.react.buildChildren(e.node);let u;if(a.length||l.length){u=buildJSXOpeningElementAttributes(a,r,l)}else{u=s.types.objectExpression([])}i.push(u);if(t){var p,c,f;i.push((p=o.key)!=null?p:e.scope.buildUndefinedNode(),s.types.booleanLiteral(l.length>1),(c=o.__source)!=null?c:e.scope.buildUndefinedNode(),(f=o.__self)!=null?f:s.types.thisExpression())}else if(o.key!==undefined){i.push(o.key)}return call(r,l.length>1?"jsxs":"jsx",i)}function buildJSXOpeningElementAttributes(e,t,r){const n=e.reduce(accumulateAttribute,[]);if((r==null?void 0:r.length)>0){n.push(buildChildrenProperty(r))}return s.types.objectExpression(n)}function buildJSXFragmentCall(e,r){const n=[d(r,"id/fragment")()];const i=s.types.react.buildChildren(e.node);n.push(s.types.objectExpression(i.length>0?[buildChildrenProperty(i)]:[]));if(t){n.push(e.scope.buildUndefinedNode(),s.types.booleanLiteral(i.length>1))}return call(r,i.length>1?"jsxs":"jsx",n)}function buildCreateElementFragmentCall(e,t){if(m&&!m(e.node,t))return;return call(t,"createElement",[d(t,"id/fragment")(),s.types.nullLiteral(),...s.types.react.buildChildren(e.node)])}function buildCreateElementCall(e,t){const r=e.get("openingElement");return call(t,"createElement",[getTag(r),buildCreateElementOpeningElementAttributes(t,e,r.get("attributes")),...s.types.react.buildChildren(e.node)])}function getTag(e){const t=convertJSXIdentifier(e.node.name,e.node);let r;if(s.types.isIdentifier(t)){r=t.name}else if(s.types.isLiteral(t)){r=t.value}if(s.types.react.isCompatTag(r)){return s.types.stringLiteral(r)}else{return t}}function buildCreateElementOpeningElementAttributes(e,t,r){const n=d(e,"runtime");{if(n!=="automatic"){const t=[];const n=r.reduce(accumulateAttribute,[]);if(!g){let e=0;n.forEach((r,i)=>{if(s.types.isSpreadElement(r)){if(i>e){t.push(s.types.objectExpression(n.slice(e,i)))}t.push(r.argument);e=i+1}});if(n.length>e){t.push(s.types.objectExpression(n.slice(e)))}}else if(n.length){t.push(s.types.objectExpression(n))}if(!t.length){return s.types.nullLiteral()}if(t.length===1){return t[0]}if(!s.types.isObjectExpression(t[0])){t.unshift(s.types.objectExpression([]))}const i=x?s.types.memberExpression(s.types.identifier("Object"),s.types.identifier("assign")):e.addHelper("extends");return s.types.callExpression(i,t)}}const i=[];const a=Object.create(null);for(const e of r){const r=s.types.isJSXAttribute(e)&&s.types.isJSXIdentifier(e.name)&&e.name.name;if(n==="automatic"&&(r==="__source"||r==="__self")){if(a[r])throw sourceSelfError(t,r);a[r]=true}accumulateAttribute(i,e)}return i.length===1&&s.types.isSpreadElement(i[0])?i[0].argument:i.length>0?s.types.objectExpression(i):s.types.nullLiteral()}});function getSource(e,r){switch(r){case"Fragment":return`${e}/${t?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${e}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${e}/jsx-runtime`;case"createElement":return e}}function createImportLazily(e,t,r,n){return()=>{const i=getSource(n,r);if((0,a.isModule)(t)){let n=d(e,`imports/${r}`);if(n)return s.types.cloneNode(n);n=(0,a.addNamed)(t,r,i,{importedInterop:"uncompiled",importPosition:"after"});y(e,`imports/${r}`,n);return n}else{let n=d(e,`requires/${i}`);if(n){n=s.types.cloneNode(n)}else{n=(0,a.addNamespace)(t,i,{importedInterop:"uncompiled"});y(e,`requires/${i}`,n)}return s.types.memberExpression(n,s.types.identifier(r))}}}}function toMemberExpression(e){return e.split(".").map(e=>s.types.identifier(e)).reduce((e,t)=>s.types.memberExpression(e,t))}function makeSource(e,t){const r=e.node.loc;if(!r){return e.scope.buildUndefinedNode()}if(!t.fileNameIdentifier){const{filename:r=""}=t;const n=e.scope.generateUidIdentifier("_jsxFileName");const i=e.hub.getScope();if(i){i.push({id:n,init:s.types.stringLiteral(r)})}t.fileNameIdentifier=n}return makeTrace(s.types.cloneNode(t.fileNameIdentifier),r.start.line,r.start.column)}function makeTrace(e,t,r){const n=t!=null?s.types.numericLiteral(t):s.types.nullLiteral();const i=r!=null?s.types.numericLiteral(r+1):s.types.nullLiteral();const a=s.types.objectProperty(s.types.identifier("fileName"),e);const o=s.types.objectProperty(s.types.identifier("lineNumber"),n);const l=s.types.objectProperty(s.types.identifier("columnNumber"),i);return s.types.objectExpression([a,o,l])}function sourceSelfError(e,t){const r=`transform-react-jsx-${t.slice(2)}`;return e.buildCodeFrameError(`Duplicate ${t} prop found. You are most likely using the deprecated ${r} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}},81179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(60676);var i=(0,n.default)({name:"transform-react-jsx/development",development:true});t.default=i},74334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(524);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},78657:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(29350);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},87635:()=>{},66132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(90015);var i=r(71754);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(48923);var i=r(20791);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},76933:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(48923);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},48923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(66132);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},12408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(48923)},81188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(98977);var i=r(82761);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(48923);var i=r(58514);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},78365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(18331);function clone(e){return(0,n.default)(e,false)}},18466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(18331);function cloneDeep(e){return(0,n.default)(e)}},83897:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(18331);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},18331:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(90015);var i=r(98977);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},27113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(18331);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},29340:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(46625);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},46625:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},62506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(67651);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},49119:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(67651);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},16648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(67651);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},62670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(16648);var i=r(49119);var s=r(62506);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},3779:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(96412);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},10804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(90015);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},96412:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},11060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(36337);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},56173:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(68257);var i=r(98977);var s=r(48923);var a=r(18331);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},74514:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(49127);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},36337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(98977);var i=r(48923);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},76267:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(98977);var i=r(48923);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},77771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98977);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},49127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(3556);var i=r(92494);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},29231:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(98977);var i=r(18331);var s=r(11152);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},98206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(56173);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},42014:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98977);var i=r(48923);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},86322:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(3556);var i=r(48923);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},9611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(29350);var i=r(3556);var s=r(92494);var a=r(96412);var o=r(80416);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},39096:(e,t,r)=>{"use strict";var n=r(80416);var i=r(9611);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},72201:(e,t,r)=>{"use strict";var n=r(80416);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:false},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"))}})},90015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(9611);r(72201);r(8983);r(95463);r(39096);r(20996);var i=r(80416);var s=r(5305);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},8983:(e,t,r)=>{"use strict";var n=r(80416);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},95463:(e,t,r)=>{"use strict";var n=r(80416);var i=r(5305);{(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")}}})},5305:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(80416);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},20996:(e,t,r)=>{"use strict";var n=r(80416);var i=r(9611);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},80416:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(29350);var i=r(71754);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},6929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(49132);var s=r(97167);var a=r(81188);var o=r(74334);var l=r(78657);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(76933);var p=r(79423);var c=r(93500);var f=r(48923);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(12408);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(18331);var h=r(78365);var m=r(18466);var T=r(83897);var S=r(27113);var b=r(29340);var E=r(46625);var g=r(62506);var x=r(49119);var P=r(62670);var A=r(16648);var v=r(3779);var O=r(10804);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(96412);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(11060);var D=r(74514);var N=r(36337);var C=r(76267);var j=r(77771);var _=r(49127);var L=r(29231);var k=r(98206);var B=r(42014);var M=r(86322);var F=r(90015);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(58090);var K=r(92663);var V=r(82131);var U=r(48344);var X=r(11152);var J=r(20791);var Y=r(68257);var W=r(69029);var q=r(23303);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(49294);var H=r(5234);var G=r(29350);var $=r(70876);var Q=r(23319);var Z=r(99415);var ee=r(97616);var te=r(524);var re=r(88741);var ne=r(65258);var ie=r(86269);var se=r(91207);var ae=r(74696);var oe=r(2122);var le=r(76530);var ue=r(3556);var pe=r(72742);var ce=r(99146);var fe=r(71754);var de=r(77753);var ye=r(98977);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(87635);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},58090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(48923);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},20791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(98977);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},92663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(96412);var i=r(62670);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},82131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(48923);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},48344:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(96412);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},11152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(49294);var i=r(48344);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},58514:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(98977);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},68257:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(98977);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(68257);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},23303:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(90015);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(90015);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},67651:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},82761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(48923);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},77753:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(99146);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},98977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(5234);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},29350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(5234);var i=r(2122);var s=r(65258);var a=r(90015);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},70876:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(68257);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},23319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(98977);var i=r(97616);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},99415:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(2122);var i=r(98977);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},97616:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(98977);var i=r(96412);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(90015);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},88741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(90015);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(90015);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},86269:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},91207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(98977);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},74696:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(98977);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},2122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(90015);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},76530:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(3556);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},3556:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(92494);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},72742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(98977);var i=r(96412);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},99146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(98977);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},49132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(77753);const i=(0,n.default)("React.Component");var s=i;t.default=s},71754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(90015);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},71073:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(47907);var i=r(96659);var s=r(85850);const a=new Map([["react",["cloneElement","createContext","createElement","createFactory","createRef","forwardRef","isValidElement","memo","lazy"]],["react-dom",["createPortal"]]]);var o=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-react-pure-annotations",visitor:{CallExpression(e){if(isReactCall(e)){(0,i.default)(e)}}}}});t.default=o;function isReactCall(e){if(!s.types.isMemberExpression(e.node.callee)){const t=e.get("callee");for(const[e,r]of a){for(const n of r){if(t.referencesImport(e,n)){return true}}}return false}for(const[t,r]of a){const n=e.get("callee.object");if(n.referencesImport(t,"default")||n.referencesImport(t,"*")){for(const t of r){if(s.types.isIdentifier(e.node.callee.property,{name:t})){return true}}return false}}return false}},47907:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},26088:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(19205);var i=r(85850);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-reserved-words",visitor:{"BindingIdentifier|ReferencedIdentifier"(e){if(!i.types.isValidES3Identifier(e.node.name)){e.scope.rename(e.node.name)}}}}});t.default=s},19205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},27476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(11669);var i=r(85850);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-shorthand-properties",visitor:{ObjectMethod(e){const{node:t}=e;if(t.kind==="method"){const r=i.types.functionExpression(null,t.params,t.body,t.generator,t.async);r.returnType=t.returnType;const n=i.types.toComputedKey(t);if(i.types.isStringLiteral(n,{value:"__proto__"})){e.replaceWith(i.types.objectProperty(n,r,true))}else{e.replaceWith(i.types.objectProperty(t.key,r,t.computed))}}},ObjectProperty(e){const{node:t}=e;if(t.shorthand){const r=i.types.toComputedKey(t);if(i.types.isStringLiteral(r,{value:"__proto__"})){e.replaceWith(i.types.objectProperty(r,t.value,true))}else{t.shorthand=false}}}}}});t.default=s},11669:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},48315:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(84771);var i=r(28571);var s=r(85850);var a=(0,n.declare)((e,t)=>{var r,n;e.assertVersion(7);const a=(r=e.assumption("iterableIsArray"))!=null?r:t.loose;const o=(n=t.allowArrayLike)!=null?n:e.assumption("arrayLikeIsIterable");function getSpreadLiteral(e,t){if(a&&!s.types.isIdentifier(e.argument,{name:"arguments"})){return e.argument}else{return t.toArray(e.argument,true,o)}}function hasHole(e){return e.elements.some(e=>e===null)}function hasSpread(e){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},84779:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(934);var i=r(85850);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-sticky-regex",visitor:{RegExpLiteral(e){const{node:t}=e;if(!t.flags.includes("y"))return;e.replaceWith(i.types.newExpression(i.types.identifier("RegExp"),[i.types.stringLiteral(t.pattern),i.types.stringLiteral(t.flags)]))}}}});t.default=s},934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},84611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(14911);var i=r(85850);var s=(0,n.declare)((e,t)=>{var r,n;e.assertVersion(7);const s=(r=e.assumption("ignoreToPrimitiveHint"))!=null?r:t.loose;const a=(n=e.assumption("mutableTemplateObject"))!=null?n:t.loose;let o="taggedTemplateLiteral";if(a)o+="Loose";function buildConcatCallExpressions(e){let t=true;return e.reduce(function(e,r){let n=i.types.isLiteral(r);if(!n&&t){n=true;t=false}if(n&&i.types.isCallExpression(e)){e.arguments.push(r);return e}return i.types.callExpression(i.types.memberExpression(e,i.types.identifier("concat")),[r])})}return{name:"transform-template-literals",visitor:{TaggedTemplateExpression(e){const{node:t}=e;const{quasi:r}=t;const n=[];const s=[];let a=true;for(const t of r.quasis){const{raw:r,cooked:o}=t.value;const l=o==null?e.scope.buildUndefinedNode():i.types.stringLiteral(o);n.push(l);s.push(i.types.stringLiteral(r));if(r!==o){a=false}}const l=[i.types.arrayExpression(n)];if(!a){l.push(i.types.arrayExpression(s))}const u=e.scope.generateUidIdentifier("templateObject");e.scope.getProgramParent().push({id:i.types.cloneNode(u)});e.replaceWith(i.types.callExpression(t.tag,[i.template.expression.ast` + ${i.types.cloneNode(u)} || ( + ${u} = ${this.addHelper(o)}(${l}) + ) + `,...r.expressions]))},TemplateLiteral(e){const t=[];const r=e.get("expressions");let n=0;for(const s of e.node.quasis){if(s.value.cooked){t.push(i.types.stringLiteral(s.value.cooked))}if(n1){a=buildConcatCallExpressions(t)}e.replaceWith(a)}}}});t.default=s},14911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(2982);var i=r(85850);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-typeof-symbol",visitor:{Scope({scope:e}){if(!e.getBinding("Symbol")){return}e.rename("Symbol")},UnaryExpression(e){const{node:t,parent:r}=e;if(t.operator!=="typeof")return;if(e.parentPath.isBinaryExpression()&&i.types.EQUALITY_BINARY_OPERATORS.indexOf(r.operator)>=0){const t=e.getOpposite();if(t.isLiteral()&&t.node.value!=="symbol"&&t.node.value!=="object"){return}}let n=e.findParent(e=>{if(e.isFunction()){var t;return((t=e.get("body.directives.0"))==null?void 0:t.node.value.value)==="@babel/helpers - typeof"}});if(n)return;const s=this.addHelper("typeof");n=e.findParent(e=>{return e.isVariableDeclarator()&&e.node.id===s||e.isFunctionDeclaration()&&e.node.id&&e.node.id.name===s.name});if(n){return}const a=i.types.callExpression(s,[t.argument]);const o=e.get("argument");if(o.isIdentifier()&&!e.scope.hasBinding(o.node.name,true)){const r=i.types.unaryExpression("typeof",i.types.cloneNode(t.argument));e.replaceWith(i.types.conditionalExpression(i.types.binaryExpression("===",r,i.types.stringLiteral("undefined")),i.types.stringLiteral("undefined"),a))}else{e.replaceWith(a)}}}}});t.default=s},2982:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},31507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(46947);var i=r(85850);var s=(0,n.declare)(e=>{e.assertVersion(7);const t=/[\ud800-\udfff]/g;const r=/(\\+)u\{([0-9a-fA-F]+)\}/g;function escape(e){let t=e.toString(16);while(t.length<4)t="0"+t;return"\\u"+t}function replacer(e,t,r){if(t.length%2===0){return e}const n=String.fromCodePoint(parseInt(r,16));const i=t.slice(0,-1)+escape(n.charCodeAt(0));return n.length===1?i:i+escape(n.charCodeAt(1))}function replaceUnicodeEscapes(e){return e.replace(r,replacer)}function getUnicodeEscape(e){let t;while(t=r.exec(e)){if(t[1].length%2===0)continue;r.lastIndex=0;return t[0]}return null}return{name:"transform-unicode-escapes",manipulateOptions({generatorOpts:e}){var t,r;if(!e.jsescOption){e.jsescOption={}}(r=(t=e.jsescOption).minimal)!=null?r:t.minimal=false},visitor:{Identifier(e){const{node:r,key:n}=e;const{name:s}=r;const a=s.replace(t,e=>{return`_u${e.charCodeAt(0).toString(16)}`});if(s===a)return;const o=i.types.inherits(i.types.stringLiteral(s),r);if(n==="key"){e.replaceWith(o);return}const{parentPath:l,scope:u}=e;if(l.isMemberExpression({property:r})||l.isOptionalMemberExpression({property:r})){l.node.computed=true;e.replaceWith(o);return}const p=u.getBinding(s);if(p){u.rename(s,u.generateUid(a));return}throw e.buildCodeFrameError(`Can't reference '${s}' as a bare identifier`)},"StringLiteral|DirectiveLiteral"(e){const{node:t}=e;const{extra:r}=t;if(r!=null&&r.raw)r.raw=replaceUnicodeEscapes(r.raw)},TemplateElement(e){const{node:t,parentPath:r}=e;const{value:n}=t;const i=getUnicodeEscape(n.raw);if(!i)return;const s=r.parentPath;if(s.isTaggedTemplateExpression()){throw e.buildCodeFrameError(`Can't replace Unicode escape '${i}' inside tagged template literals. You can enable '@babel/plugin-transform-template-literals' to compile them to classic strings.`)}n.raw=replaceUnicodeEscapes(n.raw)}}}});t.default=s},46947:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},91990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36610);var i=r(65220);var s=(0,i.declare)(e=>{e.assertVersion(7);return(0,n.createRegExpFeaturePlugin)({name:"transform-unicode-regex",feature:"unicodeFlag"})});t.default=s},65220:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},1594:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;const r={allowInsertArrow:false,specCompliant:false};var n=({types:e})=>({name:"transform-async-arrows-in-class",visitor:{ArrowFunctionExpression(t){if(t.node.async&&t.findParent(e.isClassMethod)){t.arrowFunctionToExpression(r)}}}});t.default=n;e.exports=t.default},45585:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var r=({types:e})=>{const t=t=>t.parentKey==="params"&&t.parentPath&&e.isArrowFunctionExpression(t.parentPath);return{name:"transform-edge-default-parameters",visitor:{AssignmentPattern(e){const r=e.find(t);if(r&&e.parent.shorthand){e.parent.shorthand=false;(e.parent.extra||{}).shorthand=false;e.scope.rename(e.parent.key.name)}}}}};t.default=r;e.exports=t.default},1056:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var r=({types:e})=>({name:"transform-edge-function-name",visitor:{FunctionExpression:{exit(t){if(!t.node.id&&e.isIdentifier(t.parent.id)){const r=e.cloneNode(t.parent.id);const n=t.scope.getBinding(r.name);if(n==null?void 0:n.constantViolations.length){t.scope.rename(r.name)}t.node.id=r}}}}});t.default=r;e.exports=t.default},86808:(e,t)=>{"use strict";t.__esModule=true;t.default=_default;function _default({types:e}){return{name:"transform-safari-block-shadowing",visitor:{VariableDeclarator(t){const r=t.parent.kind;if(r!=="let"&&r!=="const")return;const n=t.scope.block;if(e.isFunction(n)||e.isProgram(n))return;const i=e.getOuterBindingIdentifiers(t.node.id);for(const r of Object.keys(i)){let n=t.scope;if(!n.hasOwnBinding(r))continue;while(n=n.parent){if(n.hasOwnBinding(r)){t.scope.rename(r);break}if(e.isFunction(n.block)||e.isProgram(n.block)){break}}}}}}}e.exports=t.default},96126:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;function handle(e){if(!e.isVariableDeclaration())return;const t=e.getFunctionParent();const{name:r}=e.node.declarations[0].id;if(t&&t.scope.hasOwnBinding(r)&&t.scope.getOwnBinding(r).kind==="param"){e.scope.rename(r)}}var r=()=>({name:"transform-safari-for-shadowing",visitor:{ForXStatement(e){handle(e.get("left"))},ForStatement(e){handle(e.get("init"))}}});t.default=r;e.exports=t.default},64038:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var r=({types:e})=>({name:"transform-tagged-template-caching",visitor:{TaggedTemplateExpression(t,r){let n=r.get("processed");if(!n){n=new Map;r.set("processed",n)}if(n.has(t.node))return t.skip();const i=t.node.quasi.expressions;let s=r.get("identity");if(!s){s=t.scope.getProgramParent().generateDeclaredUidIdentifier("_");r.set("identity",s);const n=t.scope.getBinding(s.name);n.path.get("init").replaceWith(e.arrowFunctionExpression([e.identifier("t")],e.identifier("t")))}const a=e.taggedTemplateExpression(s,e.templateLiteral(t.node.quasi.quasis,i.map(()=>e.numericLiteral(0))));n.set(a,true);const o=t.scope.getProgramParent().generateDeclaredUidIdentifier("t");t.scope.getBinding(o.name).path.parent.kind="let";const l=e.logicalExpression("||",o,e.assignmentExpression("=",o,a));const u=e.callExpression(t.node.tag,[l,...i]);t.replaceWith(u)}}});t.default=r;e.exports=t.default},9064:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(99858);var i=r(4836);var s=r(14155);var a=r(59654);var o=r(71073);var l=r(69562);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var u=_interopDefaultLegacy(i);var p=_interopDefaultLegacy(s);var c=_interopDefaultLegacy(a);var f=_interopDefaultLegacy(o);new l.OptionValidator("@babel/preset-react");function normalizeOptions(e={}){{let{pragma:t,pragmaFrag:r}=e;const{pure:n,throwIfNamespace:i=true,runtime:s="classic",importSource:a,useBuiltIns:o,useSpread:l}=e;if(s==="classic"){t=t||"React.createElement";r=r||"React.Fragment"}const u=!!e.development;return{development:u,importSource:a,pragma:t,pragmaFrag:r,pure:n,runtime:s,throwIfNamespace:i,useBuiltIns:o,useSpread:l}}}var d=n.declare((e,t)=>{e.assertVersion(7);const{development:r,importSource:n,pragma:i,pragmaFrag:s,pure:a,runtime:o,throwIfNamespace:l}=normalizeOptions(t);return{plugins:[[r?p["default"]:u["default"],{importSource:n,pragma:i,pragmaFrag:s,runtime:o,throwIfNamespace:l,pure:a,useBuiltIns:!!t.useBuiltIns,useSpread:t.useSpread}],c["default"],a!==false&&f["default"]].filter(Boolean)}});t.default=d},75281:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(55837);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},98801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var i=r(55837);var s=r(75281);var a=r(87633);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{n(!t,"Unexpected secondary arguments.");i.push(e)}const s=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(s).forEach(t=>{if(e[t]!==undefined)s[t]=e[t]});if(!r){if(e.nameHint!==undefined)s.nameHint=e.nameHint;if(e.blockHoist!==undefined)s.blockHoist=e.blockHoist}}return s}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:c,ensureLiveReference:f,ensureNoContext:d,nameHint:y,importPosition:h,blockHoist:m}=e;let T=y||t;const S=(0,a.default)(this._programPath);const b=S&&c==="node";const E=S&&c==="babel";if(h==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new s.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(T,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){T=T!=="default"?T:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(T||l).wildcardInterop()}else if(r){if(f){g.default(e).var(T||l).defaultInterop().read("default")}else{g.default(e).var(T).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l).wildcardInterop()}else if((r||n)&&f){if(r){T=T!=="default"?T:l;g.var(T).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(T).defaultInterop().prop(t)}else if(n){g.var(T).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(T||l)}else if(r||n){g.default(l).read(T)}}else if(E){g.import();if(o){g.namespace(T||l)}else if(r||n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r||n){if(f){g.var(l).read(T)}else{g.prop(t).var(T)}}}}else if(p==="uncompiled"){if(r&&f){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.default(l).read(T)}}else if(E){g.import();if(o){g.default(T||l)}else if(r){g.default(T)}else if(n){g.named(T,t)}}else{g.require();if(o){g.var(T||l)}else if(r){g.var(T)}else if(n){if(f){g.var(l).read(T)}else{g.var(T).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:x,resultName:P}=g.done();this._insertStatements(x,h,m);if((r||n)&&d&&P.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),P])}return P}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},71669:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var n=r(98801);var i=r(87633);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,i){return new n.default(e).addNamed(t,r,i)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},87633:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},99858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,i)=>{var s;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((s=a)!=null?s:t,n||{},i)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},45208:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(45208);var i=r(10736)},10736:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},63033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(99858);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){if(t.plugins.some(e=>(Array.isArray(e)?e[0]:e)==="typescript")){return}t.plugins.push("jsx")}}});t.default=i},82755:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createPlugin;var n=r(63033);var i=r(99858);var s=r(85850);var a=r(71669);var o=r(96659);const l={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"};const u=/\*?\s*@jsxImportSource\s+([^\s]+)/;const p=/\*?\s*@jsxRuntime\s+([^\s]+)/;const c=/\*?\s*@jsx\s+([^\s]+)/;const f=/\*?\s*@jsxFrag\s+([^\s]+)/;const d=(e,t)=>e.get(`@babel/plugin-react-jsx/${t}`);const y=(e,t,r)=>e.set(`@babel/plugin-react-jsx/${t}`,r);function createPlugin({name:e,development:t}){return(0,i.declare)((r,i)=>{const{pure:a,throwIfNamespace:h=true,filter:m,runtime:T=(t?"automatic":"classic"),importSource:S=l.importSource,pragma:b=l.pragma,pragmaFrag:E=l.pragmaFrag}=i;{var{useSpread:g=false,useBuiltIns:x=false}=i;if(T==="classic"){if(typeof g!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useSpread (defaults to false)")}if(typeof x!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useBuiltIns (defaults to false)")}if(g&&x){throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread "+"but not both")}}}const P={JSXOpeningElement(e,t){for(const t of e.get("attributes")){if(!t.isJSXElement())continue;const{name:r}=t.node.name;if(r==="__source"||r==="__self"){throw e.buildCodeFrameError(`__source and __self should not be defined in props and are reserved for internal usage.`)}}const r=s.types.jsxAttribute(s.types.jsxIdentifier("__self"),s.types.jsxExpressionContainer(s.types.thisExpression()));const n=s.types.jsxAttribute(s.types.jsxIdentifier("__source"),s.types.jsxExpressionContainer(makeSource(e,t)));e.pushContainer("attributes",[r,n])}};return{name:e,inherits:n.default,visitor:{JSXNamespacedName(e){if(h){throw e.buildCodeFrameError(`Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set \`throwIfNamespace: false\` to bypass this warning.`)}},JSXSpreadChild(e){throw e.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(e,r){const{file:n}=r;let a=T;let o=S;let d=b;let h=E;let m=!!i.importSource;let g=!!i.pragma;let x=!!i.pragmaFrag;if(n.ast.comments){for(const e of n.ast.comments){const t=u.exec(e.value);if(t){o=t[1];m=true}const r=p.exec(e.value);if(r){a=r[1]}const n=c.exec(e.value);if(n){d=n[1];g=true}const i=f.exec(e.value);if(i){h=i[1];x=true}}}y(r,"runtime",a);if(a==="classic"){if(m){throw e.buildCodeFrameError(`importSource cannot be set when runtime is classic.`)}const t=toMemberExpression(d);const n=toMemberExpression(h);y(r,"id/createElement",()=>s.types.cloneNode(t));y(r,"id/fragment",()=>s.types.cloneNode(n));y(r,"defaultPure",d===l.pragma)}else if(a==="automatic"){if(g||x){throw e.buildCodeFrameError(`pragma and pragmaFrag cannot be set when runtime is automatic.`)}const n=(t,n)=>y(r,t,createImportLazily(r,e,n,o));n("id/jsx",t?"jsxDEV":"jsx");n("id/jsxs",t?"jsxDEV":"jsxs");n("id/createElement","createElement");n("id/fragment","Fragment");y(r,"defaultPure",o===l.importSource)}else{throw e.buildCodeFrameError(`Runtime must be either "classic" or "automatic".`)}if(t){e.traverse(P,r)}}},JSXElement:{exit(e,t){let r;if(d(t,"runtime")==="classic"||shouldUseCreateElement(e)){r=buildCreateElementCall(e,t)}else{r=buildJSXElementCall(e,t)}e.replaceWith(s.types.inherits(r,e.node))}},JSXFragment:{exit(e,t){let r;if(d(t,"runtime")==="classic"){r=buildCreateElementFragmentCall(e,t)}else{r=buildJSXFragmentCall(e,t)}e.replaceWith(s.types.inherits(r,e.node))}},JSXAttribute(e){if(s.types.isJSXElement(e.node.value)){e.node.value=s.types.jsxExpressionContainer(e.node.value)}}}};function call(e,t,r){const n=s.types.callExpression(d(e,`id/${t}`)(),r);if(a!=null?a:d(e,"defaultPure"))(0,o.default)(n);return n}function shouldUseCreateElement(e){const t=e.get("openingElement");const r=t.node.attributes;let n=false;for(let e=0;e1){t=s.types.arrayExpression(e)}else{return undefined}return s.types.objectProperty(s.types.identifier("children"),t)}function buildJSXElementCall(e,r){const n=e.get("openingElement");const i=[getTag(n)];const a=[];const o=Object.create(null);for(const t of n.get("attributes")){if(t.isJSXAttribute()&&s.types.isJSXIdentifier(t.node.name)){const{name:r}=t.node.name;switch(r){case"__source":case"__self":if(o[r])throw sourceSelfError(e,r);case"key":{const e=convertAttributeValue(t.node.value);if(e===null){throw t.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.')}o[r]=e;break}default:a.push(t)}}else{a.push(t)}}const l=s.types.react.buildChildren(e.node);let u;if(a.length||l.length){u=buildJSXOpeningElementAttributes(a,r,l)}else{u=s.types.objectExpression([])}i.push(u);if(t){var p,c,f;i.push((p=o.key)!=null?p:e.scope.buildUndefinedNode(),s.types.booleanLiteral(l.length>1),(c=o.__source)!=null?c:e.scope.buildUndefinedNode(),(f=o.__self)!=null?f:s.types.thisExpression())}else if(o.key!==undefined){i.push(o.key)}return call(r,l.length>1?"jsxs":"jsx",i)}function buildJSXOpeningElementAttributes(e,t,r){const n=e.reduce(accumulateAttribute,[]);if((r==null?void 0:r.length)>0){n.push(buildChildrenProperty(r))}return s.types.objectExpression(n)}function buildJSXFragmentCall(e,r){const n=[d(r,"id/fragment")()];const i=s.types.react.buildChildren(e.node);n.push(s.types.objectExpression(i.length>0?[buildChildrenProperty(i)]:[]));if(t){n.push(e.scope.buildUndefinedNode(),s.types.booleanLiteral(i.length>1))}return call(r,i.length>1?"jsxs":"jsx",n)}function buildCreateElementFragmentCall(e,t){if(m&&!m(e.node,t))return;return call(t,"createElement",[d(t,"id/fragment")(),s.types.nullLiteral(),...s.types.react.buildChildren(e.node)])}function buildCreateElementCall(e,t){const r=e.get("openingElement");return call(t,"createElement",[getTag(r),buildCreateElementOpeningElementAttributes(t,e,r.get("attributes")),...s.types.react.buildChildren(e.node)])}function getTag(e){const t=convertJSXIdentifier(e.node.name,e.node);let r;if(s.types.isIdentifier(t)){r=t.name}else if(s.types.isLiteral(t)){r=t.value}if(s.types.react.isCompatTag(r)){return s.types.stringLiteral(r)}else{return t}}function buildCreateElementOpeningElementAttributes(e,t,r){const n=d(e,"runtime");{if(n!=="automatic"){const t=[];const n=r.reduce(accumulateAttribute,[]);if(!g){let e=0;n.forEach((r,i)=>{if(s.types.isSpreadElement(r)){if(i>e){t.push(s.types.objectExpression(n.slice(e,i)))}t.push(r.argument);e=i+1}});if(n.length>e){t.push(s.types.objectExpression(n.slice(e)))}}else if(n.length){t.push(s.types.objectExpression(n))}if(!t.length){return s.types.nullLiteral()}if(t.length===1){return t[0]}if(!s.types.isObjectExpression(t[0])){t.unshift(s.types.objectExpression([]))}const i=x?s.types.memberExpression(s.types.identifier("Object"),s.types.identifier("assign")):e.addHelper("extends");return s.types.callExpression(i,t)}}const i=[];const a=Object.create(null);for(const e of r){const r=s.types.isJSXAttribute(e)&&s.types.isJSXIdentifier(e.name)&&e.name.name;if(n==="automatic"&&(r==="__source"||r==="__self")){if(a[r])throw sourceSelfError(t,r);a[r]=true}accumulateAttribute(i,e)}return i.length===1&&s.types.isSpreadElement(i[0])?i[0].argument:i.length>0?s.types.objectExpression(i):s.types.nullLiteral()}});function getSource(e,r){switch(r){case"Fragment":return`${e}/${t?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${e}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${e}/jsx-runtime`;case"createElement":return e}}function createImportLazily(e,t,r,n){return()=>{const i=getSource(n,r);if((0,a.isModule)(t)){let n=d(e,`imports/${r}`);if(n)return s.types.cloneNode(n);n=(0,a.addNamed)(t,r,i,{importedInterop:"uncompiled",importPosition:"after"});y(e,`imports/${r}`,n);return n}else{let n=d(e,`requires/${i}`);if(n){n=s.types.cloneNode(n)}else{n=(0,a.addNamespace)(t,i,{importedInterop:"uncompiled"});y(e,`requires/${i}`,n)}return s.types.memberExpression(n,s.types.identifier(r))}}}}function toMemberExpression(e){return e.split(".").map(e=>s.types.identifier(e)).reduce((e,t)=>s.types.memberExpression(e,t))}function makeSource(e,t){const r=e.node.loc;if(!r){return e.scope.buildUndefinedNode()}if(!t.fileNameIdentifier){const{filename:r=""}=t;const n=e.scope.generateUidIdentifier("_jsxFileName");const i=e.hub.getScope();if(i){i.push({id:n,init:s.types.stringLiteral(r)})}t.fileNameIdentifier=n}return makeTrace(s.types.cloneNode(t.fileNameIdentifier),r.start.line,r.start.column)}function makeTrace(e,t,r){const n=t!=null?s.types.numericLiteral(t):s.types.nullLiteral();const i=r!=null?s.types.numericLiteral(r+1):s.types.nullLiteral();const a=s.types.objectProperty(s.types.identifier("fileName"),e);const o=s.types.objectProperty(s.types.identifier("lineNumber"),n);const l=s.types.objectProperty(s.types.identifier("columnNumber"),i);return s.types.objectExpression([a,o,l])}function sourceSelfError(e,t){const r=`transform-react-jsx-${t.slice(2)}`;return e.buildCodeFrameError(`Duplicate ${t} prop found. You are most likely using the deprecated ${r} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}},4836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(82755);var i=(0,n.default)({name:"transform-react-jsx",development:false});t.default=i},39144:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(74573);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},17920:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(14857);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},53384:()=>{},85765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(54240);var i=r(92578);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(26548);var i=r(14120);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},34520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(26548);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},26548:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(85765);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},36433:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(26548)},87450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(7215);var i=r(85987);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(26548);var i=r(2559);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},7975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(5375);function clone(e){return(0,n.default)(e,false)}},31048:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(5375);function cloneDeep(e){return(0,n.default)(e)}},95930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(5375);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},5375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(54240);var i=r(7215);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},10319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(5375);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},39597:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(68793);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},68793:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},86:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(43610);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},54320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(43610);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},79857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(43610);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},49093:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(79857);var i=r(54320);var s=r(86);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},91450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(58389);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},18283:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(54240);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},58389:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},73125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(42727);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},78776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(67500);var i=r(7215);var s=r(26548);var a=r(5375);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},54990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(58130);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},42727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(7215);var i=r(26548);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},45344:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(7215);var i=r(26548);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},77542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(7215);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},58130:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(30021);var i=r(14394);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},60378:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(7215);var i=r(5375);var s=r(74639);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},10966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(78776);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},48278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(7215);var i=r(26548);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},32751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(30021);var i=r(26548);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},69328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(14857);var i=r(30021);var s=r(14394);var a=r(58389);var o=r(60312);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},96271:(e,t,r)=>{"use strict";var n=r(60312);var i=r(69328);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},69866:(e,t,r)=>{"use strict";var n=r(60312);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:false},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"))}})},54240:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(69328);r(69866);r(57557);r(37661);r(96271);r(51585);var i=r(60312);var s=r(68314);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},57557:(e,t,r)=>{"use strict";var n=r(60312);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},37661:(e,t,r)=>{"use strict";var n=r(60312);var i=r(68314);{(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")}}})},68314:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(60312);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},51585:(e,t,r)=>{"use strict";var n=r(60312);var i=r(69328);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},60312:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(14857);var i=r(92578);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},55837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(88453);var s=r(58289);var a=r(87450);var o=r(39144);var l=r(17920);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(34520);var p=r(82837);var c=r(79633);var f=r(26548);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(36433);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(5375);var h=r(7975);var m=r(31048);var T=r(95930);var S=r(10319);var b=r(39597);var E=r(68793);var g=r(86);var x=r(54320);var P=r(49093);var A=r(79857);var v=r(91450);var O=r(18283);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(58389);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(73125);var D=r(54990);var N=r(42727);var C=r(45344);var j=r(77542);var _=r(58130);var L=r(60378);var k=r(10966);var B=r(48278);var M=r(32751);var F=r(54240);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(81638);var K=r(62476);var V=r(15694);var U=r(15951);var X=r(74639);var J=r(14120);var Y=r(67500);var W=r(15778);var q=r(58481);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(22756);var H=r(54300);var G=r(14857);var $=r(40182);var Q=r(38578);var Z=r(35606);var ee=r(8023);var te=r(74573);var re=r(79991);var ne=r(7498);var ie=r(93218);var se=r(18296);var ae=r(22637);var oe=r(89132);var le=r(14611);var ue=r(30021);var pe=r(46622);var ce=r(31318);var fe=r(92578);var de=r(31190);var ye=r(7215);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(53384);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},81638:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(26548);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},14120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(7215);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},62476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(58389);var i=r(49093);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},15694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(26548);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},15951:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(58389);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},74639:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(22756);var i=r(15951);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},2559:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(7215);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},67500:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(7215);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(67500);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},58481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(54240);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(54240);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},43610:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},85987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(26548);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},31190:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(31318);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},7215:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(54300);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},14857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(54300);var i=r(89132);var s=r(7498);var a=r(54240);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},40182:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(67500);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},38578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(7215);var i=r(8023);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},35606:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(89132);var i=r(7215);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},8023:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(7215);var i=r(58389);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},74573:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(54240);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},79991:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(54240);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(54240);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},93218:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},18296:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(7215);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},22637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(7215);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},89132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(54240);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},14611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(30021);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},30021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(14394);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},46622:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(7215);var i=r(58389);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},31318:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(7215);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},88453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(31190);const i=(0,n.default)("React.Component");var s=i;t.default=s},92578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(54240);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},44388:e=>{function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e.exports=_interopRequireDefault},51675:(e,t,r)=>{var n=r(57246);function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function _getRequireWildcardCache(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||n(e)!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var a=i?Object.getOwnPropertyDescriptor(e,s):null;if(a&&(a.get||a.set)){Object.defineProperty(r,s,a)}else{r[s]=e[s]}}}r["default"]=e;if(t){t.set(e,r)}return r}e.exports=_interopRequireWildcard},57246:e=>{function _typeof(t){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){e.exports=_typeof=function _typeof(e){return typeof e}}else{e.exports=_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(t)}e.exports=_typeof},22663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTemplateBuilder;var n=r(5447);var i=r(26522);var s=r(80694);const a=(0,n.validate)({placeholderPattern:false});function createTemplateBuilder(e,t){const r=new WeakMap;const o=new WeakMap;const l=t||(0,n.validate)(null);return Object.assign((t,...a)=>{if(typeof t==="string"){if(a.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,i.default)(e,t,(0,n.merge)(l,(0,n.validate)(a[0]))))}else if(Array.isArray(t)){let n=r.get(t);if(!n){n=(0,s.default)(e,t,l);r.set(t,n)}return extendedTrace(n(a))}else if(typeof t==="object"&&t){if(a.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,n.merge)(l,(0,n.validate)(t)))}throw new Error(`Unexpected template param ${typeof t}`)},{ast:(t,...r)=>{if(typeof t==="string"){if(r.length>1)throw new Error("Unexpected extra params.");return(0,i.default)(e,t,(0,n.merge)((0,n.merge)(l,(0,n.validate)(r[0])),a))()}else if(Array.isArray(t)){let i=o.get(t);if(!i){i=(0,s.default)(e,t,(0,n.merge)(l,a));o.set(t,i)}return i(r)()}throw new Error(`Unexpected template param ${typeof t}`)}})}function extendedTrace(e){let t="";try{throw new Error}catch(e){if(e.stack){t=e.stack.split("\n").slice(3).join("\n")}}return r=>{try{return e(r)}catch(e){e.stack+=`\n =============\n${t}`;throw e}}}},31272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.program=t.expression=t.statement=t.statements=t.smart=void 0;var n=r(30632);function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>{return e(t.program.body.slice(1))}}}const i=makeStatementFormatter(e=>{if(e.length>1){return e}else{return e[0]}});t.smart=i;const s=makeStatementFormatter(e=>e);t.statements=s;const a=makeStatementFormatter(e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]});t.statement=a;const o={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(o.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[t]=e.body;n.assertExpressionStatement(t);return t.expression}};t.expression=o;const l={code:e=>e,validate:()=>{},unwrap:e=>e.program};t.program=l},36900:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.program=t.expression=t.statements=t.statement=t.smart=void 0;var n=r(31272);var i=r(22663);const s=(0,i.default)(n.smart);t.smart=s;const a=(0,i.default)(n.statement);t.statement=a;const o=(0,i.default)(n.statements);t.statements=o;const l=(0,i.default)(n.expression);t.expression=l;const u=(0,i.default)(n.program);t.program=u;var p=Object.assign(s.bind(undefined),{smart:s,statement:a,statements:o,expression:l,program:u,ast:s.ast});t.default=p},80694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=literalTemplate;var n=r(5447);var i=r(68278);var s=r(1143);function literalTemplate(e,t,r){const{metadata:i,names:a}=buildLiteralData(e,t,r);return t=>{const r={};t.forEach((e,t)=>{r[a[t]]=e});return t=>{const a=(0,n.normalizeReplacements)(t);if(a){Object.keys(a).forEach(e=>{if(Object.prototype.hasOwnProperty.call(r,e)){throw new Error("Unexpected replacement overlap.")}})}return e.unwrap((0,s.default)(i,a?Object.assign(a,r):r))}}}function buildLiteralData(e,t,r){let n;let s;let a;let o="";do{o+="$";const l=buildTemplateCode(t,o);n=l.names;s=new Set(n);a=(0,i.default)(e,e.code(l.code),{parser:r.parser,placeholderWhitelist:new Set(l.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}}function buildTemplateCode(e,t){const r=[];let n=e[0];for(let i=1;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.merge=merge;t.validate=validate;t.normalizeReplacements=normalizeReplacements;function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var i,s;for(s=0;s=0)continue;r[i]=e[i]}return r}function merge(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}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const t=e||{},{placeholderWhitelist:r,placeholderPattern:n,preserveComments:i,syntacticPlaceholders:s}=t,a=_objectWithoutPropertiesLoose(t,["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]);if(r!=null&&!(r instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(n!=null&&!(n instanceof RegExp)&&n!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(i!=null&&typeof i!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(s!=null&&typeof s!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(s===true&&(r!=null||n!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:a,placeholderWhitelist:r||undefined,placeholderPattern:n==null?undefined:n,preserveComments:i==null?undefined:i,syntacticPlaceholders:s==null?undefined:s}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce((e,t,r)=>{e["$"+r]=t;return e},{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},68278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parseAndBuildMetadata;var n=r(30632);var i=r(58199);var s=r(67689);const a=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,t,r){const{placeholderWhitelist:i,placeholderPattern:s,preserveComments:a,syntacticPlaceholders:o}=r;const l=parseWithCodeFrame(t,r.parser,o);n.removePropertiesDeep(l,{preserveComments:a});e.validate(l);const u={placeholders:[],placeholderNames:new Set};const p={placeholders:[],placeholderNames:new Set};const c={value:undefined};n.traverse(l,placeholderVisitorHandler,{syntactic:u,legacy:p,isLegacyRef:c,placeholderWhitelist:i,placeholderPattern:s,syntacticPlaceholders:o});return Object.assign({ast:l},c.value?p:u)}function placeholderVisitorHandler(e,t,r){var i;let s;if(n.isPlaceholder(e)){if(r.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}else{s=e.name.name;r.isLegacyRef.value=false}}else if(r.isLegacyRef.value===false||r.syntacticPlaceholders){return}else if(n.isIdentifier(e)||n.isJSXIdentifier(e)){s=e.name;r.isLegacyRef.value=true}else if(n.isStringLiteral(e)){s=e.value;r.isLegacyRef.value=true}else{return}if(!r.isLegacyRef.value&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(r.isLegacyRef.value&&(r.placeholderPattern===false||!(r.placeholderPattern||a).test(s))&&!((i=r.placeholderWhitelist)!=null&&i.has(s))){return}t=t.slice();const{node:o,key:l}=t[t.length-1];let u;if(n.isStringLiteral(e)||n.isPlaceholder(e,{expectedNode:"StringLiteral"})){u="string"}else if(n.isNewExpression(o)&&l==="arguments"||n.isCallExpression(o)&&l==="arguments"||n.isFunction(o)&&l==="params"){u="param"}else if(n.isExpressionStatement(o)&&!n.isPlaceholder(e)){u="statement";t=t.slice(0,-1)}else if(n.isStatement(e)&&n.isPlaceholder(e)){u="statement"}else{u="other"}const{placeholders:p,placeholderNames:c}=r.isLegacyRef.value?r.legacy:r.syntactic;p.push({name:s,type:u,resolve:e=>resolveAncestors(e,t),isDuplicate:c.has(s)});c.add(s)}function resolveAncestors(e,t){let r=e;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=populatePlaceholders;var n=r(30632);function populatePlaceholders(e,t){const r=n.cloneNode(e.ast);if(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{applyReplacement(e,r,t&&t[e.name]||null)}catch(t){t.message=`@babel/template placeholder "${e.name}": ${t.message}`;throw t}});return r}function applyReplacement(e,t,r){if(e.isDuplicate){if(Array.isArray(r)){r=r.map(e=>n.cloneNode(e))}else if(typeof r==="object"){r=n.cloneNode(r)}}const{parent:i,key:s,index:a}=e.resolve(t);if(e.type==="string"){if(typeof r==="string"){r=n.stringLiteral(r)}if(!r||!n.isStringLiteral(r)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(a===undefined){if(!r){r=n.emptyStatement()}else if(Array.isArray(r)){r=n.blockStatement(r)}else if(typeof r==="string"){r=n.expressionStatement(n.identifier(r))}else if(!n.isStatement(r)){r=n.expressionStatement(r)}}else{if(r&&!Array.isArray(r)){if(typeof r==="string"){r=n.identifier(r)}if(!n.isStatement(r)){r=n.expressionStatement(r)}}}}else if(e.type==="param"){if(typeof r==="string"){r=n.identifier(r)}if(a===undefined)throw new Error("Assertion failure.")}else{if(typeof r==="string"){r=n.identifier(r)}if(Array.isArray(r)){throw new Error("Cannot replace single expression with an array.")}}if(a===undefined){n.validate(i,s,r);i[s]=r}else{const t=i[s].slice();if(e.type==="statement"||e.type==="param"){if(r==null){t.splice(a,1)}else if(Array.isArray(r)){t.splice(a,1,...r)}else{t[a]=r}}else{t[a]=r}n.validate(i,s,t);i[s]=t}}},26522:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=stringTemplate;var n=r(5447);var i=r(68278);var s=r(1143);function stringTemplate(e,t,r){t=e.code(t);let a;return o=>{const l=(0,n.normalizeReplacements)(o);if(!a)a=(0,i.default)(e,t,r);return e.unwrap((0,s.default)(a,l))}}},67689:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(30250);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const s=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},n,e.end);const{linesAbove:s=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=i.line;const p=i.column;let c=Math.max(o-(s+1),0);let f=Math.min(t.length,u+a);if(o===-1){c=0}if(u===-1){f=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:c,end:f,markerLines:y}}function codeFrameColumns(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const u=e.split(s);const{start:p,end:c,markerLines:f}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(c).length;const h=i?(0,n.default)(e,r):e;let m=h.split(s).slice(p,c).map((e,t)=>{const n=p+1+t;const i=` ${n}`.slice(-y);const s=` ${i} |`;const a=f[n];const u=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,s.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(i)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,s),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,s)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){m=`${" ".repeat(y+1)}${r.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}},40689:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const s=new RegExp("["+r+n+"]");r=n=null;const a=[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];const o=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(40689);var i=r(80746)},80746:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const s=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},30250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var i=r(72725);var s=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=i}}return r}function shouldHighlight(e){return!!s.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new s.constructor({enabled:true,level:1}):s}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},58199:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const i=true;const s=true;const a=true;const o=true;class TokenType{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=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:s}),assign:new TokenType("_=",{beforeExpr:r,isAssign:s}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:s}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:i,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const c=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const f=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(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 true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{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}}function getLineInfo(e,t){let r=1;let n=0;let i;c.lastIndex=0;while((i=c.exec(e))&&i.index0){n=t[--i]}if(n===null){return}for(let e=0;e0){n.trailingComments=s}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,i,s,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){i=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){i=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(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(last(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){break}}const t=this.state.leadingComments.slice(0,s);if(t.length){e.leadingComments=t}i=this.state.leadingComments.slice(s);if(i.length===0){i=null}}}this.state.commentPreviousNode=e;if(i){if(i.length&&i[0].start>=e.start&&last(i).end<=e.end){e.innerComments=i}else{const t=i.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=i.slice(0,t);e.trailingComments=i.slice(t)}else{e.trailingComments=i}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const y=makeErrorTemplates({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."},d.SyntaxError);const h=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...i){return this.raiseWithData(e,{code:t,reasonCode:r},n,...i)}raiseOverwrite(e,{code:t,template:r},...n){const i=this.getLocationForPosition(e);const s=r.replace(/%(\d+)/g,(e,t)=>n[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})}else 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);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);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);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return 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",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,i,s,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,i,s,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(s==="ClassPrivateMethod"){e.computed=false}s="MethodDefinition";return this.finishNode(e,s)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,i){const s=super.parseObjectMethod(e,t,r,n,i);if(s){s.type="Property";if(s.kind==="method")s.kind="init";s.shorthand=false}return s}parseObjectProperty(e,t,r,n,i){const s=super.parseObjectProperty(e,t,r,n,i);if(s){s.kind="init";s.type="Property"}return s}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,y.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,y.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,i){const s=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if(s.type==="OptionalMemberExpression"||s.type==="OptionalCallExpression"){s.type=s.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(s);e.expression=s;return this.finishNode(e,"ChainExpression")}}else if(s.type==="MemberExpression"||s.type==="CallExpression"){s.optional=false}return s}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const T={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(T.brace)});u.dollarBraceL.updateContext=(e=>{e.push(T.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===T.template){e.pop()}else{e.push(T.template)}});let S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const E=new RegExp("["+S+"]");const g=new RegExp("["+S+b+"]");S=b=null;const x=[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];const P=[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 isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,x)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&g.test(String.fromCharCode(e))}return isInAstralSet(e,x)||isInAstralSet(e,P)}const A={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const v=new Set(A.keyword);const O=new Set(A.strict);const I=new Set(A.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||O.has(e)}function isStrictBindOnlyReservedWord(e){return I.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return v.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const w=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return w.has(e)}const D=0,N=1,C=2,j=4,_=8,L=16,k=32,B=64,M=128,F=256,R=N|C|F;const K=1,V=2,U=4,X=8,J=16,Y=64,W=128,q=256,z=512,H=1024,G=2048;const $=K|V|X|W,Q=K|0|X|0,Z=K|0|U|0,ee=K|0|J|0,te=0|V|0|W,re=0|V|0|0,ne=K|V|X|q,ie=0|0|0|H,se=0|0|0|Y,ae=K|0|0|Y,oe=ne|z,le=0|0|0|H,ue=G;const pe=4,ce=2,fe=1,de=ce|fe;const ye=ce|pe,he=fe|pe,me=ce,Te=fe,Se=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&C)>0}get allowSuper(){return(this.currentThisScopeFlags()&L)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&k)>0}get inClass(){return(this.currentThisScopeFlags()&B)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&B)>0&&(e&C)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&M)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&C)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&C||!this.inModule&&e.flags&N)}declareName(e,t,r){let n=this.currentScope();if(t&X||t&J){this.checkRedeclarationInScope(n,e,t,r);if(t&J){n.functions.add(e)}else{n.lexical.add(e)}if(t&X){this.maybeExportDefined(n,e)}}else if(t&U){for(let i=this.scopeStack.length-1;i>=0;--i){n=this.scopeStack[i];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&R)break}}if(this.inModule&&n.flags&N){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&N){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,y.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&K))return false;if(r&X){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&J){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&_&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(R|B)&&!(t&j)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&G){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&G){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const be=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const Ee=makeErrorTemplates({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."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const ge={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=xe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Ee.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const i=this.flowParseFunctionTypeParams();r.params=i.params;r.rest=i.rest;r.this=i._this;this.expect(u.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,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Ee.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(D);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Ee.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Ee.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let i=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,Ee.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="CommonJS";i=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=ge[e];throw this.raise(this.state.start,Ee.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Ee.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!be.has(e))return;this.raise(t,r?Ee.AssignReservedType:Ee.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();r.name=i.name;r.variance=n;r.bound=i.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Ee.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:i}){const s=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let s=null;let o=null;const c=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();s=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const f=this.flowParseVariance();if(this.eat(u.bracketL)){if(s!=null){this.unexpected(s)}if(this.eat(u.bracketL)){if(f){this.unexpected(f.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(c,t,f))}}else if(this.match(u.parenL)||this.isRelational("<")){if(s!=null){this.unexpected(s)}if(f){this.unexpected(f.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(c,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(c,t,s,f,e,r,i!=null?i:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Ee.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const c=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=s;return c}flowParseObjectTypeProperty(e,t,r,n,i,s,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!s){this.raise(this.state.lastTokStart,Ee.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Ee.InexactInsideExact)}if(n){this.raise(n.start,Ee.InexactVariance)}return null}if(!s){this.raise(this.state.lastTokStart,Ee.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Ee.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!s&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Ee.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Ee.GetterMayNotHaveThisParam:Ee.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,y.BadGetterArity)}else{this.raise(r,y.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,y.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.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(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}this.expect(u.question);const i=this.state.clone();const s=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,c]=this.getArrowLikeExpressions(o);if(l||c.length>0){const e=[...s];if(c.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,Ee.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=s;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(C|j);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(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=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Ee.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Ee.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,y.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&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 false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,Ee.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const i=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,s){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,i,s);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Ee.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Ee.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,i,s,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,i,s,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Ee.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Ee.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),i);if(!s.error)return s.node;const{context:n}=this.state;if(n[n.length-1]===T.j_oTag){n.length-=2}else if(n[n.length-1]===T.j_expr){n.length-=1}}if((n=s)!=null&&n.error||this.isRelational("<")){var a,o;i=i||this.state.clone();let n;const l=this.tryParse(i=>{var s;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const i=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(i,n);return i});if(a.type!=="ArrowFunctionExpression"&&(s=a.extra)!=null&&s.parenthesized){i()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},i);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,Ee.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=s)!=null&&a.node){this.state=s.failState;return s.node}if(u){this.state=l.failState;return u}if((o=s)!=null&&o.thrown)throw s.error;if(l.thrown)throw l.error;throw this.raise(n.start,Ee.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(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(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Ee.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const 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){this.state=s.failState;return s.node}if(a.node){this.state=a.failState;return a.node}throw s.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(n){i.stop=true;return e}this.next();const s=this.startNodeAt(t,r);s.callee=e;s.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);s.arguments=this.parseCallExpressionArguments(u.parenR,false);s.optional=true;return this.finishCallExpression(s,true)}else 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(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(i.optionalChainMember)n.optional=false;return this.finishCallExpression(n,i.optionalChainMember)});if(s.node){if(s.error)this.state=s.failState;return s.node}}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){let t=null;if(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);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Ee.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Ee.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,y.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,y.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Ee.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Ee.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Ee.EnumInvalidExplicitTypeUnknownSupplied:Ee.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let i=null;switch(r){case"boolean":case"number":case"string":i=Ee.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=Ee.EnumInvalidMemberInitializerSymbolType;break;default:i=Ee.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Ee.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){i=true;break}const s=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};s.id=a;switch(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"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:i,hasUnknownMembers:s}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=s;switch(n){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const s=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!s&&!a&&!o&&!l){return n()}else if(!s&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&s>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!s&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ae={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:"♦"};class State{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=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[T.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,i=r.length;n.",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 <>...?"},d.SyntaxError);T.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(T.j_expr);e.push(T.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var we=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ie.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&Ne)>0}get hasReturn(){return(this.currentFlags()&je)>0}get hasIn(){return(this.currentFlags()&_e)>0}}function functionFlags(e,t){return(e?Ce:0)|(t?Ne:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const Le=makeErrorTemplates({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."},d.SyntaxError);function keywordTypeFromName(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 undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var ke=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const i=(t,r,n,i)=>{if(r===n&&e[i]){this.raise(t,Le.InvalidModifiersOrder,n,i)}};const s=(t,r,n,i)=>{if(e[n]&&r===i||e[i]&&r===n){this.raise(t,Le.IncompatibleModifiers,n,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Le.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Le.DuplicateModifier,o)}else{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]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}n.push(i);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Le.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.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();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Le.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Le.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Le.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,Le.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,y.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,y.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Le.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Le.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Le.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,Le.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Le.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Le.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const s=i==="TSNamedTupleMember";r=(n=r)!=null?n:s;if(r!==s){this.raise(e.start,Le.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const i=this.eat(u.question);const s=this.eat(u.colon);if(s){const e=this.startNodeAtNode(n);e.optional=i;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Le.InvalidTupleMemberLabel);e.label=n}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();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Le.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return 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();const i=this.eat(r);const s=[];do{s.push(t())}while(this.eat(r));if(s.length===1&&!i){return s[0]}n.types=s;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsParseTypeAnnotation(false);r.parameterName=i;r.typeAnnotation=s;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Le.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return 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=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(D);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,Le.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(F);this.prodParam.enter(De);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Le.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let i;let s=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;s=t.readonly;if(e===false&&(i||s||a)){this.raise(r,Le.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||s||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(s)e.readonly=s;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Le.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Le.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ie)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Le.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return 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(u.parenL)){s.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(s.arguments);s.typeParameters=a;if(i.optionalChainMember){s.optional=false}return this.finishCallExpression(s,i.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,i);n.typeParameters=a;return 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();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,r);i.expression=e;const s=this.tsTryNextParseConstantContext();if(s){i.typeAnnotation=s}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Le.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!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;if(i&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,Le.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,r,n){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,Le.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Le.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Le.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Le.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Le.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,Le.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Le.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Le.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(u.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(i&&n){this.resetStartLocation(i,t,r);i.declare=true}return i}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?ie:$);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,Le.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Le.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Le.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,s){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,Le.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Le.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,i,s,a,o;let l;let p;let c;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===T.j_oTag){t.length-=2}else if(t[t.length-1]===T.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let f;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;f=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(r=i.extra)!=null&&r.parenthesized){t()}if(((n=f)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(i,f)}i.typeParameters=f;return i},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));c=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!c.error)return c.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=c)!=null&&n.node){this.state=c.failState;return c.node}if((i=p)!=null&&i.thrown)throw p.error;if(d.thrown)throw d.error;if((s=c)!=null&&s.thrown)throw c.error;throw((a=p)==null?void 0:a.error)||d.error||((o=c)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Le.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const i=n&&this.isThisParam(n);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;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(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Le.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Le.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Be=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Me=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return 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;const s=this.parsePlaceholder("Identifier");if(s){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=s}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(s,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Be.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Fe=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Re=["minimal","smart","fsharp"];const Ke=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){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'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Re.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Re.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ke.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ve={estree:m,jsx:we,flow:Pe,typescript:ke,v8intrinsic:Fe,placeholders:Me};const Ue=Object.keys(Ve);const Xe={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Xe)){t[r]=e&&e[r]!=null?e[r]:Xe[r]}return t}var Je=function isDigit(e){return e>=48&&e<=57};const Ye=new Set([103,109,115,105,121,117,100]);const We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const qe={};qe.bin=[48,49];qe.oct=[...qe.bin,50,51,52,53,54,55];qe.dec=[...qe.oct,56,57];qe.hex=[...qe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(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){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){f.lastIndex=e;const t=f.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===T.template){this.readTmplToken()}else{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 SourceLocation(i,s)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,y.UnterminatedComment);this.state.pos=r+2;c.lastIndex=t;let n;while((n=c.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,y.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.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,y.UnterminatedRegExp)}const i=this.input.charCodeAt(n);if(isNewLine(i)){throw this.raise(e,y.UnterminatedRegExp)}if(t){t=false}else{if(i===91){r=true}else if(i===93&&r){r=false}else if(i===47&&!r){break}t=i===92}}const i=this.input.slice(e,n);++n;let s="";while(n-1||s.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,y.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Je(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+i+2,y.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,y.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;r=true}else if(i===109){throw this.raise(t,y.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let i=false;let s=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,y.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,y.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,y.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,y.InvalidOrMissingExponent)}r=true;s=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,y.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(s||o){this.raise(t,y.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(i){this.finishToken(u.decimal,p);return}const c=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,c)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,y.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,y.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++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}else{this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let i=parseInt(n,8);if(i>255){n=n.slice(0,-1);i=parseInt(n,8)}this.state.pos+=n.length-1;const s=this.input.charCodeAt(this.state.pos);if(n!=="0"||s===56||s===57){if(e){return null}else{this.recordStrictModeErrors(t,y.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(r){this.raise(n,y.InvalidEscapeSequence)}else{this.state.pos=n-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let i=e[n];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(r);i=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope($e)}function newArrowHeadScope(){return new ArrowHeadParsingScope(He)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Ge)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,y.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?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)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,y.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const i=this.scope;const s=this.getScopeHandler();this.scope=new s(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=De;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ce}this.scope.enter(N);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{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 SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let i=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){i=Qe(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,y.InvalidParenthesizedAssignment)}}else{this.raise(e.start,y.InvalidParenthesizedAssignment)}}switch(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))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const i=this.startNodeAt(t,r);i.expressions=[n];while(this.eat(u.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return 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;const i=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,i)}return e}}let s;if(e){s=false}else{e=new ExpressionErrors;s=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,i)}if(this.state.type.isAssign){const t=this.startNodeAt(n,i);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(s){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.state.potentialArrowAt;const s=this.parseExprOps(e);if(this.shouldExitDescending(s,i)){return s}return this.parseConditional(s,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,n)){return i}return this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(i>n){const s=this.state.type;if(s===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=s===u.logicalOR||s===u.logicalAND;const l=s===u.nullishCoalescing;if(l){i=u.logicalAND.binop}this.next();if(s===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(s,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,y.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const s=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,y.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,y.DeletePrivateField)}}if(!s){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,s,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?y.AwaitNotInAsyncContext:y.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const i=this.state.startLoc;let s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return s;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,i);e.operator=this.state.value;e.prefix=false;e.argument=s;this.checkLVal(s,"postfix operation");this.next();s=this.finishNode(e,"UpdateExpression")}return s}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,n)){return i}return this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,r,n,i){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,i)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,i)}let s=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=s=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,i,s)}else if(s||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,i,s)}else{i.stop=true;return e}}parseMember(e,t,r,n,i){const s=this.startNodeAt(t,r);const a=this.eat(u.bracketL);s.object=e;s.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(s.object.type==="Super"){this.raise(t,y.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}s.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){s.optional=i;return this.finishNode(s,"OptionalMemberExpression")}else{return this.finishNode(s,"MemberExpression")}}parseBind(e,t,r,n,i){const s=this.startNodeAt(t,r);s.object=e;s.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(s,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){const s=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=s;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const i=this.startNodeAt(t,r);i.tag=e;i.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,y.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,y.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){const s=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}s.push(this.parseExprListItem(false,i,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return s}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,y.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,y.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,y.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,y.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,y.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,y.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Ce);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,y.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,y.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,h.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const c={start:0};let f=true;let d;let y;while(!this.match(u.parenR)){if(f){f=false}else{this.expect(u.comma,c.start||null);if(this.match(u.parenR)){y=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,c))}}const h=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=s;let T=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(T=this.parseArrow(T))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(T,l,false);return T}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(y)this.unexpected(y);if(d)this.unexpected(d);this.checkExpressionErrors(p,true);if(c.start)this.unexpected(c.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",h,m)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const S=this.startNodeAt(t,r);S.expression=n;this.finishNode(S,"ParenthesizedExpression");return S}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,y.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,y.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,y.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,y.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(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(i,r,s,n)}if(r&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,y.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,y.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let i=false;let s=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(u.star)}const p=this.state.containsEsc;const c=this.parsePropertyName(n,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=c.name;if(e==="async"&&!this.hasPrecedingLineBreak()){s=true;i=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){i=true;this.raise(this.state.pos,y.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,i,s,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const i=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(i,y.BadGetterArity)}else{this.raise(i,y.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,y.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,i){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return 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);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,i,s,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(C|L|(a?B:0)|(i?k:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,s,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const s=this.startNode();this.next();s.elements=this.parseExprList(e,!r,n,s);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(C|j);let i=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){i|=_e}this.prodParam.enter(i);this.initFunction(e,r);const s=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=s;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|je);e.body=this.parseBlock(true,false,i=>{const s=!this.isSimpleParamList(e.params);if(i&&s){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,y.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!s,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,y.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,y.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,y.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,y.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,y.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,y.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,y.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,y.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,y.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,y.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const i=this.isSimpleReference(e);if(i){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,y.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,i?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&~t;if(r){this.prodParam.enter(t|_e);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=_e&t;if(r){this.prodParam.enter(t&~_e);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,it=4;const st=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(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,y.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const i=this.input.slice(t.start,t.end);const s=r.value=i.slice(1,-1);this.addExtra(r,"raw",i);this.addExtra(r,"rawValue",s);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let i;if(this.isLet(e)){r=u._var;i="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,y.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,y.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,y.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,i);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,y.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const s=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,s,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,h.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;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(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(D);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const i=n?"let":this.state.value;this.next();this.parseVar(r,true,i);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const i=this.match(u.name)&&!this.state.containsEsc;const s=new ExpressionErrors;const a=this.parseExpression(true,s);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,y.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,y.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,y.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(D);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,y.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,y.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?_:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(D)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,y.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,y.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,y.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(u._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){r.statementStart=this.state.start;r.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(D)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){const s=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?a:undefined,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){const s=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(i){i.call(this,a)}if(!s){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,y.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const i=t&nt;const s=!!n&&!(t&it);this.initFunction(e,r);if(this.match(u.star)&&i){this.raise(this.state.start,y.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(s)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(C);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const i=this.startNode();i.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(i,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,y.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,y.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const i=t;const s=t;const a=t;const o=t;const l=i;const p=i;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,s,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const c=this.state.containsEsc;const f=this.match(u.privateName);const d=this.parseClassElementName(t);const h=d.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(f){this.pushClassPrivateMethod(e,s,false,false);return}const n=this.isNonstaticConstructor(i);let a=false;if(n){i.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,y.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,y.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,i,false,false,n,a)}else if(this.isClassProperty()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(h&&d.name==="async"&&!c&&!this.isLineTerminator()){const t=this.eat(u.star);if(p.optional){this.unexpected(m)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,s,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(h&&(d.name==="get"||d.name==="set")&&!c&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,s,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(f){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,y.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,y.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(B|M|L);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(De);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,y.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,y.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),Se,r.key.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const i=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(i);const s=i.kind==="get"?i.static?ye:me:i.kind==="set"?i.static?he:Te:Se;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),s,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(B|L);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(De);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=$){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,y.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const i=n&&this.maybeParseExportNamespaceSpecifier(e);const s=r&&(!i||this.eat(u.comma));const a=t||n;if(n&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||i&&s&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|it,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,y.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,y.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,y.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const s=this.state.decoratorStack[this.state.decoratorStack.length-1];if(s.length){throw this.raise(e.start,y.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?y.DuplicateDefaultExport:y.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.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(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(st);if(t){this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,y.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,y.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Ue.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=Ve[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},81478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(15154);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},24183:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(836);function assert(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}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},29753:()=>{},92718:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(9418);var i=r(67995);function builder(e,...t){const r=n.BUILDER_KEYS[e];const 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;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(81639);var i=r(28057);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},74282:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(81639);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},81639:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(92718);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,s){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,s){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,s,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,s){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,s,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,s){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,s){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,s,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,s){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,s){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},39690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(81639)},35299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(44414);var i=r(71487);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(81639);var i=r(53931);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},24890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(77329);function clone(e){return(0,n.default)(e,false)}},66853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(77329);function cloneDeep(e){return(0,n.default)(e)}},71520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(77329);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},77329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(9418);var i=r(44414);const s=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(s(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(s(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!s(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(s(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(s(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(s(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(s(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(s(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(s(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},4418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(77329);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},24794:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(85636);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},85636:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},65256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(67276);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},60670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(67276);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},56409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(67276);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},30035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(56409);var i=r(60670);var s=r(65256);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,s.default)(e,t);return e}},76613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(93401);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},7125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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(9418);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 u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const f=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const h=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const w=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=w;const D=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const _=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const k=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=k;const B=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=B;const M=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const X=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=Y;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},93401:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const s=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=s;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const c=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=c;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...c];t.BINARY_OPERATORS=d;const y=["=","+=",...f.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const h=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=h;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const T=["typeof"];t.STRING_UNARY_OPERATORS=T;const S=["void","throw",...h,...m,...T];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},2387:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(75666);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},84746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(7057);var i=r(44414);var s=r(81639);var a=r(77329);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,s.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,s.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,s.sequenceExpression)(o)}}},27997:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(32689);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},75666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(44414);var i=r(81639);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},58035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(44414);var i=r(81639);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},25793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(44414);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},32689:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(18640);var i=r(72725);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},75771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(44414);var i=r(77329);var s=r(7903);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,s.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},56596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(84746);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},47297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(44414);var i=r(81639);var s=toStatement;t.default=s;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let s;if((0,n.isClass)(e)){r=true;s="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;s="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){s=false}if(!s){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=s;return e}},5601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(18640);var i=r(81639);var s=valueToNode;t.default=s;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let s;if((0,n.default)(r)){s=(0,i.identifier)(r)}else{s=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(s,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},83607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(836);var i=r(18640);var s=r(72725);var a=r(93401);var o=r(70879);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,s){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,i,s)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const s=r.operator==="in"?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=c;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,a]=i;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,s.isKeyword)(r.name)||(0,s.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(s,"value",s.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const s=r.init?e:t;s(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const s=r.source?e:t;s(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,s){if((0,n.default)("VariableDeclaration",s)){e(r,i,s)}else{t(r,i,s)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const f={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=f;const d=Object.assign({},l,f,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.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({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.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,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},86193:(e,t,r)=>{"use strict";var n=r(70879);var i=r(83607);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.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({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},14142:(e,t,r)=>{"use strict";var n=r(70879);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:false},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"))}})},9418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(83607);r(14142);r(93551);r(70068);r(86193);r(87043);var i=r(70879);var s=r(54026);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},93551:(e,t,r)=>{"use strict";var n=r(70879);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,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:true,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:true}}});(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:false},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:true}}});(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"]})},70068:(e,t,r)=>{"use strict";var n=r(70879);var i=r(54026);{(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")}}})},54026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(70879);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];if(t!=null&&t.length)s[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(s).forEach(e=>{s[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},87043:(e,t,r)=>{"use strict";var n=r(70879);var i=r(83607);const s=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},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")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={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({},u,{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,u,{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 p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},c,{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:false},elementType:(0,n.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",f);(0,n.default)("TSIntersectionType",f);(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:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},70879:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;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 n=r(836);var i=r(67995);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const c={};t.NODE_PARENT_VALIDATIONS=c;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let s=0;s=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){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||[];const h=t.aliases||r.aliases||[];const m=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}s[e]=t.visitor=i;u[e]=t.builder=m;l[e]=t.fields=n;a[e]=t.aliases=h;h.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){c[e]=t.validate}y[e]=t}const y={}},30632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(96682);var s=r(31933);var a=r(35299);var o=r(81478);var l=r(24183);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(74282);var p=r(77268);var c=r(55464);var f=r(81639);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var d=r(39690);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(77329);var h=r(24890);var m=r(66853);var T=r(71520);var S=r(4418);var b=r(24794);var E=r(85636);var g=r(65256);var x=r(60670);var P=r(30035);var A=r(56409);var v=r(76613);var O=r(7125);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(93401);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var w=r(2387);var D=r(27997);var N=r(75666);var C=r(58035);var j=r(25793);var _=r(32689);var L=r(75771);var k=r(56596);var B=r(47297);var M=r(5601);var F=r(9418);Object.keys(F).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})});var R=r(4160);var K=r(32220);var V=r(17191);var U=r(21637);var X=r(7903);var J=r(28057);var Y=r(7057);var W=r(71048);var q=r(62971);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(65473);var H=r(36317);var G=r(836);var $=r(72610);var Q=r(90548);var Z=r(2090);var ee=r(95364);var te=r(15154);var re=r(94323);var ne=r(41807);var ie=r(95838);var se=r(1902);var ae=r(64970);var oe=r(11307);var le=r(82916);var ue=r(18640);var pe=r(28188);var ce=r(72717);var fe=r(67995);var de=r(32207);var ye=r(44414);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var he=r(29753);Object.keys(he).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})});const me={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=me},4160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(81639);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},28057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(44414);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}s.push(o)}for(const e of Object.keys(r)){s.push(r[e])}for(const e of Object.keys(t)){s.push(t[e])}return s}},32220:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(93401);var i=r(30035);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},17191:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(81639);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},21637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(93401);const i=["tokens","start","end","loc","raw","rawValue"];const s=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:s;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},7903:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(65473);var i=r(21637);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},53931:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(44414);function removeTypeDuplicates(e){const t={};const r={};const i=[];const s=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(i.indexOf(a.types)<0){e=e.concat(a.types);i.push(a.types)}continue}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}},7057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(44414);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const s=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=s[e.name]=s[e.name]||[];t.push(e)}else{s[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(7057);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},62971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(9418);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,s){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,s,i);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(9418);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},67276:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},71487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(81639);function cleanJSXElementLiteralChild(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:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},32207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(72717);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},44414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(36317);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("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||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("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){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(36317);var i=r(11307);var s=r(41807);var a=r(9418);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,s.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},72610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(7057);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(s===e)return true}}}return false}},90548:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(44414);var i=r(95364);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},2090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(11307);var i=r(44414);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},95364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(44414);var i=r(93401);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},15154:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(9418);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},94323:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(9418);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(9418);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},95838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},1902:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(44414);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},64970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(44414);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},11307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(9418);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},82916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(18640);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"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},18640:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(72725);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},28188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(44414);var i=r(93401);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},72717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(44414);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){s.push(a.property)}s.push(a);if(s.lengthi.length)return false;for(let e=0,t=s.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},96682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(32207);const i=(0,n.default)("React.Component");var s=i;t.default=s},67995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(9418);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const s=i[t];validateField(e,t,r,s);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},99593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=function(){function sliceIterator(e,t){var r=[];var n=true;var i=false;var s=undefined;try{for(var a=e[Symbol.iterator](),o;!(n=(o=a.next()).done);n=true){r.push(o.value);if(t&&r.length===t)break}}catch(e){i=true;s=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(i)throw s}}return r}return function(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();t.getImportSource=getImportSource;t.createDynamicImportTransform=createDynamicImportTransform;function getImportSource(e,t){var n=t.arguments;var i=r(n,1),s=i[0];var a=e.isStringLiteral(s)||e.isTemplateLiteral(s);if(a){e.removeComments(s);return s}return e.templateLiteral([e.templateElement({raw:"",cooked:""}),e.templateElement({raw:"",cooked:""},true)],n)}function createDynamicImportTransform(e){var t=e.template,r=e.types;var n={static:{interop:t("Promise.resolve().then(() => INTEROP(require(SOURCE)))"),noInterop:t("Promise.resolve().then(() => require(SOURCE))")},dynamic:{interop:t("Promise.resolve(SOURCE).then(s => INTEROP(require(s)))"),noInterop:t("Promise.resolve(SOURCE).then(s => require(s))")}};var i=typeof WeakSet==="function"&&new WeakSet;var s=function isString(e){return r.isStringLiteral(e)||r.isTemplateLiteral(e)&&e.expressions.length===0};return function(e,t){if(i){if(i.has(t)){return}i.add(t)}var a=getImportSource(r,t.parent);var o=s(a)?n["static"]:n.dynamic;var l=e.opts.noInterop?o.noInterop({SOURCE:a}):o.interop({SOURCE:a,INTEROP:e.addHelper("interopRequireWildcard")});t.parentPath.replaceWith(l)}}},42604:(e,t,r)=>{e.exports=r(99593)},4100:(e,t,r)=>{"use strict";const n=r(42707);const{get:i,has:s,find:a}=r(82747);const o=e=>{if(!e){return[]}return n(e).paths().filter(e=>e.length).map(e=>e.join(".")).sort((e,t)=>t.length-e.length)};const l=(e,t,r)=>{t.replaceWith(e(r));if(t.parentPath.isBinaryExpression()){const r=t.parentPath.evaluate();if(r.confident){t.parentPath.replaceWith(e(r.value))}}};const u=(e,t,r,n)=>{const u=a(o(e),e=>n(t,e));if(s(e,u)){l(r,t,i(e,u))}};const p=(e,t)=>e.matchesPattern(t);const c=(e,t)=>e.node.name===t;const f=(e,t)=>e.node.argument.name===t;const d="typeof ";const y=function({types:e}){return{visitor:{MemberExpression(t,r){u(r.opts,t,e.valueToNode,p)},Identifier(t,r){u(r.opts,t,e.valueToNode,c)},UnaryExpression(t,r){if(t.node.operator!=="typeof"){return}const{opts:n}=r;const i=Object.keys(n);const s={};i.forEach(e=>{if(e.substring(0,d.length)===d){s[e.substring(d.length)]=n[e]}});u(s,t,e.valueToNode,f)}}}};e.exports=y;e.exports.default=y;e.exports.getSortedObjectPaths=o},99392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=_interopRequireDefault(r(80848));var i=_interopRequireDefault(r(90006));var s=_interopRequireDefault(r(52970));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var t=1;t1&&arguments[1]!==undefined?arguments[1]:{};var a=s.as,o=a===void 0?"assignmentExpression":a;var l=t.expression('\n process.env.NODE_ENV !== "production" ? RIGHT : {}\n ',{placeholderPattern:/^(LEFT|RIGHT)$/})({RIGHT:i});switch(o){case"variableDeclarator":return r.variableDeclarator(n,l);case"assignmentExpression":return r.assignmentExpression("=",n,l);default:throw new Error("unrecognized template type ".concat(o))}},mode:c.opts.mode||"remove",ignoreFilenames:f,types:r,removeImport:c.opts.removeImport||false,libraries:(c.opts.additionalLibraries||[]).concat("prop-types"),classNameMatchers:d,createReactClassName:c.opts.createReactClassName||"createReactClass"};if(c.opts.plugins){var h=c;var m=c.opts.plugins.map(function(t){var r=typeof t==="string"?t:t[0];if(typeof t!=="string"){h.opts=_objectSpread({},h.opts,t[1])}var n=require(r);if(typeof n!=="function"){n=n.default}return n(e).visitor});a(p.parent,a.visitors.merge(m),p.scope,h,p.parentPath)}p.traverse({ObjectProperty:{exit:function exit(e){var t=e.node;if(t.computed||t.key.name!=="propTypes"){return}var r=e.findParent(function(e){if(e.type!=="CallExpression"){return false}return e.get("callee").node.name===y.createReactClassName||e.get("callee").node.property&&e.get("callee").node.property.name==="createClass"});if(r){e.traverse(u);l.add(e);(0,s.default)(e,y,{type:"createClass"})}}},ClassProperty:function ClassProperty(e){var t=e.node,r=e.scope;if(t.key.name==="propTypes"){var n=r.path;if(isReactClass(n.get("superClass"),r,y)){e.traverse(u);l.add(e);(0,s.default)(e,y,{type:"class static",pathClassDeclaration:n})}}},AssignmentExpression:function AssignmentExpression(e){var t=e.node,r=e.scope;if(t.left.computed||!t.left.property||t.left.property.name!=="propTypes"){return}var a=(0,n.default)(e.node.left);if(a){e.traverse(u);l.add(e);(0,s.default)(e,y,{type:"assign"});return}var o=t.left.object.name;var p=r.getBinding(o);if(!p){return}if(p.path.isClassDeclaration()){var c=p.path.get("superClass");if(isReactClass(c,r,y)){e.traverse(u);l.add(e);(0,s.default)(e,y,{type:"assign"})}}else if((0,i.default)(p.path)){e.traverse(u);l.add(e);(0,s.default)(e,y,{type:"assign"})}}});var T=0;var S={VariableDeclarator:function VariableDeclarator(e){if(e.scope.block.type!=="Program"){return}if(["ObjectPattern","ArrayPattern"].includes(e.node.id.type)){return}var t=e.node.id.name;if(!o.has(t)){return}var r=e.scope.getBinding(t),n=r.referencePaths;var i=n.some(function(e){var t=e.find(function(e){return l.has(e)});return!t});if(i){T+=1;return}l.add(e);o.delete(t);e.get("init").traverse(u);(0,s.default)(e,y,{type:"declarator"})}};var b=new Set;while(!areSetsEqual(o,b)&&o.size>0&&T0});if(!s){e.remove()}}})}else{throw new Error('transform-react-remove-prop-type: removeImport = true and mode != "remove" can not be used at the same time.')}}}}}}},80848:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isAnnotatedForRemoval;function isAnnotatedForRemoval(e){var t=e.trailingComments||[];return Boolean(t.find(function(e){var t=e.value;return t.trim()==="remove-proptypes"}))}},90006:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isStatelessComponent;var r=Symbol("traversed");function isJSXElementOrReactCreateElement(e){var t=false;e.traverse({CallExpression:function CallExpression(e){var r=e.get("callee");if(r.matchesPattern("React.createElement")||r.matchesPattern("React.cloneElement")||r.node.name==="cloneElement"){t=true}},JSXElement:function JSXElement(){t=true}});return t}function isReturningJSXElement(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;if(e.node.init&&e.node.init.body&&isJSXElementOrReactCreateElement(e)){return true}if(t>20){throw new Error("transform-react-remove-prop-type: infinite loop detected.")}var n=false;e.traverse({ReturnStatement:function ReturnStatement(i){if(n){return}var s=i.get("argument");if(!s.node){return}if(isJSXElementOrReactCreateElement(i)){n=true;return}if(s.node.type==="CallExpression"){var a=s.get("callee").node.name;var o=e.scope.getBinding(a);if(!o){return}if(o.path[r]){return}o.path[r]=true;if(isReturningJSXElement(o.path,t+1)){n=true}}}});return n}var n=["VariableDeclarator","FunctionDeclaration"];function isStatelessComponent(e){if(n.indexOf(e.node.type)===-1){return false}if(isReturningJSXElement(e)){return true}return false}},52970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=remove;function isInside(e,t){if(!e.hub.file.opts){return true}var r=e.hub.file.opts.filename;if(!r){return true}if(!t){return false}return t.test(r)}function remove(e,t,r){var n=t.visitedKey,i=t.unsafeWrapTemplate,s=t.wrapTemplate,a=t.mode,o=t.ignoreFilenames,l=t.types;if(o&&isInside(e.scope,o)){return}if(e.node[n]){return}e.node[n]=true;if(a==="remove"){if(e.parentPath.type==="ConditionalExpression"){e.replaceWith(l.unaryExpression("void",l.numericLiteral(0)))}else{e.remove()}return}if(a==="wrap"||a==="unsafe-wrap"){switch(r.type){case"createClass":break;case"class static":{var u;var p=r.pathClassDeclaration;if(!p.isClassExpression()&&p.node.id){u=p.node.id}else{return}var c=l.expressionStatement(l.assignmentExpression("=",l.memberExpression(u,e.node.key),e.node.value));if(p.parentPath.isExportDeclaration()){p=p.parentPath}p.insertAfter(c);e.remove();break}case"assign":if(a==="unsafe-wrap"){e.replaceWith(i({NODE:e.node}))}else{e.replaceWith(s({LEFT:e.node.left,RIGHT:e.node.right}))}e.node[n]=true;break;case"declarator":e.replaceWith(s({LEFT:e.node.id,RIGHT:e.node.init},{as:"variableDeclarator"}));e.node[n]=true;break;default:break}return}throw new Error("transform-react-remove-prop-type: unsupported mode ".concat(a,"."))}},36301:(e,t,r)=>{"use strict";var n=r(35747);var i=r(85622);var s=r(13401);Object.defineProperty(t,"commentRegex",{get:function getCommentRegex(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm}});Object.defineProperty(t,"mapFileCommentRegex",{get:function getMapFileCommentRegex(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm}});function decodeBase64(e){return s.Buffer.from(e,"base64").toString()}function stripComment(e){return e.split(",").pop()}function readFromFileMap(e,r){var s=t.mapFileCommentRegex.exec(e);var a=s[1]||s[2];var o=i.resolve(r,a);try{return n.readFileSync(o,"utf8")}catch(e){throw new Error("An error occurred while trying to read the map file at "+o+"\n"+e)}}function Converter(e,t){t=t||{};if(t.isFileComment)e=readFromFileMap(e,t.commentFileDir);if(t.hasComment)e=stripComment(e);if(t.isEncoded)e=decodeBase64(e);if(t.isJSON||t.isEncoded)e=JSON.parse(e);this.sourcemap=e}Converter.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};Converter.prototype.toBase64=function(){var e=this.toJSON();return s.Buffer.from(e,"utf8").toString("base64")};Converter.prototype.toComment=function(e){var t=this.toBase64();var r="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return e&&e.multiline?"/*# "+r+" */":"//# "+r};Converter.prototype.toObject=function(){return JSON.parse(this.toJSON())};Converter.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)};Converter.prototype.setProperty=function(e,t){this.sourcemap[e]=t;return this};Converter.prototype.getProperty=function(e){return this.sourcemap[e]};t.fromObject=function(e){return new Converter(e)};t.fromJSON=function(e){return new Converter(e,{isJSON:true})};t.fromBase64=function(e){return new Converter(e,{isEncoded:true})};t.fromComment=function(e){e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,"");return new Converter(e,{isEncoded:true,hasComment:true})};t.fromMapFileComment=function(e,t){return new Converter(e,{commentFileDir:t,isFileComment:true,isJSON:true})};t.fromSource=function(e){var r=e.match(t.commentRegex);return r?t.fromComment(r.pop()):null};t.fromMapFileSource=function(e,r){var n=e.match(t.mapFileCommentRegex);return n?t.fromMapFileComment(n.pop(),r):null};t.removeComments=function(e){return e.replace(t.commentRegex,"")};t.removeMapFileComments=function(e){return e.replace(t.mapFileCommentRegex,"")};t.generateMapFileComment=function(e,t){var r="sourceMappingURL="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r}},13401:(e,t,r)=>{var n=r(64293);var i=n.Buffer;function copyProps(e,t){for(var r in e){t[r]=e[r]}}if(i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow){e.exports=n}else{copyProps(n,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,r){return i(e,t,r)}copyProps(i,SafeBuffer);SafeBuffer.from=function(e,t,r){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return i(e,t,r)};SafeBuffer.alloc=function(e,t,r){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var n=i(e);if(t!==undefined){if(typeof r==="string"){n.fill(t,r)}else{n.fill(t)}}else{n.fill(0)}return n};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return i(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n.SlowBuffer(e)}},15873:(e,t,r)=>{"use strict";const n=r(64878);class Definition{constructor(e,t,r,n,i,s){this.type=e;this.name=t;this.node=r;this.parent=n;this.index=i;this.kind=s}}class ParameterDefinition extends Definition{constructor(e,t,r,i){super(n.Parameter,e,t,null,r,null);this.rest=i}}e.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},26839:(e,t,r)=>{"use strict";const n=r(42357);const i=r(44873);const s=r(96988);const a=r(28263);const o=r(64878);const l=r(51154).Scope;const u=r(77591).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(e,t){function isHashObject(e){return typeof e==="object"&&e instanceof Object&&!(e instanceof Array)&&!(e instanceof RegExp)}for(const r in t){if(Object.prototype.hasOwnProperty.call(t,r)){const n=t[r];if(isHashObject(n)){if(isHashObject(e[r])){updateDeeply(e[r],n)}else{e[r]=updateDeeply({},n)}}else{e[r]=n}}}return e}function analyze(e,t){const r=updateDeeply(defaultOptions(),t);const a=new i(r);const o=new s(r,a);o.visit(e);n(a.__currentScope===null,"currentScope should be null.");return a}e.exports={version:u,Reference:a,Variable:o,Scope:l,ScopeManager:i,analyze:analyze}},17782:(e,t,r)=>{"use strict";const n=r(40379).Syntax;const i=r(11206);function getLast(e){return e[e.length-1]||null}class PatternVisitor extends i.Visitor{static isPattern(e){const t=e.type;return t===n.Identifier||t===n.ObjectPattern||t===n.ArrayPattern||t===n.SpreadElement||t===n.RestElement||t===n.AssignmentPattern}constructor(e,t,r){super(null,e);this.rootPattern=t;this.callback=r;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(e){const t=getLast(this.restElements);this.callback(e,{topLevel:e===this.rootPattern,rest:t!==null&&t!==undefined&&t.argument===e,assignments:this.assignments})}Property(e){if(e.computed){this.rightHandNodes.push(e.key)}this.visit(e.value)}ArrayPattern(e){for(let t=0,r=e.elements.length;t{this.rightHandNodes.push(e)});this.visit(e.callee)}}e.exports=PatternVisitor},28263:e=>{"use strict";const t=1;const r=2;const n=t|r;class Reference{constructor(e,t,r,n,i,s,a){this.identifier=e;this.from=t;this.tainted=false;this.resolved=null;this.flag=r;if(this.isWrite()){this.writeExpr=n;this.partial=s;this.init=a}this.__maybeImplicitGlobal=i}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=t;Reference.WRITE=r;Reference.RW=n;e.exports=Reference},96988:(e,t,r)=>{"use strict";const n=r(40379).Syntax;const i=r(11206);const s=r(28263);const a=r(64878);const o=r(17782);const l=r(15873);const u=r(42357);const p=l.ParameterDefinition;const c=l.Definition;function traverseIdentifierInPattern(e,t,r,n){const i=new o(e,t,n);i.visit(t);if(r!==null&&r!==undefined){i.rightHandNodes.forEach(r.visit,r)}}class Importer extends i.Visitor{constructor(e,t){super(null,t.options);this.declaration=e;this.referencer=t}visitImport(e,t){this.referencer.visitPattern(e,e=>{this.referencer.currentScope().__define(e,new c(a.ImportBinding,e,t,this.declaration,null,null))})}ImportNamespaceSpecifier(e){const t=e.local||e.id;if(t){this.visitImport(t,e)}}ImportDefaultSpecifier(e){const t=e.local||e.id;this.visitImport(t,e)}ImportSpecifier(e){const t=e.local||e.id;if(e.name){this.visitImport(e.name,e)}else{this.visitImport(t,e)}}}class Referencer extends i.Visitor{constructor(e,t){super(null,e);this.options=e;this.scopeManager=t;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(e){while(this.currentScope()&&e===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(e){const t=this.isInnerMethodDefinition;this.isInnerMethodDefinition=e;return t}popInnerMethodDefinition(e){this.isInnerMethodDefinition=e}referencingDefaultValue(e,t,r,n){const i=this.currentScope();t.forEach(t=>{i.__referencing(e,s.WRITE,t.right,r,e!==t.left,n)})}visitPattern(e,t,r){let n=t;let i=r;if(typeof t==="function"){i=t;n={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,e,n.processRightHandNodes?this:null,i)}visitFunction(e){let t,r;if(e.type===n.FunctionDeclaration){this.currentScope().__define(e.id,new c(a.FunctionName,e.id,e,null,null,null))}if(e.type===n.FunctionExpression&&e.id){this.scopeManager.__nestFunctionExpressionNameScope(e)}this.scopeManager.__nestFunctionScope(e,this.isInnerMethodDefinition);const i=this;function visitPatternCallback(r,n){i.currentScope().__define(r,new p(r,e,t,n.rest));i.referencingDefaultValue(r,n.assignments,null,true)}for(t=0,r=e.params.length;t{this.currentScope().__define(t,new p(t,e,e.params.length,true))})}if(e.body){if(e.body.type===n.BlockStatement){this.visitChildren(e.body)}else{this.visit(e.body)}}this.close(e)}visitClass(e){if(e.type===n.ClassDeclaration){this.currentScope().__define(e.id,new c(a.ClassName,e.id,e,null,null,null))}this.visit(e.superClass);this.scopeManager.__nestClassScope(e);if(e.id){this.currentScope().__define(e.id,new c(a.ClassName,e.id,e))}this.visit(e.body);this.close(e)}visitProperty(e){let t;if(e.computed){this.visit(e.key)}const r=e.type===n.MethodDefinition;if(r){t=this.pushInnerMethodDefinition(true)}this.visit(e.value);if(r){this.popInnerMethodDefinition(t)}}visitForIn(e){if(e.left.type===n.VariableDeclaration&&e.left.kind!=="var"){this.scopeManager.__nestForScope(e)}if(e.left.type===n.VariableDeclaration){this.visit(e.left);this.visitPattern(e.left.declarations[0].id,t=>{this.currentScope().__referencing(t,s.WRITE,e.right,null,true,true)})}else{this.visitPattern(e.left,{processRightHandNodes:true},(t,r)=>{let n=null;if(!this.currentScope().isStrict){n={pattern:t,node:e}}this.referencingDefaultValue(t,r.assignments,n,false);this.currentScope().__referencing(t,s.WRITE,e.right,n,true,false)})}this.visit(e.right);this.visit(e.body);this.close(e)}visitVariableDeclaration(e,t,r,n){const i=r.declarations[n];const a=i.init;this.visitPattern(i.id,{processRightHandNodes:true},(o,l)=>{e.__define(o,new c(t,o,i,r,n,r.kind));this.referencingDefaultValue(o,l.assignments,null,true);if(a){this.currentScope().__referencing(o,s.WRITE,a,null,!l.topLevel,true)}})}AssignmentExpression(e){if(o.isPattern(e.left)){if(e.operator==="="){this.visitPattern(e.left,{processRightHandNodes:true},(t,r)=>{let n=null;if(!this.currentScope().isStrict){n={pattern:t,node:e}}this.referencingDefaultValue(t,r.assignments,n,false);this.currentScope().__referencing(t,s.WRITE,e.right,n,!r.topLevel,false)})}else{this.currentScope().__referencing(e.left,s.RW,e.right)}}else{this.visit(e.left)}this.visit(e.right)}CatchClause(e){this.scopeManager.__nestCatchScope(e);this.visitPattern(e.param,{processRightHandNodes:true},(t,r)=>{this.currentScope().__define(t,new c(a.CatchClause,e.param,e,null,null,null));this.referencingDefaultValue(t,r.assignments,null,true)});this.visit(e.body);this.close(e)}Program(e){this.scopeManager.__nestGlobalScope(e);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(e,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(e)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(e);this.close(e)}Identifier(e){this.currentScope().__referencing(e)}UpdateExpression(e){if(o.isPattern(e.argument)){this.currentScope().__referencing(e.argument,s.RW,null)}else{this.visitChildren(e)}}MemberExpression(e){this.visit(e.object);if(e.computed){this.visit(e.property)}}Property(e){this.visitProperty(e)}MethodDefinition(e){this.visitProperty(e)}BreakStatement(){}ContinueStatement(){}LabeledStatement(e){this.visit(e.body)}ForStatement(e){if(e.init&&e.init.type===n.VariableDeclaration&&e.init.kind!=="var"){this.scopeManager.__nestForScope(e)}this.visitChildren(e);this.close(e)}ClassExpression(e){this.visitClass(e)}ClassDeclaration(e){this.visitClass(e)}CallExpression(e){if(!this.scopeManager.__ignoreEval()&&e.callee.type===n.Identifier&&e.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(e)}BlockStatement(e){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(e)}this.visitChildren(e);this.close(e)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(e){this.visit(e.object);this.scopeManager.__nestWithScope(e);this.visit(e.body);this.close(e)}VariableDeclaration(e){const t=e.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let r=0,n=e.declarations.length;r{"use strict";const n=r(51154);const i=r(42357);const s=n.GlobalScope;const a=n.CatchScope;const o=n.WithScope;const l=n.ModuleScope;const u=n.ClassScope;const p=n.SwitchScope;const c=n.FunctionScope;const f=n.ForScope;const d=n.FunctionExpressionNameScope;const y=n.BlockScope;class ScopeManager{constructor(e){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=e;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(e){return this.__nodeToScope.get(e)}getDeclaredVariables(e){return this.__declaredVariables.get(e)||[]}acquire(e,t){function predicate(e){if(e.type==="function"&&e.functionExpressionScope){return false}return true}const r=this.__get(e);if(!r||r.length===0){return null}if(r.length===1){return r[0]}if(t){for(let e=r.length-1;e>=0;--e){const t=r[e];if(predicate(t)){return t}}}else{for(let e=0,t=r.length;e=6}}e.exports=ScopeManager},51154:(e,t,r)=>{"use strict";const n=r(40379).Syntax;const i=r(28263);const s=r(64878);const a=r(15873).Definition;const o=r(42357);function isStrictScope(e,t,r,i){let s;if(e.upper&&e.upper.isStrict){return true}if(r){return true}if(e.type==="class"||e.type==="module"){return true}if(e.type==="block"||e.type==="switch"){return false}if(e.type==="function"){if(t.type===n.ArrowFunctionExpression&&t.body.type!==n.BlockStatement){return false}if(t.type===n.Program){s=t}else{s=t.body}if(!s){return false}}else if(e.type==="global"){s=t}else{return false}if(i){for(let e=0,t=s.body.length;e0&&n.every(shouldBeStatically)}__staticCloseRef(e){if(!this.__resolve(e)){this.__delegateToUpperScope(e)}}__dynamicCloseRef(e){let t=this;do{t.through.push(e);t=t.upper}while(t)}__globalCloseRef(e){if(this.__shouldStaticallyCloseForGlobal(e)){this.__staticCloseRef(e)}else{this.__dynamicCloseRef(e)}}__close(e){let t;if(this.__shouldStaticallyClose(e)){t=this.__staticCloseRef}else if(this.type!=="global"){t=this.__dynamicCloseRef}else{t=this.__globalCloseRef}for(let e=0,r=this.__left.length;ee.name.range[0]>=r))}}class ForScope extends Scope{constructor(e,t,r){super(e,"for",t,r,false)}}class ClassScope extends Scope{constructor(e,t,r){super(e,"class",t,r,false)}}e.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},64878:e=>{"use strict";class Variable{constructor(e,t){this.name=e;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=t}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";e.exports=Variable},11206:(e,t,r)=>{(function(){"use strict";var e=r(30818);function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(t,r){return(t===e.Syntax.ObjectExpression||t===e.Syntax.ObjectPattern)&&r==="properties"}function Visitor(t,r){r=r||{};this.__visitor=t||this;this.__childVisitorKeys=r.childVisitorKeys?Object.assign({},e.VisitorKeys,r.childVisitorKeys):e.VisitorKeys;if(r.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof r.fallback==="function"){this.__fallback=r.fallback}}Visitor.prototype.visitChildren=function(t){var r,n,i,s,a,o,l;if(t==null){return}r=t.type||e.Syntax.Property;n=this.__childVisitorKeys[r];if(!n){if(this.__fallback){n=this.__fallback(t)}else{throw new Error("Unknown node type "+r+".")}}for(i=0,s=n.length;i{(function clone(e){"use strict";var t,r,n,i,s,a;function deepCopy(e){var t={},r,n;for(r in e){if(e.hasOwnProperty(r)){n=e[r];if(typeof n==="object"&&n!==null){t[r]=deepCopy(n)}else{t[r]=n}}}return t}function upperBound(e,t){var r,n,i,s;n=e.length;i=0;while(n){r=n>>>1;s=i+r;if(t(e[s])){n=r}else{i=s+1;n-=r+1}}return i}t={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};n={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};i={};s={};a={};r={Break:i,Skip:s,Remove:a};function Reference(e,t){this.parent=e;this.key=t}Reference.prototype.replace=function replace(e){this.parent[this.key]=e};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(e,t,r,n){this.node=e;this.path=t;this.wrap=r;this.ref=n}function Controller(){}Controller.prototype.path=function path(){var e,t,r,n,i,s;function addToPath(e,t){if(Array.isArray(t)){for(r=0,n=t.length;r=0;--r){if(e[r].node===t){return true}}return false}Controller.prototype.traverse=function traverse(e,t){var r,n,a,o,l,u,p,c,f,d,y,h;this.__initialize(e,t);h={};r=this.__worklist;n=this.__leavelist;r.push(new Element(e,null,null,null));n.push(new Element(null,null,null,null));while(r.length){a=r.pop();if(a===h){a=n.pop();u=this.__execute(t.leave,a);if(this.__state===i||u===i){return}continue}if(a.node){u=this.__execute(t.enter,a);if(this.__state===i||u===i){return}r.push(h);n.push(a);if(this.__state===s||u===s){continue}o=a.node;l=o.type||a.wrap;d=this.__keys[l];if(!d){if(this.__fallback){d=this.__fallback(o)}else{throw new Error("Unknown node type "+l+".")}}c=d.length;while((c-=1)>=0){p=d[c];y=o[p];if(!y){continue}if(Array.isArray(y)){f=y.length;while((f-=1)>=0){if(!y[f]){continue}if(candidateExistsInLeaveList(n,y[f])){continue}if(isProperty(l,d[c])){a=new Element(y[f],[p,f],"Property",null)}else if(isNode(y[f])){a=new Element(y[f],[p,f],null,null)}else{continue}r.push(a)}}else if(isNode(y)){if(candidateExistsInLeaveList(n,y)){continue}r.push(new Element(y,p,null,null))}}}}};Controller.prototype.replace=function replace(e,t){var r,n,o,l,u,p,c,f,d,y,h,m,T;function removeElem(e){var t,n,i,s;if(e.ref.remove()){n=e.ref.key;s=e.ref.parent;t=r.length;while(t--){i=r[t];if(i.ref&&i.ref.parent===s){if(i.ref.key=0){T=d[c];y=o[T];if(!y){continue}if(Array.isArray(y)){f=y.length;while((f-=1)>=0){if(!y[f]){continue}if(isProperty(l,d[c])){p=new Element(y[f],[T,f],"Property",new Reference(y,f))}else if(isNode(y[f])){p=new Element(y[f],[T,f],null,new Reference(y,f))}else{continue}r.push(p)}}else if(isNode(y)){r.push(new Element(y,T,null,new Reference(o,T)))}}}return m.root};function traverse(e,t){var r=new Controller;return r.traverse(e,t)}function replace(e,t){var r=new Controller;return r.replace(e,t)}function extendCommentRange(e,t){var r;r=upperBound(t,function search(t){return t.range[0]>e.range[0]});e.extendedRange=[e.range[0],e.range[1]];if(r!==t.length){e.extendedRange[1]=t[r].range[0]}r-=1;if(r>=0){e.extendedRange[0]=t[r].range[1]}return e}function attachComments(e,t,n){var i=[],s,a,o,l;if(!e.range){throw new Error("attachComments needs range information")}if(!n.length){if(t.length){for(o=0,a=t.length;oe.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);i.splice(l,1)}else{l+=1}}if(l===i.length){return r.Break}if(i[l].extendedRange[0]>e.range[1]){return r.Skip}}});l=0;traverse(e,{leave:function(e){var t;while(le.range[1]){return r.Skip}}});return e}e.Syntax=t;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=n;e.VisitorOption=r;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(t)},40379:(e,t,r)=>{(function clone(e){"use strict";var t,n,i,s,a,o;function deepCopy(e){var t={},r,n;for(r in e){if(e.hasOwnProperty(r)){n=e[r];if(typeof n==="object"&&n!==null){t[r]=deepCopy(n)}else{t[r]=n}}}return t}function upperBound(e,t){var r,n,i,s;n=e.length;i=0;while(n){r=n>>>1;s=i+r;if(t(e[s])){n=r}else{i=s+1;n-=r+1}}return i}t={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};i={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};s={};a={};o={};n={Break:s,Skip:a,Remove:o};function Reference(e,t){this.parent=e;this.key=t}Reference.prototype.replace=function replace(e){this.parent[this.key]=e};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(e,t,r,n){this.node=e;this.path=t;this.wrap=r;this.ref=n}function Controller(){}Controller.prototype.path=function path(){var e,t,r,n,i,s;function addToPath(e,t){if(Array.isArray(t)){for(r=0,n=t.length;r=0){p=d[c];y=o[p];if(!y){continue}if(Array.isArray(y)){f=y.length;while((f-=1)>=0){if(!y[f]){continue}if(isProperty(l,d[c])){i=new Element(y[f],[p,f],"Property",null)}else if(isNode(y[f])){i=new Element(y[f],[p,f],null,null)}else{continue}r.push(i)}}else if(isNode(y)){r.push(new Element(y,p,null,null))}}}}};Controller.prototype.replace=function replace(e,t){var r,n,i,l,u,p,c,f,d,y,h,m,T;function removeElem(e){var t,n,i,s;if(e.ref.remove()){n=e.ref.key;s=e.ref.parent;t=r.length;while(t--){i=r[t];if(i.ref&&i.ref.parent===s){if(i.ref.key=0){T=d[c];y=i[T];if(!y){continue}if(Array.isArray(y)){f=y.length;while((f-=1)>=0){if(!y[f]){continue}if(isProperty(l,d[c])){p=new Element(y[f],[T,f],"Property",new Reference(y,f))}else if(isNode(y[f])){p=new Element(y[f],[T,f],null,new Reference(y,f))}else{continue}r.push(p)}}else if(isNode(y)){r.push(new Element(y,T,null,new Reference(i,T)))}}}return m.root};function traverse(e,t){var r=new Controller;return r.traverse(e,t)}function replace(e,t){var r=new Controller;return r.replace(e,t)}function extendCommentRange(e,t){var r;r=upperBound(t,function search(t){return t.range[0]>e.range[0]});e.extendedRange=[e.range[0],e.range[1]];if(r!==t.length){e.extendedRange[1]=t[r].range[0]}r-=1;if(r>=0){e.extendedRange[0]=t[r].range[1]}return e}function attachComments(e,t,r){var i=[],s,a,o,l;if(!e.range){throw new Error("attachComments needs range information")}if(!r.length){if(t.length){for(o=0,a=t.length;oe.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);i.splice(l,1)}else{l+=1}}if(l===i.length){return n.Break}if(i[l].extendedRange[0]>e.range[1]){return n.Skip}}});l=0;traverse(e,{leave:function(e){var t;while(le.range[1]){return n.Skip}}});return e}e.version=r(35464).i8;e.Syntax=t;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=i;e.VisitorOption=n;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(t)},16252:e=>{"use strict";var t="Function.prototype.bind called on incompatible ";var r=Array.prototype.slice;var n=Object.prototype.toString;var i="[object Function]";e.exports=function bind(e){var s=this;if(typeof s!=="function"||n.call(s)!==i){throw new TypeError(t+s)}var a=r.call(arguments,1);var o;var l=function(){if(this instanceof o){var t=s.apply(this,a.concat(r.call(arguments)));if(Object(t)===t){return t}return this}else{return s.apply(e,a.concat(r.call(arguments)))}};var u=Math.max(0,s.length-a.length);var p=[];for(var c=0;c{"use strict";var n=r(16252);e.exports=Function.prototype.bind||n},67941:e=>{"use strict";const t=Symbol.for("gensync:v1:start");const r=Symbol.for("gensync:v1:suspend");const n="GENSYNC_EXPECTED_START";const i="GENSYNC_EXPECTED_SUSPEND";const s="GENSYNC_OPTIONS_ERROR";const a="GENSYNC_RACE_NONEMPTY";const o="GENSYNC_ERRBACK_NO_CALLBACK";e.exports=Object.assign(function gensync(e){let t=e;if(typeof e!=="function"){t=newGenerator(e)}else{t=wrapGenerator(e)}return Object.assign(t,makeFunctionAPI(t))},{all:buildOperation({name:"all",arity:1,sync:function(e){const t=Array.from(e[0]);return t.map(e=>evaluateSync(e))},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){Promise.resolve().then(()=>t([]));return}let i=0;const s=n.map(()=>undefined);n.forEach((e,n)=>{evaluateAsync(e,e=>{s[n]=e;i+=1;if(i===s.length)t(s)},r)})}}),race:buildOperation({name:"race",arity:1,sync:function(e){const t=Array.from(e[0]);if(t.length===0){throw makeError("Must race at least 1 item",a)}return evaluateSync(t[0])},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){throw makeError("Must race at least 1 item",a)}for(const e of n){evaluateAsync(e,t,r)}}})});function makeFunctionAPI(e){const t={sync:function(...t){return evaluateSync(e.apply(this,t))},async:function(...t){return new Promise((r,n)=>{evaluateAsync(e.apply(this,t),r,n)})},errback:function(...t){const r=t.pop();if(typeof r!=="function"){throw makeError("Asynchronous function called without callback",o)}let n;try{n=e.apply(this,t)}catch(e){r(e);return}evaluateAsync(n,e=>r(undefined,e),e=>r(e))}};return t}function assertTypeof(e,t,r,n){if(typeof r===e||n&&typeof r==="undefined"){return}let i;if(n){i=`Expected opts.${t} to be either a ${e}, or undefined.`}else{i=`Expected opts.${t} to be a ${e}.`}throw makeError(i,s)}function makeError(e,t){return Object.assign(new Error(e),{code:t})}function newGenerator({name:e,arity:t,sync:r,async:n,errback:i}){assertTypeof("string","name",e,true);assertTypeof("number","arity",t,true);assertTypeof("function","sync",r);assertTypeof("function","async",n,true);assertTypeof("function","errback",i,true);if(n&&i){throw makeError("Expected one of either opts.async or opts.errback, but got _both_.",s)}if(typeof e!=="string"){let t;if(i&&i.name&&i.name!=="errback"){t=i.name}if(n&&n.name&&n.name!=="async"){t=n.name.replace(/Async$/,"")}if(r&&r.name&&r.name!=="sync"){t=r.name.replace(/Sync$/,"")}if(typeof t==="string"){e=t}}if(typeof t!=="number"){t=r.length}return buildOperation({name:e,arity:t,sync:function(e){return r.apply(this,e)},async:function(e,t,s){if(n){n.apply(this,e).then(t,s)}else if(i){i.call(this,...e,(e,r)=>{if(e==null)t(r);else s(e)})}else{t(r.apply(this,e))}}})}function wrapGenerator(e){return setFunctionMetadata(e.name,e.length,function(...t){return e.apply(this,t)})}function buildOperation({name:e,arity:n,sync:i,async:s}){return setFunctionMetadata(e,n,function*(...e){const n=yield t;if(!n){const t=i.call(this,e);return t}let a;try{s.call(this,e,e=>{if(a)return;a={value:e};n()},e=>{if(a)return;a={err:e};n()})}catch(e){a={err:e};n()}yield r;if(a.hasOwnProperty("err")){throw a.err}return a.value})}function evaluateSync(e){let t;while(!({value:t}=e.next()).done){assertStart(t,e)}return t}function evaluateAsync(e,t,r){(function step(){try{let n;while(!({value:n}=e.next()).done){assertStart(n,e);let t=true;let r=false;const i=e.next(()=>{if(t){r=true}else{step()}});t=false;assertSuspend(i,e);if(!r){return}}return t(n)}catch(e){return r(e)}})()}function assertStart(e,r){if(e===t)return;throwError(r,makeError(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,n))}function assertSuspend({value:e,done:t},n){if(!t&&e===r)return;throwError(n,makeError(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,i))}function throwError(e,t){if(e.throw)e.throw(t);throw t}function isIterable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!e[Symbol.iterator]}function setFunctionMetadata(e,t,r){if(typeof e==="string"){const t=Object.getOwnPropertyDescriptor(r,"name");if(!t||t.configurable){Object.defineProperty(r,"name",Object.assign(t||{},{configurable:true,value:e}))}}if(typeof t==="number"){const e=Object.getOwnPropertyDescriptor(r,"length");if(!e||e.configurable){Object.defineProperty(r,"length",Object.assign(e||{},{configurable:true,value:t}))}}return r}},41389:(e,t,r)=>{"use strict";e.exports=r(67589)},97841:(e,t,r)=>{"use strict";var n=r(45489);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},21176:(e,t,r)=>{"use strict";var n=r(97841);function specifierIncluded(e,t){var r=e.split(".");var n=t.split(" ");var i=n.length>1?n[0]:"=";var s=(n.length>1?n[1]:n[0]).split(".");for(var a=0;a<3;++a){var o=parseInt(r[a]||0,10);var l=parseInt(s[a]||0,10);if(o===l){continue}if(i==="<"){return o="){return o>=l}return false}return i===">="}function matchesRange(e,t){var r=t.split(/ ?&& ?/);if(r.length===0){return false}for(var n=0;n{Object.defineProperty(t,"__esModule",{value:true});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:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},87504:e=>{"use strict";const t={};const r=t.hasOwnProperty;const n=(e,t)=>{for(const n in e){if(r.call(e,n)){t(n,e[n])}}};const i=(e,t)=>{if(!t){return e}n(t,(t,r)=>{e[t]=r});return e};const s=(e,t)=>{const r=e.length;let n=-1;while(++n{return a.call(e)=="[object Object]"};const p=e=>{return typeof e=="string"||a.call(e)=="[object String]"};const c=e=>{return typeof e=="number"||a.call(e)=="[object Number]"};const f=e=>{return typeof e=="function"};const d=e=>{return a.call(e)=="[object Map]"};const y=e=>{return a.call(e)=="[object Set]"};const h={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};const m=/["'\\\b\f\n\r\t]/;const T=/[0-9]/;const S=/[ !#-&\(-\[\]-_a-~]/;const b=(e,t)=>{const r=()=>{v=A;++t.indentLevel;A=t.indent.repeat(t.indentLevel)};const a={escapeEverything:false,minimal:false,isScriptContext:false,quotes:"single",wrap:false,es6:false,json:false,compact:true,lowercaseHex:false,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:false,__inline2__:false};const E=t&&t.json;if(E){a.quotes="double";a.wrap=true}t=i(a,t);if(t.quotes!="single"&&t.quotes!="double"&&t.quotes!="backtick"){t.quotes="single"}const g=t.quotes=="double"?'"':t.quotes=="backtick"?"`":"'";const x=t.compact;const P=t.lowercaseHex;let A=t.indent.repeat(t.indentLevel);let v="";const O=t.__inline1__;const I=t.__inline2__;const w=x?"":"\n";let D;let N=true;const C=t.numbers=="binary";const j=t.numbers=="octal";const _=t.numbers=="decimal";const L=t.numbers=="hexadecimal";if(E&&e&&f(e.toJSON)){e=e.toJSON()}if(!p(e)){if(d(e)){if(e.size==0){return"new Map()"}if(!x){t.__inline1__=true;t.__inline2__=false}return"new Map("+b(Array.from(e),t)+")"}if(y(e)){if(e.size==0){return"new Set()"}return"new Set("+b(Array.from(e),t)+")"}if(l(e)){if(e.length==0){return"Buffer.from([])"}return"Buffer.from("+b(Array.from(e),t)+")"}if(o(e)){D=[];t.wrap=true;if(O){t.__inline1__=false;t.__inline2__=true}if(!I){r()}s(e,e=>{N=false;if(I){t.__inline2__=false}D.push((x||I?"":A)+b(e,t))});if(N){return"[]"}if(I){return"["+D.join(", ")+"]"}return"["+w+D.join(","+w)+w+(x?"":v)+"]"}else if(c(e)){if(E){return JSON.stringify(e)}if(_){return String(e)}if(L){let t=e.toString(16);if(!P){t=t.toUpperCase()}return"0x"+t}if(C){return"0b"+e.toString(2)}if(j){return"0o"+e.toString(8)}}else if(!u(e)){if(E){return JSON.stringify(e)||"null"}return String(e)}else{D=[];t.wrap=true;r();n(e,(e,r)=>{N=false;D.push((x?"":A)+b(e,t)+":"+(x?"":" ")+b(r,t))});if(N){return"{}"}return"{"+w+D.join(","+w)+w+(x?"":v)+"}"}}const k=e;let B=-1;const M=k.length;D="";while(++B=55296&&e<=56319&&M>B+1){const t=k.charCodeAt(B+1);if(t>=56320&&t<=57343){const r=(e-55296)*1024+t-56320+65536;let n=r.toString(16);if(!P){n=n.toUpperCase()}D+="\\u{"+n+"}";++B;continue}}}if(!t.escapeEverything){if(S.test(e)){D+=e;continue}if(e=='"'){D+=g==e?'\\"':e;continue}if(e=="`"){D+=g==e?"\\`":e;continue}if(e=="'"){D+=g==e?"\\'":e;continue}}if(e=="\0"&&!E&&!T.test(k.charAt(B+1))){D+="\\0";continue}if(m.test(e)){D+=h[e];continue}const r=e.charCodeAt(0);if(t.minimal&&r!=8232&&r!=8233){D+=e;continue}let n=r.toString(16);if(!P){n=n.toUpperCase()}const i=n.length>2||E;const s="\\"+(i?"u":"x")+("0000"+n).slice(i?-4:-2);D+=s;continue}if(t.wrap){D=g+D+g}if(g=="`"){D=D.replace(/\$\{/g,"\\${")}if(t.isScriptContext){return D.replace(/<\/(script|style)/gi,"<\\/$1").replace(/World\+World\+World/ + const expected = + /Hello World\+World\+World/ it('should render the static page', async () => { const html = await renderViaHTTP(appPort, '/static') diff --git a/test/integration/i18n-support-catchall/test/index.test.js b/test/integration/i18n-support-catchall/test/index.test.js index 0b371b490c97bef..4e2d76043280576 100644 --- a/test/integration/i18n-support-catchall/test/index.test.js +++ b/test/integration/i18n-support-catchall/test/index.test.js @@ -291,7 +291,7 @@ describe('i18n Support Root Catch-all', () => { headers: { 'x-vercel-id': 'hi', 'x-now-route-matches': qs.stringify({ - '1': 'nl-NL', + 1: 'nl-NL', }), }, redirect: 'manual', diff --git a/test/integration/no-duplicate-compile-error/test/index.test.js b/test/integration/no-duplicate-compile-error/test/index.test.js index 8d71c1f1c734b92..6e8be0f434ef48e 100644 --- a/test/integration/no-duplicate-compile-error/test/index.test.js +++ b/test/integration/no-duplicate-compile-error/test/index.test.js @@ -56,7 +56,8 @@ describe('no duplicate compile error output', () => { return (str.match(regex) || []).length } - const correctMessagesRegex = /error - [^\r\n]+\r?\n[^\r\n]+Unexpected token/g + const correctMessagesRegex = + /error - [^\r\n]+\r?\n[^\r\n]+Unexpected token/g const totalMessagesRegex = /Unexpected token/g const correctMessages = getRegexCount(stderr, correctMessagesRegex) diff --git a/test/integration/production/test/index.test.js b/test/integration/production/test/index.test.js index bf2bd6ff2837c3d..9d820808f3ca915 100644 --- a/test/integration/production/test/index.test.js +++ b/test/integration/production/test/index.test.js @@ -469,12 +469,13 @@ describe('Production Usage', () => { it('should set title by routeChangeComplete event', async () => { const browser = await webdriver(appPort, '/') await browser.eval(function setup() { - window.next.router.events.on('routeChangeComplete', function handler( - url - ) { - window.routeChangeTitle = document.title - window.routeChangeUrl = url - }) + window.next.router.events.on( + 'routeChangeComplete', + function handler(url) { + window.routeChangeTitle = document.title + window.routeChangeUrl = url + } + ) window.next.router.push('/with-title') }) await browser.waitForElementByCss('#with-title') diff --git a/test/integration/typescript/pages/hello.tsx b/test/integration/typescript/pages/hello.tsx index b404adff8987361..acfd061ee410906 100644 --- a/test/integration/typescript/pages/hello.tsx +++ b/test/integration/typescript/pages/hello.tsx @@ -15,6 +15,21 @@ export enum SearchEntity { SEARCH_ENTITY_TOPIC = 4, } +// supports override +class Test { + show() { + console.log('show Test') + } +} + +class Test2 extends Test { + override show() { + console.log('overriding show Test') + } +} + +new Test2().show() + export default function HelloPage(): JSX.Element { const router = useRouter() console.log(process.browser) diff --git a/test/integration/undefined-webpack-config/test/index.test.js b/test/integration/undefined-webpack-config/test/index.test.js index 6bfece853f10c17..5622a6f10b1e729 100644 --- a/test/integration/undefined-webpack-config/test/index.test.js +++ b/test/integration/undefined-webpack-config/test/index.test.js @@ -6,7 +6,8 @@ import { launchApp, nextBuild } from 'next-test-utils' jest.setTimeout(1000 * 60 * 2) const appDir = join(__dirname, '../') -const expectedErr = /Webpack config is undefined. You may have forgot to return properly from within the "webpack" method of your next.config.js/ +const expectedErr = + /Webpack config is undefined. You may have forgot to return properly from within the "webpack" method of your next.config.js/ describe('undefined webpack config error', () => { it('should show in production mode', async () => { diff --git a/test/integration/with-router/components/header-nav.js b/test/integration/with-router/components/header-nav.js index 35d9f394d3b3410..1e203f407784bd8 100644 --- a/test/integration/with-router/components/header-nav.js +++ b/test/integration/with-router/components/header-nav.js @@ -19,7 +19,8 @@ class HeaderNav extends React.Component { } componentDidMount() { - Router.onRouteChangeComplete = this.handleRouteChangeTopLevelRouterDeprecatedBehavior + Router.onRouteChangeComplete = + this.handleRouteChangeTopLevelRouterDeprecatedBehavior Router.events.on( 'routeChangeComplete', this.handleRouteChangeTopLevelRouter diff --git a/test/integration/worker-loader/pages/index.js b/test/integration/worker-loader/pages/index.js index 06bfc09ea654e67..73ebde5a5154a17 100644 --- a/test/integration/worker-loader/pages/index.js +++ b/test/integration/worker-loader/pages/index.js @@ -4,9 +4,8 @@ import { Expensive } from '../lib/sharedCode' export default function Home() { const [expensiveWebStatus, setExpensiveWebStatus] = React.useState('WAIT') - const [expensiveWorkerStatus, setExpensiveWorkerComplete] = React.useState( - 'WAIT' - ) + const [expensiveWorkerStatus, setExpensiveWorkerComplete] = + React.useState('WAIT') const worker = React.useRef() React.useEffect(() => { diff --git a/test/integration/worker-webpack5/pages/index.js b/test/integration/worker-webpack5/pages/index.js index 61a7c70a03c0954..f20927e1929221d 100644 --- a/test/integration/worker-webpack5/pages/index.js +++ b/test/integration/worker-webpack5/pages/index.js @@ -3,9 +3,8 @@ import { Expensive } from '../lib/sharedCode' export default function Home() { const [expensiveWebStatus, setExpensiveWebStatus] = React.useState('WAIT') - const [expensiveWorkerStatus, setExpensiveWorkerComplete] = React.useState( - 'WAIT' - ) + const [expensiveWorkerStatus, setExpensiveWorkerComplete] = + React.useState('WAIT') const worker = React.useRef() React.useEffect(() => { diff --git a/test/jest-environment.js b/test/jest-environment.js index c254b082067abbe..dbeee73b490530e 100644 --- a/test/jest-environment.js +++ b/test/jest-environment.js @@ -4,10 +4,8 @@ const getPort = require('get-port') const seleniumServer = require('selenium-standalone') const NodeEnvironment = require('jest-environment-node') -const { - BROWSER_NAME: browserName = 'chrome', - SKIP_LOCAL_SELENIUM_SERVER, -} = process.env +const { BROWSER_NAME: browserName = 'chrome', SKIP_LOCAL_SELENIUM_SERVER } = + process.env const newTabPg = ` diff --git a/yarn.lock b/yarn.lock index a2c5861eef822db..9426440e9b41682 100644 --- a/yarn.lock +++ b/yarn.lock @@ -84,7 +84,33 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.14.5.tgz#8ef4c18e58e801c5c95d3c1c0f2874a2680fadea" integrity sha512-kixrYn4JwfAVPa0f2yfzc2AWti6WRRyO3XjWW5PJAvtE11qhSayrrcrEnee05KAtNaPC+EwehE8Qt1UedEVB8w== -"@babel/core@7.12.10", "@babel/core@^7.1.0", "@babel/core@^7.1.6", "@babel/core@^7.12.10", "@babel/core@^7.7.5": +"@babel/compat-data@^7.14.7", "@babel/compat-data@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.15.0.tgz#2dbaf8b85334796cafbb0f5793a90a2fc010b176" + integrity sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA== + +"@babel/core@7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.15.0.tgz#749e57c68778b73ad8082775561f67f5196aafa8" + integrity sha512-tXtmTminrze5HEUPn/a0JtOzzfp0nk+UEXQ/tqIJo3WDGypl/2OFQEMll/zSFU8f/lfmfLXvTaORHF3cfXIQMw== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/generator" "^7.15.0" + "@babel/helper-compilation-targets" "^7.15.0" + "@babel/helper-module-transforms" "^7.15.0" + "@babel/helpers" "^7.14.8" + "@babel/parser" "^7.15.0" + "@babel/template" "^7.14.5" + "@babel/traverse" "^7.15.0" + "@babel/types" "^7.15.0" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.1.2" + semver "^6.3.0" + source-map "^0.5.0" + +"@babel/core@^7.1.0", "@babel/core@^7.1.6", "@babel/core@^7.12.10", "@babel/core@^7.7.5": version "7.12.10" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.12.10.tgz#b79a2e1b9f70ed3d84bbfb6d8c4ef825f606bccd" integrity sha512-eTAlQKq65zHfkHZV0sIVODCPGVgoo1HdBlbSLi9CqOzuZanMv2ihzY+4paiKr1mH+XmYESMAmJ/dpZ68eN6d8w== @@ -135,15 +161,24 @@ eslint-visitor-keys "^1.3.0" semver "^6.3.0" -"@babel/eslint-parser@7.14.7": - version "7.14.7" - resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.14.7.tgz#91be59a4f7dd60d02a3ef772d156976465596bda" - integrity sha512-6WPwZqO5priAGIwV6msJcdc9TsEPzYeYdS/Xuoap+/ihkgN6dzHp2bcAAwyWZ5bLzk0vvjDmKvRwkqNaiJ8BiQ== +"@babel/eslint-parser@7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.15.0.tgz#b54f06e04d0e93aebcba99f89251e3bf0ee39f21" + integrity sha512-+gSPtjSBxOZz4Uh8Ggqu7HbfpB8cT1LwW0DnVVLZEJvzXauiD0Di3zszcBkRmfGGrLdYeHUwcflG7i3tr9kQlw== dependencies: eslint-scope "^5.1.1" eslint-visitor-keys "^2.1.0" semver "^6.3.0" +"@babel/generator@7.15.0", "@babel/generator@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.15.0.tgz#a7d0c172e0d814974bad5aa77ace543b97917f15" + integrity sha512-eKl4XdMrbpYvuB505KTta4AV9g+wWzmVBW69tX0H2NwKVKd2YJbKgyK6M8j/rgLbmHOYJn6rUklV677nOyJrEQ== + dependencies: + "@babel/types" "^7.15.0" + jsesc "^2.5.1" + source-map "^0.5.0" + "@babel/generator@^7.12.10", "@babel/generator@^7.12.11": version "7.12.11" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.12.11.tgz#98a7df7b8c358c9a37ab07a24056853016aba3af" @@ -221,6 +256,16 @@ browserslist "^4.16.6" semver "^6.3.0" +"@babel/helper-compilation-targets@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.0.tgz#973df8cbd025515f3ff25db0c05efc704fa79818" + integrity sha512-h+/9t0ncd4jfZ8wsdAsoIxSa61qhBYlycXiHWqJaQBCXAhDCMbPRSMTGnZIkkmt1u4ag+UQmuqcILwqKzZ4N2A== + dependencies: + "@babel/compat-data" "^7.15.0" + "@babel/helper-validator-option" "^7.14.5" + browserslist "^4.16.6" + semver "^6.3.0" + "@babel/helper-create-class-features-plugin@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.12.1.tgz#3c45998f431edd4a9214c5f1d3ad1448a6137f6e" @@ -244,6 +289,18 @@ "@babel/helper-replace-supers" "^7.14.5" "@babel/helper-split-export-declaration" "^7.14.5" +"@babel/helper-create-class-features-plugin@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.15.0.tgz#c9a137a4d137b2d0e2c649acf536d7ba1a76c0f7" + integrity sha512-MdmDXgvTIi4heDVX/e9EFfeGpugqm9fobBVg/iioE8kueXrOHdRDe36FAY7SnE9xXLVeYCoJR/gdrBEIHRC83Q== + dependencies: + "@babel/helper-annotate-as-pure" "^7.14.5" + "@babel/helper-function-name" "^7.14.5" + "@babel/helper-member-expression-to-functions" "^7.15.0" + "@babel/helper-optimise-call-expression" "^7.14.5" + "@babel/helper-replace-supers" "^7.15.0" + "@babel/helper-split-export-declaration" "^7.14.5" + "@babel/helper-create-regexp-features-plugin@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.12.1.tgz#18b1302d4677f9dc4740fe8c9ed96680e29d37e8" @@ -375,6 +432,13 @@ dependencies: "@babel/types" "^7.14.5" +"@babel/helper-member-expression-to-functions@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.0.tgz#0ddaf5299c8179f27f37327936553e9bba60990b" + integrity sha512-Jq8H8U2kYiafuj2xMTPQwkTBnEEdGKpT35lJEQsRRjnG0LW3neucsaMWLgKcwu3OHKNeYugfw+Z20BXBSEs2Lg== + dependencies: + "@babel/types" "^7.15.0" + "@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.10.4", "@babel/helper-module-imports@^7.12.1", "@babel/helper-module-imports@^7.12.5": version "7.12.5" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.12.5.tgz#1bfc0229f794988f76ed0a4d4e90860850b54dfb" @@ -418,6 +482,20 @@ "@babel/traverse" "^7.14.5" "@babel/types" "^7.14.5" +"@babel/helper-module-transforms@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.15.0.tgz#679275581ea056373eddbe360e1419ef23783b08" + integrity sha512-RkGiW5Rer7fpXv9m1B3iHIFDZdItnO2/BLfWVW/9q7+KqQSDY5kUfQEbzdXM1MVhJGcugKV7kRrNVzNxmk7NBg== + dependencies: + "@babel/helper-module-imports" "^7.14.5" + "@babel/helper-replace-supers" "^7.15.0" + "@babel/helper-simple-access" "^7.14.8" + "@babel/helper-split-export-declaration" "^7.14.5" + "@babel/helper-validator-identifier" "^7.14.9" + "@babel/template" "^7.14.5" + "@babel/traverse" "^7.15.0" + "@babel/types" "^7.15.0" + "@babel/helper-optimise-call-expression@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.4.tgz#50dc96413d594f995a77905905b05893cd779673" @@ -492,6 +570,16 @@ "@babel/traverse" "^7.14.5" "@babel/types" "^7.14.5" +"@babel/helper-replace-supers@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.15.0.tgz#ace07708f5bf746bf2e6ba99572cce79b5d4e7f4" + integrity sha512-6O+eWrhx+HEra/uJnifCwhwMd6Bp5+ZfZeJwbqUTuqkhIT6YcRhiZCOOFChRypOIe0cV46kFrRBlm+t5vHCEaA== + dependencies: + "@babel/helper-member-expression-to-functions" "^7.15.0" + "@babel/helper-optimise-call-expression" "^7.14.5" + "@babel/traverse" "^7.15.0" + "@babel/types" "^7.15.0" + "@babel/helper-simple-access@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.12.1.tgz#32427e5aa61547d38eb1e6eaf5fd1426fdad9136" @@ -506,6 +594,13 @@ dependencies: "@babel/types" "^7.14.5" +"@babel/helper-simple-access@^7.14.8": + version "7.14.8" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.14.8.tgz#82e1fec0644a7e775c74d305f212c39f8fe73924" + integrity sha512-TrFN4RHh9gnWEU+s7JloIho2T76GPwRHhdzOWLqTrMnlas8T9O7ec+oEDNsRXndOmru9ymH9DFrEOxpzPoSbdg== + dependencies: + "@babel/types" "^7.14.8" + "@babel/helper-skip-transparent-expression-wrappers@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.12.1.tgz#462dc63a7e435ade8468385c63d2b84cce4b3cbf" @@ -604,6 +699,15 @@ "@babel/traverse" "^7.14.5" "@babel/types" "^7.14.5" +"@babel/helpers@^7.14.8": + version "7.15.3" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.15.3.tgz#c96838b752b95dcd525b4e741ed40bb1dc2a1357" + integrity sha512-HwJiz52XaS96lX+28Tnbu31VeFSQJGOeKHJeaEPQlTl7PnlhFElWPj8tUXtqFIzeN86XxXoBr+WFAyK2PPVz6g== + dependencies: + "@babel/template" "^7.14.5" + "@babel/traverse" "^7.15.0" + "@babel/types" "^7.15.0" + "@babel/highlight@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143" @@ -646,6 +750,11 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.6.tgz#d85cc68ca3cac84eae384c06f032921f5227f4b2" integrity sha512-oG0ej7efjEXxb4UgE+klVx+3j4MVo+A2vCzm7OUN4CLo6WhQ+vSOD2yJ8m7B+DghObxtLxt3EfgMWpq+AsWehQ== +"@babel/parser@^7.15.0": + version "7.15.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.15.3.tgz#3416d9bea748052cfcb63dbcc27368105b1ed862" + integrity sha512-O0L6v/HvqbdJawj0iBEfVQMc3/6WP+AeOsovsIgBFyJaG+W2w7eqvZB7puddATmWuARlm1SX7DwxJ/JJUnDpEA== + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.14.5.tgz#4b467302e1548ed3b1be43beae2cc9cf45e0bb7e" @@ -673,6 +782,15 @@ "@babel/helper-remap-async-to-generator" "^7.14.5" "@babel/plugin-syntax-async-generators" "^7.8.4" +"@babel/plugin-proposal-async-generator-functions@^7.14.9": + version "7.14.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.14.9.tgz#7028dc4fa21dc199bbacf98b39bab1267d0eaf9a" + integrity sha512-d1lnh+ZnKrFKwtTYdw320+sQWCTwgkB9fmUhNXRADA4akR6wLjaruSGnIEUjpt9HCOwTr4ynFTKu19b7rFRpmw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-remap-async-to-generator" "^7.14.5" + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-proposal-class-properties@7.12.1", "@babel/plugin-proposal-class-properties@^7.1.0", "@babel/plugin-proposal-class-properties@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.12.1.tgz#a082ff541f2a29a4821065b8add9346c0c16e5de" @@ -681,7 +799,7 @@ "@babel/helper-create-class-features-plugin" "^7.12.1" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-proposal-class-properties@^7.14.5": +"@babel/plugin-proposal-class-properties@7.14.5", "@babel/plugin-proposal-class-properties@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.14.5.tgz#40d1ee140c5b1e31a350f4f5eed945096559b42e" integrity sha512-q/PLpv5Ko4dVc1LYMpCY7RVAAO4uk55qPwrIuJ5QJ8c6cVuAmhu7I/49JOppXL6gXf7ZHzpRVEUZdYoPLM04Gg== @@ -714,15 +832,7 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-dynamic-import" "^7.8.3" -"@babel/plugin-proposal-export-namespace-from@7.12.1", "@babel/plugin-proposal-export-namespace-from@^7.12.1": - version "7.12.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.12.1.tgz#8b9b8f376b2d88f5dd774e4d24a5cc2e3679b6d4" - integrity sha512-6CThGf0irEkzujYS5LQcjBx8j/4aQGiVv7J9+2f7pGfxqyKh3WnmVJYW3hdrQjyksErMGBPQrCnHfOtna+WLbw== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-export-namespace-from" "^7.8.3" - -"@babel/plugin-proposal-export-namespace-from@^7.14.5": +"@babel/plugin-proposal-export-namespace-from@7.14.5", "@babel/plugin-proposal-export-namespace-from@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.14.5.tgz#dbad244310ce6ccd083072167d8cea83a52faf76" integrity sha512-g5POA32bXPMmSBu5Dx/iZGLGnKmKPc5AiY7qfZgurzrCYgIztDlHFbznSNCoQuv57YQLnQfaDi7dxCtLDIdXdA== @@ -730,6 +840,14 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" +"@babel/plugin-proposal-export-namespace-from@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.12.1.tgz#8b9b8f376b2d88f5dd774e4d24a5cc2e3679b6d4" + integrity sha512-6CThGf0irEkzujYS5LQcjBx8j/4aQGiVv7J9+2f7pGfxqyKh3WnmVJYW3hdrQjyksErMGBPQrCnHfOtna+WLbw== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-proposal-json-strings@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.12.1.tgz#d45423b517714eedd5621a9dfdc03fa9f4eb241c" @@ -778,7 +896,15 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" -"@babel/plugin-proposal-numeric-separator@7.12.7", "@babel/plugin-proposal-numeric-separator@^7.12.7": +"@babel/plugin-proposal-numeric-separator@7.14.5", "@babel/plugin-proposal-numeric-separator@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.14.5.tgz#83631bf33d9a51df184c2102a069ac0c58c05f18" + integrity sha512-yiclALKe0vyZRZE0pS6RXgjUOt87GWv6FYa5zqj15PvhOGFO69R5DusPlgK/1K5dVnCtegTiWu9UaBSrLLJJBg== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + +"@babel/plugin-proposal-numeric-separator@^7.12.7": version "7.12.7" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.12.7.tgz#8bf253de8139099fea193b297d23a9d406ef056b" integrity sha512-8c+uy0qmnRTeukiGsjLGy6uVs/TFjJchGXUeBqlG4VWYOdJWkhhVPdQ3uHwbmalfJwv2JsV0qffXP4asRfL2SQ== @@ -786,15 +912,18 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-proposal-numeric-separator@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.14.5.tgz#83631bf33d9a51df184c2102a069ac0c58c05f18" - integrity sha512-yiclALKe0vyZRZE0pS6RXgjUOt87GWv6FYa5zqj15PvhOGFO69R5DusPlgK/1K5dVnCtegTiWu9UaBSrLLJJBg== +"@babel/plugin-proposal-object-rest-spread@7.14.7", "@babel/plugin-proposal-object-rest-spread@^7.14.7": + version "7.14.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.14.7.tgz#5920a2b3df7f7901df0205974c0641b13fd9d363" + integrity sha512-082hsZz+sVabfmDWo1Oct1u1AgbKbUAyVgmX4otIc7bdsRgHBXwTwb3DpDmD4Eyyx6DNiuz5UAATT655k+kL5g== dependencies: + "@babel/compat-data" "^7.14.7" + "@babel/helper-compilation-targets" "^7.14.5" "@babel/helper-plugin-utils" "^7.14.5" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.14.5" -"@babel/plugin-proposal-object-rest-spread@7.12.1", "@babel/plugin-proposal-object-rest-spread@^7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.12.1", "@babel/plugin-proposal-object-rest-spread@^7.3.2": +"@babel/plugin-proposal-object-rest-spread@^7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.12.1", "@babel/plugin-proposal-object-rest-spread@^7.3.2": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.12.1.tgz#def9bd03cea0f9b72283dac0ec22d289c7691069" integrity sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA== @@ -943,6 +1072,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" +"@babel/plugin-syntax-flow@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.14.5.tgz#2ff654999497d7d7d142493260005263731da180" + integrity sha512-9WK5ZwKCdWHxVuU13XNT6X73FGmutAXeor5lGFq6qhOFtMFUF4jkbijuyUdZZlpYq6E2hZeZf/u3959X9wsv0Q== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/plugin-syntax-import-meta@^7.10.4", "@babel/plugin-syntax-import-meta@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" @@ -956,13 +1092,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-jsx@7.12.1", "@babel/plugin-syntax-jsx@^7.12.1", "@babel/plugin-syntax-jsx@^7.2.0": - version "7.12.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.1.tgz#9d9d357cc818aa7ae7935917c1257f67677a0926" - integrity sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-jsx@7.14.5", "@babel/plugin-syntax-jsx@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.14.5.tgz#000e2e25d8673cce49300517a3eda44c263e4201" @@ -970,6 +1099,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" +"@babel/plugin-syntax-jsx@^7.12.1", "@babel/plugin-syntax-jsx@^7.2.0": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.1.tgz#9d9d357cc818aa7ae7935917c1257f67677a0926" + integrity sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-logical-assignment-operators@^7.10.4", "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" @@ -1043,6 +1179,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" +"@babel/plugin-syntax-typescript@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.14.5.tgz#b82c6ce471b165b5ce420cf92914d6fb46225716" + integrity sha512-u6OXzDaIXjEstBRRoBCQ/uKQKlbuaeE5in0RvWdA4pN6AhqxTIwUsnHPU1CFZA/amYObMsuWhYfRl3Ch90HD0Q== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/plugin-syntax-typescript@^7.7.2": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.12.13.tgz#9dff111ca64154cef0f4dc52cf843d9f12ce4474" @@ -1137,6 +1280,19 @@ "@babel/helper-split-export-declaration" "^7.14.5" globals "^11.1.0" +"@babel/plugin-transform-classes@^7.14.9": + version "7.14.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.14.9.tgz#2a391ffb1e5292710b00f2e2c210e1435e7d449f" + integrity sha512-NfZpTcxU3foGWbl4wxmZ35mTsYJy8oQocbeIMoDAGGFarAmSQlL+LWMkDx/tj6pNotpbX3rltIA4dprgAPOq5A== + dependencies: + "@babel/helper-annotate-as-pure" "^7.14.5" + "@babel/helper-function-name" "^7.14.5" + "@babel/helper-optimise-call-expression" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-replace-supers" "^7.14.5" + "@babel/helper-split-export-declaration" "^7.14.5" + globals "^11.1.0" + "@babel/plugin-transform-computed-properties@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.12.1.tgz#d68cf6c9b7f838a8a4144badbe97541ea0904852" @@ -1165,6 +1321,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" +"@babel/plugin-transform-destructuring@^7.14.7": + version "7.14.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.14.7.tgz#0ad58ed37e23e22084d109f185260835e5557576" + integrity sha512-0mDE99nK+kVh3xlc5vKwB6wnP9ecuSj+zQCa/n0voENtP/zymdT4HH6QEb65wjjcbqr1Jb/7z9Qp7TF5FtwYGw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/plugin-transform-dotall-regex@^7.12.1", "@babel/plugin-transform-dotall-regex@^7.4.4": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.12.1.tgz#a1d16c14862817b6409c0a678d6f9373ca9cd975" @@ -1219,6 +1382,14 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-flow" "^7.12.1" +"@babel/plugin-transform-flow-strip-types@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.14.5.tgz#0dc9c1d11dcdc873417903d6df4bed019ef0f85e" + integrity sha512-KhcolBKfXbvjwI3TV7r7TkYm8oNXHNBqGOy6JDVwtecFaRoKYsUUqJdS10q0YDKW1c6aZQgO+Ys3LfGkox8pXA== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/plugin-syntax-flow" "^7.14.5" + "@babel/plugin-transform-for-of@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.12.1.tgz#07640f28867ed16f9511c99c888291f560921cfa" @@ -1295,7 +1466,17 @@ "@babel/helper-plugin-utils" "^7.14.5" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@7.12.1", "@babel/plugin-transform-modules-commonjs@^7.12.1": +"@babel/plugin-transform-modules-commonjs@7.15.0", "@babel/plugin-transform-modules-commonjs@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.15.0.tgz#3305896e5835f953b5cdb363acd9e8c2219a5281" + integrity sha512-3H/R9s8cXcOGE8kgMlmjYYC9nqr5ELiPkJn4q0mypBrjhYQoc+5/Maq69vV4xRPWnkzZuwJPf5rArxpB/35Cig== + dependencies: + "@babel/helper-module-transforms" "^7.15.0" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-simple-access" "^7.14.8" + babel-plugin-dynamic-import-node "^2.3.3" + +"@babel/plugin-transform-modules-commonjs@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.12.1.tgz#fa403124542636c786cf9b460a0ffbb48a86e648" integrity sha512-dY789wq6l0uLY8py9c1B48V8mVL5gZh/+PQ5ZPrylPYsnAvnEMjqsUXkuoDVPeVK+0VyGar+D08107LzDQ6pag== @@ -1367,6 +1548,13 @@ dependencies: "@babel/helper-create-regexp-features-plugin" "^7.14.5" +"@babel/plugin-transform-named-capturing-groups-regex@^7.14.9": + version "7.14.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.14.9.tgz#c68f5c5d12d2ebaba3762e57c2c4f6347a46e7b2" + integrity sha512-l666wCVYO75mlAtGFfyFwnWmIXQm3kSH0C3IRnJqWcZbWkoihyAdDhFm2ZWaxWTqvBvhVFfJjMRQ0ez4oN1yYA== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.14.5" + "@babel/plugin-transform-new-target@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.12.1.tgz#80073f02ee1bb2d365c3416490e085c95759dec0" @@ -1526,14 +1714,17 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-runtime@7.12.10": - version "7.12.10" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.12.10.tgz#af0fded4e846c4b37078e8e5d06deac6cd848562" - integrity sha512-xOrUfzPxw7+WDm9igMgQCbO3cJKymX7dFdsgRr1eu9n3KjjyU4pptIXbXPseQDquw+W+RuJEJMHKHNsPNNm3CA== +"@babel/plugin-transform-runtime@7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.15.0.tgz#d3aa650d11678ca76ce294071fda53d7804183b3" + integrity sha512-sfHYkLGjhzWTq6xsuQ01oEsUYjkHRux9fW1iUA68dC7Qd8BS1Unq4aZ8itmQp95zUzIcyR2EbNMTzAicFj+guw== dependencies: - "@babel/helper-module-imports" "^7.12.5" - "@babel/helper-plugin-utils" "^7.10.4" - semver "^5.5.1" + "@babel/helper-module-imports" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" + babel-plugin-polyfill-corejs2 "^0.2.2" + babel-plugin-polyfill-corejs3 "^0.2.2" + babel-plugin-polyfill-regenerator "^0.2.2" + semver "^6.3.0" "@babel/plugin-transform-shorthand-properties@^7.12.1": version "7.12.1" @@ -1557,7 +1748,7 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/helper-skip-transparent-expression-wrappers" "^7.12.1" -"@babel/plugin-transform-spread@^7.14.5": +"@babel/plugin-transform-spread@^7.14.5", "@babel/plugin-transform-spread@^7.14.6": version "7.14.6" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.14.6.tgz#6bd40e57fe7de94aa904851963b5616652f73144" integrity sha512-Zr0x0YroFJku7n7+/HH3A2eIrGMjbmAIbJSVv0IZ+t3U2WUQUA64S/oeied2e+MaGSjmt4alzBCsK9E8gh+fag== @@ -1616,6 +1807,15 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-typescript" "^7.12.1" +"@babel/plugin-transform-typescript@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.15.0.tgz#553f230b9d5385018716586fc48db10dd228eb7e" + integrity sha512-WIIEazmngMEEHDaPTx0IZY48SaAmjVWe3TRSX7cmJXn0bEv9midFzAjxiruOWYIVf5iQ10vFx7ASDpgEO08L5w== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.15.0" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/plugin-syntax-typescript" "^7.14.5" + "@babel/plugin-transform-unicode-escapes@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.12.1.tgz#5232b9f81ccb07070b7c3c36c67a1b78f1845709" @@ -1646,7 +1846,86 @@ "@babel/helper-create-regexp-features-plugin" "^7.14.5" "@babel/helper-plugin-utils" "^7.14.5" -"@babel/preset-env@7.12.11", "@babel/preset-env@^7.1.6", "@babel/preset-env@^7.12.11": +"@babel/preset-env@7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.15.0.tgz#e2165bf16594c9c05e52517a194bf6187d6fe464" + integrity sha512-FhEpCNFCcWW3iZLg0L2NPE9UerdtsCR6ZcsGHUX6Om6kbCQeL5QZDqFDmeNHC6/fy6UH3jEge7K4qG5uC9In0Q== + dependencies: + "@babel/compat-data" "^7.15.0" + "@babel/helper-compilation-targets" "^7.15.0" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-validator-option" "^7.14.5" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.14.5" + "@babel/plugin-proposal-async-generator-functions" "^7.14.9" + "@babel/plugin-proposal-class-properties" "^7.14.5" + "@babel/plugin-proposal-class-static-block" "^7.14.5" + "@babel/plugin-proposal-dynamic-import" "^7.14.5" + "@babel/plugin-proposal-export-namespace-from" "^7.14.5" + "@babel/plugin-proposal-json-strings" "^7.14.5" + "@babel/plugin-proposal-logical-assignment-operators" "^7.14.5" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.14.5" + "@babel/plugin-proposal-numeric-separator" "^7.14.5" + "@babel/plugin-proposal-object-rest-spread" "^7.14.7" + "@babel/plugin-proposal-optional-catch-binding" "^7.14.5" + "@babel/plugin-proposal-optional-chaining" "^7.14.5" + "@babel/plugin-proposal-private-methods" "^7.14.5" + "@babel/plugin-proposal-private-property-in-object" "^7.14.5" + "@babel/plugin-proposal-unicode-property-regex" "^7.14.5" + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" + "@babel/plugin-transform-arrow-functions" "^7.14.5" + "@babel/plugin-transform-async-to-generator" "^7.14.5" + "@babel/plugin-transform-block-scoped-functions" "^7.14.5" + "@babel/plugin-transform-block-scoping" "^7.14.5" + "@babel/plugin-transform-classes" "^7.14.9" + "@babel/plugin-transform-computed-properties" "^7.14.5" + "@babel/plugin-transform-destructuring" "^7.14.7" + "@babel/plugin-transform-dotall-regex" "^7.14.5" + "@babel/plugin-transform-duplicate-keys" "^7.14.5" + "@babel/plugin-transform-exponentiation-operator" "^7.14.5" + "@babel/plugin-transform-for-of" "^7.14.5" + "@babel/plugin-transform-function-name" "^7.14.5" + "@babel/plugin-transform-literals" "^7.14.5" + "@babel/plugin-transform-member-expression-literals" "^7.14.5" + "@babel/plugin-transform-modules-amd" "^7.14.5" + "@babel/plugin-transform-modules-commonjs" "^7.15.0" + "@babel/plugin-transform-modules-systemjs" "^7.14.5" + "@babel/plugin-transform-modules-umd" "^7.14.5" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.14.9" + "@babel/plugin-transform-new-target" "^7.14.5" + "@babel/plugin-transform-object-super" "^7.14.5" + "@babel/plugin-transform-parameters" "^7.14.5" + "@babel/plugin-transform-property-literals" "^7.14.5" + "@babel/plugin-transform-regenerator" "^7.14.5" + "@babel/plugin-transform-reserved-words" "^7.14.5" + "@babel/plugin-transform-shorthand-properties" "^7.14.5" + "@babel/plugin-transform-spread" "^7.14.6" + "@babel/plugin-transform-sticky-regex" "^7.14.5" + "@babel/plugin-transform-template-literals" "^7.14.5" + "@babel/plugin-transform-typeof-symbol" "^7.14.5" + "@babel/plugin-transform-unicode-escapes" "^7.14.5" + "@babel/plugin-transform-unicode-regex" "^7.14.5" + "@babel/preset-modules" "^0.1.4" + "@babel/types" "^7.15.0" + babel-plugin-polyfill-corejs2 "^0.2.2" + babel-plugin-polyfill-corejs3 "^0.2.2" + babel-plugin-polyfill-regenerator "^0.2.2" + core-js-compat "^3.16.0" + semver "^6.3.0" + +"@babel/preset-env@^7.1.6", "@babel/preset-env@^7.12.11": version "7.12.11" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.12.11.tgz#55d5f7981487365c93dbbc84507b1c7215e857f9" integrity sha512-j8Tb+KKIXKYlDBQyIOy4BLxzv1NUOwlHfZ74rvW+Z0Gp4/cI2IMDPBWAgWceGcE7aep9oL/0K9mlzlMGxA8yNw== @@ -1797,7 +2076,16 @@ core-js-compat "^3.14.0" semver "^6.3.0" -"@babel/preset-flow@7.12.1", "@babel/preset-flow@^7.0.0", "@babel/preset-flow@^7.12.1": +"@babel/preset-flow@7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.14.5.tgz#a1810b0780c8b48ab0bece8e7ab8d0d37712751c" + integrity sha512-pP5QEb4qRUSVGzzKx9xqRuHUrM/jEzMqdrZpdMA+oUCRgd5zM1qGr5y5+ZgAL/1tVv1H0dyk5t4SKJntqyiVtg== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-validator-option" "^7.14.5" + "@babel/plugin-transform-flow-strip-types" "^7.14.5" + +"@babel/preset-flow@^7.0.0", "@babel/preset-flow@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.12.1.tgz#1a81d376c5a9549e75352a3888f8c273455ae940" integrity sha512-UAoyMdioAhM6H99qPoKvpHMzxmNVXno8GYU/7vZmGaHk6/KqfDYL1W0NxszVbJ2EP271b7e6Ox+Vk2A9QsB3Sw== @@ -1826,7 +2114,19 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/preset-react@7.12.10", "@babel/preset-react@^7.12.10": +"@babel/preset-react@7.14.5", "@babel/preset-react@^7.12.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.14.5.tgz#0fbb769513f899c2c56f3a882fa79673c2d4ab3c" + integrity sha512-XFxBkjyObLvBaAvkx1Ie95Iaq4S/GUEIrejyrntQ/VCMKUYvKLoyKxOBzJ2kjA3b6rC9/KL6KXfDC2GqvLiNqQ== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-validator-option" "^7.14.5" + "@babel/plugin-transform-react-display-name" "^7.14.5" + "@babel/plugin-transform-react-jsx" "^7.14.5" + "@babel/plugin-transform-react-jsx-development" "^7.14.5" + "@babel/plugin-transform-react-pure-annotations" "^7.14.5" + +"@babel/preset-react@^7.12.10": version "7.12.10" resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.12.10.tgz#4fed65f296cbb0f5fb09de6be8cddc85cc909be9" integrity sha512-vtQNjaHRl4DUpp+t+g4wvTHsLQuye+n0H/wsXIZRn69oz/fvNC7gQ4IK73zGJBaxvHoxElDvnYCthMcT7uzFoQ== @@ -1837,19 +2137,16 @@ "@babel/plugin-transform-react-jsx-development" "^7.12.7" "@babel/plugin-transform-react-pure-annotations" "^7.12.1" -"@babel/preset-react@^7.12.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.14.5.tgz#0fbb769513f899c2c56f3a882fa79673c2d4ab3c" - integrity sha512-XFxBkjyObLvBaAvkx1Ie95Iaq4S/GUEIrejyrntQ/VCMKUYvKLoyKxOBzJ2kjA3b6rC9/KL6KXfDC2GqvLiNqQ== +"@babel/preset-typescript@7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.15.0.tgz#e8fca638a1a0f64f14e1119f7fe4500277840945" + integrity sha512-lt0Y/8V3y06Wq/8H/u0WakrqciZ7Fz7mwPDHWUJAXlABL5hiUG42BNlRXiELNjeWjO5rWmnNKlx+yzJvxezHow== dependencies: "@babel/helper-plugin-utils" "^7.14.5" "@babel/helper-validator-option" "^7.14.5" - "@babel/plugin-transform-react-display-name" "^7.14.5" - "@babel/plugin-transform-react-jsx" "^7.14.5" - "@babel/plugin-transform-react-jsx-development" "^7.14.5" - "@babel/plugin-transform-react-pure-annotations" "^7.14.5" + "@babel/plugin-transform-typescript" "^7.15.0" -"@babel/preset-typescript@7.12.7", "@babel/preset-typescript@^7.0.0", "@babel/preset-typescript@^7.1.0": +"@babel/preset-typescript@^7.0.0", "@babel/preset-typescript@^7.1.0": version "7.12.7" resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.12.7.tgz#fc7df8199d6aae747896f1e6c61fc872056632a3" integrity sha512-nOoIqIqBmHBSEgBXWR4Dv/XBehtIFcw9PqZw6rFYuKrzsZmOQm3PR5siLBnKZFEsDb03IegG8nSjU/iXXXYRmw== @@ -1877,10 +2174,10 @@ core-js-pure "^3.0.0" regenerator-runtime "^0.13.4" -"@babel/runtime@7.12.5", "@babel/runtime@^7.12.5", "@babel/runtime@^7.8.4": - version "7.12.5" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.12.5.tgz#410e7e487441e1b360c29be715d870d9b985882e" - integrity sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg== +"@babel/runtime@7.15.3": + version "7.15.3" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.15.3.tgz#2e1c2880ca118e5b2f9988322bd8a7656a32502b" + integrity sha512-OvwMLqNXkCXSz1kSm58sEsNuhqOx/fKpnUnKnFB5v8uDda5bLNEHNgKPvhDN6IU0LDcnHQ90LlJ0Q6jnyBSIBA== dependencies: regenerator-runtime "^0.13.4" @@ -1898,6 +2195,13 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.12.5", "@babel/runtime@^7.8.4": + version "7.12.5" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.12.5.tgz#410e7e487441e1b360c29be715d870d9b985882e" + integrity sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg== + dependencies: + regenerator-runtime "^0.13.4" + "@babel/template@^7.10.4", "@babel/template@^7.12.7", "@babel/template@^7.3.3": version "7.12.7" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.12.7.tgz#c817233696018e39fbb6c491d2fb684e05ed43bc" @@ -1925,6 +2229,21 @@ "@babel/parser" "^7.14.5" "@babel/types" "^7.14.5" +"@babel/traverse@7.15.0", "@babel/traverse@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.15.0.tgz#4cca838fd1b2a03283c1f38e141f639d60b3fc98" + integrity sha512-392d8BN0C9eVxVWd8H6x9WfipgVH5IaIoLp23334Sc1vbKKWINnvwRpb4us0xtPaCumlwbTtIYNA0Dv/32sVFw== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/generator" "^7.15.0" + "@babel/helper-function-name" "^7.14.5" + "@babel/helper-hoist-variables" "^7.14.5" + "@babel/helper-split-export-declaration" "^7.14.5" + "@babel/parser" "^7.15.0" + "@babel/types" "^7.15.0" + debug "^4.1.0" + globals "^11.1.0" + "@babel/traverse@^7.1.0", "@babel/traverse@^7.10.4", "@babel/traverse@^7.12.1", "@babel/traverse@^7.12.10", "@babel/traverse@^7.12.5", "@babel/traverse@^7.4.5": version "7.12.12" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.12.tgz#d0cd87892704edd8da002d674bc811ce64743376" @@ -1970,7 +2289,15 @@ globals "^11.1.0" lodash "^4.17.19" -"@babel/types@7.12.12", "@babel/types@^7.0.0", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.12.1", "@babel/types@^7.12.10", "@babel/types@^7.12.11", "@babel/types@^7.12.12", "@babel/types@^7.12.5", "@babel/types@^7.12.7", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": +"@babel/types@7.15.0", "@babel/types@^7.14.8", "@babel/types@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.15.0.tgz#61af11f2286c4e9c69ca8deb5f4375a73c72dcbd" + integrity sha512-OBvfqnllOIdX4ojTHpwZbpvz4j3EWyjkZEdmjH0/cgsd6QOdSgU8rLSk6ard/pcW7rlmjdVSX/AWOaORR1uNOQ== + dependencies: + "@babel/helper-validator-identifier" "^7.14.9" + to-fast-properties "^2.0.0" + +"@babel/types@^7.0.0", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.12.1", "@babel/types@^7.12.10", "@babel/types@^7.12.11", "@babel/types@^7.12.12", "@babel/types@^7.12.5", "@babel/types@^7.12.7", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": version "7.12.12" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.12.tgz#4608a6ec313abbd87afa55004d373ad04a96c299" integrity sha512-lnIX7piTxOH22xE7fDXDbSHg9MM1/6ORnafpJmov5rs0kX5g4BZxeXNJLXsMRiO0U5Rb8/FvMS6xlTnTHvxonQ== @@ -1979,14 +2306,6 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" -"@babel/types@7.15.0": - version "7.15.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.15.0.tgz#61af11f2286c4e9c69ca8deb5f4375a73c72dcbd" - integrity sha512-OBvfqnllOIdX4ojTHpwZbpvz4j3EWyjkZEdmjH0/cgsd6QOdSgU8rLSk6ard/pcW7rlmjdVSX/AWOaORR1uNOQ== - dependencies: - "@babel/helper-validator-identifier" "^7.14.9" - to-fast-properties "^2.0.0" - "@babel/types@^7.12.13", "@babel/types@^7.13.0": version "7.13.0" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.13.0.tgz#74424d2816f0171b4100f0ab34e9a374efdf7f80" @@ -4304,6 +4623,11 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.6.tgz#f4c7ec43e81b319a9815115031709f26987891f0" integrity sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw== +"@types/json-schema@^7.0.7": + version "7.0.9" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d" + integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ== + "@types/json5@^0.0.29": version "0.0.29" resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" @@ -4595,21 +4919,32 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@4.22.0": - version "4.22.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.0.tgz#3d5f29bb59e61a9dba1513d491b059e536e16dbc" - integrity sha512-U8SP9VOs275iDXaL08Ln1Fa/wLXfj5aTr/1c0t0j6CdbOnxh+TruXu1p4I0NAvdPBQgoPjHsgKn28mOi0FzfoA== +"@typescript-eslint/eslint-plugin@4.29.1": + version "4.29.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.29.1.tgz#808d206e2278e809292b5de752a91105da85860b" + integrity sha512-AHqIU+SqZZgBEiWOrtN94ldR3ZUABV5dUG94j8Nms9rQnHFc8fvDOue/58K4CFz6r8OtDDc35Pw9NQPWo0Ayrw== dependencies: - "@typescript-eslint/experimental-utils" "4.22.0" - "@typescript-eslint/scope-manager" "4.22.0" - debug "^4.1.1" + "@typescript-eslint/experimental-utils" "4.29.1" + "@typescript-eslint/scope-manager" "4.29.1" + debug "^4.3.1" functional-red-black-tree "^1.0.1" - lodash "^4.17.15" - regexpp "^3.0.0" - semver "^7.3.2" - tsutils "^3.17.1" + regexpp "^3.1.0" + semver "^7.3.5" + tsutils "^3.21.0" + +"@typescript-eslint/experimental-utils@4.29.1": + version "4.29.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.29.1.tgz#0af2b17b0296b60c6b207f11062119fa9c5a8994" + integrity sha512-kl6QG6qpzZthfd2bzPNSJB2YcZpNOrP6r9jueXupcZHnL74WiuSjaft7WSu17J9+ae9zTlk0KJMXPUj0daBxMw== + dependencies: + "@types/json-schema" "^7.0.7" + "@typescript-eslint/scope-manager" "4.29.1" + "@typescript-eslint/types" "4.29.1" + "@typescript-eslint/typescript-estree" "4.29.1" + eslint-scope "^5.1.1" + eslint-utils "^3.0.0" -"@typescript-eslint/experimental-utils@4.22.0", "@typescript-eslint/experimental-utils@^4.0.1": +"@typescript-eslint/experimental-utils@^4.0.1": version "4.22.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.22.0.tgz#68765167cca531178e7b650a53456e6e0bef3b1f" integrity sha512-xJXHHl6TuAxB5AWiVrGhvbGL8/hbiCQ8FiWwObO3r0fnvBdrbWEDy1hlvGQOAWc6qsCWuWMKdVWlLAEMpxnddg== @@ -4621,7 +4956,17 @@ eslint-scope "^5.0.0" eslint-utils "^2.0.0" -"@typescript-eslint/parser@4.22.0", "@typescript-eslint/parser@^4.20.0": +"@typescript-eslint/parser@4.29.1": + version "4.29.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.29.1.tgz#17dfbb45c9032ffa0fe15881d20fbc2a4bdeb02d" + integrity sha512-3fL5iN20hzX3Q4OkG7QEPFjZV2qsVGiDhEwwh+EkmE/w7oteiOvUNzmpu5eSwGJX/anCryONltJ3WDmAzAoCMg== + dependencies: + "@typescript-eslint/scope-manager" "4.29.1" + "@typescript-eslint/types" "4.29.1" + "@typescript-eslint/typescript-estree" "4.29.1" + debug "^4.3.1" + +"@typescript-eslint/parser@^4.20.0": version "4.22.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.22.0.tgz#e1637327fcf796c641fe55f73530e90b16ac8fe8" integrity sha512-z/bGdBJJZJN76nvAY9DkJANYgK3nlRstRRi74WHm3jjgf2I8AglrSY+6l7ogxOmn55YJ6oKZCLLy+6PW70z15Q== @@ -4639,11 +4984,24 @@ "@typescript-eslint/types" "4.22.0" "@typescript-eslint/visitor-keys" "4.22.0" +"@typescript-eslint/scope-manager@4.29.1": + version "4.29.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.29.1.tgz#f25da25bc6512812efa2ce5ebd36619d68e61358" + integrity sha512-Hzv/uZOa9zrD/W5mftZa54Jd5Fed3tL6b4HeaOpwVSabJK8CJ+2MkDasnX/XK4rqP5ZTWngK1ZDeCi6EnxPQ7A== + dependencies: + "@typescript-eslint/types" "4.29.1" + "@typescript-eslint/visitor-keys" "4.29.1" + "@typescript-eslint/types@4.22.0": version "4.22.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.22.0.tgz#0ca6fde5b68daf6dba133f30959cc0688c8dd0b6" integrity sha512-sW/BiXmmyMqDPO2kpOhSy2Py5w6KvRRsKZnV0c4+0nr4GIcedJwXAq+RHNK4lLVEZAJYFltnnk1tJSlbeS9lYA== +"@typescript-eslint/types@4.29.1": + version "4.29.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.29.1.tgz#94cce6cf7cc83451df03339cda99d326be2feaf5" + integrity sha512-Jj2yu78IRfw4nlaLtKjVaGaxh/6FhofmQ/j8v3NXmAiKafbIqtAPnKYrf0sbGjKdj0hS316J8WhnGnErbJ4RCA== + "@typescript-eslint/typescript-estree@4.22.0": version "4.22.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.22.0.tgz#b5d95d6d366ff3b72f5168c75775a3e46250d05c" @@ -4657,6 +5015,19 @@ semver "^7.3.2" tsutils "^3.17.1" +"@typescript-eslint/typescript-estree@4.29.1": + version "4.29.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.29.1.tgz#7b32a25ff8e51f2671ccc6b26cdbee3b1e6c5e7f" + integrity sha512-lIkkrR9E4lwZkzPiRDNq0xdC3f2iVCUjw/7WPJ4S2Sl6C3nRWkeE1YXCQ0+KsiaQRbpY16jNaokdWnm9aUIsfw== + dependencies: + "@typescript-eslint/types" "4.29.1" + "@typescript-eslint/visitor-keys" "4.29.1" + debug "^4.3.1" + globby "^11.0.3" + is-glob "^4.0.1" + semver "^7.3.5" + tsutils "^3.21.0" + "@typescript-eslint/visitor-keys@4.22.0": version "4.22.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.22.0.tgz#169dae26d3c122935da7528c839f42a8a42f6e47" @@ -4665,6 +5036,14 @@ "@typescript-eslint/types" "4.22.0" eslint-visitor-keys "^2.0.0" +"@typescript-eslint/visitor-keys@4.29.1": + version "4.29.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.29.1.tgz#0615be8b55721f5e854f3ee99f1a714f2d093e5d" + integrity sha512-zLqtjMoXvgdZY/PG6gqA73V8BjqPs4af1v2kiiETBObp+uC6gRYnJLmJHxC0QyUrrHDLJPIWNYxoBV3wbcRlag== + dependencies: + "@typescript-eslint/types" "4.29.1" + eslint-visitor-keys "^2.0.0" + "@vercel/fetch-cached-dns@^2.0.2": version "2.0.2" resolved "https://registry.yarnpkg.com/@vercel/fetch-cached-dns/-/fetch-cached-dns-2.0.2.tgz#975c395cf53f188fa618fad57f27af6b5ffc5bab" @@ -6098,7 +6477,7 @@ browserify-zlib@0.2.0, browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@4.16.6, browserslist@^4.0.0, browserslist@^4.14.5, browserslist@^4.14.7, browserslist@^4.15.0, browserslist@^4.16.6, browserslist@^4.3.6, browserslist@^4.6.4, browserslist@^4.8.3: +browserslist@4.16.6, browserslist@^4.0.0, browserslist@^4.14.5, browserslist@^4.14.7, browserslist@^4.15.0, browserslist@^4.16.6, browserslist@^4.16.7, browserslist@^4.3.6, browserslist@^4.6.4, browserslist@^4.8.3: version "4.16.6" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.6.tgz#d7901277a5a88e554ed305b183ec9b0c08f66fa2" integrity sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ== @@ -7238,6 +7617,14 @@ core-js-compat@^3.14.0: browserslist "^4.16.6" semver "7.0.0" +core-js-compat@^3.16.0: + version "3.16.1" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.16.1.tgz#c44b7caa2dcb94b673a98f27eee1c8312f55bc2d" + integrity sha512-NHXQXvRbd4nxp9TEmooTJLUf94ySUG6+DSsscBpTftN1lQLQ4LjnWvc7AoIo4UjDsFF3hB8Uh5LLCRRdaiT5MQ== + dependencies: + browserslist "^4.16.7" + semver "7.0.0" + core-js-compat@^3.8.0: version "3.8.1" resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.8.1.tgz#8d1ddd341d660ba6194cbe0ce60f4c794c87a36e" @@ -8699,6 +9086,13 @@ eslint-utils@^2.1.0: dependencies: eslint-visitor-keys "^1.1.0" +eslint-utils@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672" + integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== + dependencies: + eslint-visitor-keys "^2.0.0" + eslint-visitor-keys@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2" @@ -9978,6 +10372,18 @@ globby@^11.0.2: merge2 "^1.3.0" slash "^3.0.0" +globby@^11.0.3: + version "11.0.4" + resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.4.tgz#2cbaff77c2f2a62e71e9b2813a67b97a3a3001a5" + integrity sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.1.1" + ignore "^5.1.4" + merge2 "^1.3.0" + slash "^3.0.0" + globby@^9.2.0: version "9.2.0" resolved "https://registry.yarnpkg.com/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d" @@ -15804,9 +16210,10 @@ preserve@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" -prettier@2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4" +prettier@2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d" + integrity sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ== pretty-bytes@5.3.0: version "5.3.0" @@ -16570,10 +16977,6 @@ regexp.prototype.flags@^1.3.1: call-bind "^1.0.2" define-properties "^1.1.3" -regexpp@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.0.0.tgz#dd63982ee3300e67b41c1956f850aa680d9d330e" - regexpp@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" @@ -17363,7 +17766,7 @@ semver-diff@^3.1.1: dependencies: semver "^6.3.0" -"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.1: +"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" @@ -17391,7 +17794,7 @@ semver@^7.0.0, semver@^7.1.1, semver@^7.1.3, semver@^7.3.2, semver@^7.3.4: dependencies: lru-cache "^6.0.0" -semver@^7.2.1: +semver@^7.2.1, semver@^7.3.5: version "7.3.5" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== @@ -18932,6 +19335,13 @@ tsutils@^3.17.1: dependencies: tslib "^1.8.1" +tsutils@^3.21.0: + version "3.21.0" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" + integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== + dependencies: + tslib "^1.8.1" + tty-browserify@0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"